diff options
author | Eric Hartmann <hartmann.eric@gmail.com> | 2013-03-12 08:29:01 +0100 |
---|---|---|
committer | Eric Hartmann <hartmann.eric@gmail.com> | 2013-03-12 08:29:01 +0100 |
commit | cc11d5ba5231d8c3fae02b10f99ca3d5c2e0dd6a (patch) | |
tree | e59cec15788a727fcdb9c0aa3b736a49c4c6952a /pom.xml | |
parent | 1af9b309b2daea9699218db6532bff44a9840538 (diff) | |
download | sonar-scanner-cli-cc11d5ba5231d8c3fae02b10f99ca3d5c2e0dd6a.tar.gz sonar-scanner-cli-cc11d5ba5231d8c3fae02b10f99ca3d5c2e0dd6a.zip |
Add release profile to sign and deploy javadoc
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -57,4 +57,40 @@ <sonar.buildVersion>3.5-RC3</sonar.buildVersion> <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> </properties> + + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <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> + <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> + </project> |