diff options
author | Kun Zhang <zhangkun@google.com> | 2015-04-01 11:53:03 -0700 |
---|---|---|
committer | Kun Zhang <zhangkun@google.com> | 2015-04-01 11:53:03 -0700 |
commit | 18f02bc1cde4f039e8ecd85d8f2949c5c66a9d84 (patch) | |
tree | 5605ed33ee3ab3a4966f35586351e8b69983cd9b /protoc-artifacts | |
parent | ae9177d6453ce23ddb33927a5e88360255efa1fc (diff) | |
download | protobuf-18f02bc1cde4f039e8ecd85d8f2949c5c66a9d84.tar.gz protobuf-18f02bc1cde4f039e8ecd85d8f2949c5c66a9d84.tar.bz2 protobuf-18f02bc1cde4f039e8ecd85d8f2949c5c66a9d84.zip |
Move signing and uploading to the release profile
Diffstat (limited to 'protoc-artifacts')
-rw-r--r-- | protoc-artifacts/pom.xml | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/protoc-artifacts/pom.xml b/protoc-artifacts/pom.xml index 51b48c92..f7bc8818 100644 --- a/protoc-artifacts/pom.xml +++ b/protoc-artifacts/pom.xml @@ -83,31 +83,40 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.5</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.sonatype.plugins</groupId> - <artifactId>nexus-staging-maven-plugin</artifactId> - <version>1.6.3</version> - <extensions>true</extensions> - <configuration> - <serverId>sonatype-nexus-staging</serverId> - <nexusUrl>https://oss.sonatype.org/</nexusUrl> - <autoReleaseAfterClose>false</autoReleaseAfterClose> - </configuration> - </plugin> </plugins> </build> + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.3</version> + <extensions>true</extensions> + <configuration> + <serverId>sonatype-nexus-staging</serverId> + <nexusUrl>https://oss.sonatype.org/</nexusUrl> + <autoReleaseAfterClose>false</autoReleaseAfterClose> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |