Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHOReVOLUTION
choreospec
Commits
e1dc68bb
Commit
e1dc68bb
authored
Jan 09, 2017
by
Francesco Chicchiriccò
Browse files
Further POM fix to perform gpg sign only during releases
parent
8b9a5db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
e1dc68bb
...
...
@@ -18,7 +18,7 @@ limitations under the License.
<modelVersion>
4.0.0
</modelVersion>
<groupId>
eu.chorevolution.ee
</groupId>
<groupId>
eu.chorevolution.ee
</groupId>
<artifactId>
chorspec
</artifactId>
<version>
1.0.1-SNAPSHOT
</version>
<name>
CHOReVOLUTION Choreography data model library
</name>
...
...
@@ -248,35 +248,49 @@ limitations under the License.
<artifactId>
maven-release-plugin
</artifactId>
<version>
2.5.3
</version>
<configuration>
<useReleaseProfile>
false
</useReleaseProfile>
<goals>
deploy
</goals>
<arguments>
-Prelease ${arguments}
</arguments>
<waitBeforeTagging>
10
</waitBeforeTagging>
<mavenExecutorId>
forked-path
</mavenExecutorId>
<autoVersionSubmodules>
true
</autoVersionSubmodules>
<tagNameFormat>
chrospec-@{project.version}
</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
2.8.2
</version>
</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>
<profiles>
<profile>
<id>
release
</id>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
2.8.2
</version>
</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>
</profile>
</profiles>
<repositories>
<repository>
<id>
sonatype
</id>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment