Skip to content

Commit

Permalink
Don't try to sign artifacts during Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
crew102 committed May 5, 2021
1 parent 9feb54c commit d2c4157
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ clean:
rm -rf target

deploy:
mvn clean deploy
mvn clean deploy -P deploy-env

39 changes: 24 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand All @@ -154,4 +139,28 @@
<url>http://github.com/crew102/rapidrake-java/tree/master</url>
</scm>

<profiles>
<profile>
<id>deploy-env</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit d2c4157

Please sign in to comment.