Skip to content

Commit

Permalink
Moved signing to parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvard committed Oct 22, 2018
1 parent 5e053bd commit 756d2e8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
35 changes: 0 additions & 35 deletions bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,4 @@
<relativePath>../releng/net.sourceforge.plantuml.parent</relativePath>
</parent>

<profiles>
<profile>
<id>sign</id>
<activation>
<property>
<name>jarsigner.alias</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.4</version>
<configuration>
<storetype>pkcs12</storetype>
<tsa>http://timestamp.digicert.com</tsa>
<keypass>${jarsigner.keypass}</keypass>
<storepass>${jarsigner.keypass}</storepass>
</configuration>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<!-- See http://maven.apache.org/plugins/maven-jarsigner-plugin/sign-mojo.html -->
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
1 change: 1 addition & 0 deletions features/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
<version>1.1.21</version>
<relativePath>../releng/net.sourceforge.plantuml.parent</relativePath>
</parent>

</project>
34 changes: 34 additions & 0 deletions releng/net.sourceforge.plantuml.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,40 @@
</repository> -->
</repositories>

<profiles>
<profile>
<id>sign</id>
<activation>
<property>
<name>jarsigner.alias</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.4</version>
<configuration>
<storetype>pkcs12</storetype>
<tsa>http://timestamp.digicert.com</tsa>
<keypass>${jarsigner.keypass}</keypass>
<storepass>${jarsigner.keypass}</storepass>
</configuration>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<!-- See http://maven.apache.org/plugins/maven-jarsigner-plugin/sign-mojo.html -->
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<pluginManagement>
Expand Down

0 comments on commit 756d2e8

Please # to comment.