Skip to content

Commit

Permalink
added property "performRelease" which will trigger signing of artifacts
Browse files Browse the repository at this point in the history
removed showcase-artifacts from parent build
  • Loading branch information
thombergs committed Dec 13, 2015
1 parent 2306b36 commit 379e0a9
Show file tree
Hide file tree
Showing 6 changed files with 151 additions and 26 deletions.
23 changes: 23 additions & 0 deletions jsf/wicked-charts-jsf21/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,29 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down
62 changes: 36 additions & 26 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,36 +47,10 @@
<module>wicket/wicked-charts-wicket6</module>
<module>wicket/wicked-charts-wicket7</module>
<module>jsf/wicked-charts-jsf21</module>
<module>showcase</module>
</modules>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-showcase-options</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-showcase-wicket14</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-showcase-wicket15</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-showcase-wicket6</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-showcase-jsf21</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.wicked-charts</groupId>
<artifactId>wicked-charts-wicket15</artifactId>
Expand Down Expand Up @@ -187,4 +161,40 @@
</pluginManagement>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<distributionManagement>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>

</project>
23 changes: 23 additions & 0 deletions wicket/wicked-charts-wicket14/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
23 changes: 23 additions & 0 deletions wicket/wicked-charts-wicket15/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
23 changes: 23 additions & 0 deletions wicket/wicked-charts-wicket6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
23 changes: 23 additions & 0 deletions wicket/wicked-charts-wicket7/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 379e0a9

Please sign in to comment.