diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2015-03-05 14:43:34 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2015-03-05 14:43:34 -0800 |
commit | efd4009487b6367cc21bee8e63d52a5af74497eb (patch) | |
tree | e3ef6c15ea779ac250c9014a813d1ffb35d8af07 /javanano/pom.xml | |
parent | 8e61d323bf536651f7be8a342b92f35d547b38b4 (diff) | |
download | protobuf-efd4009487b6367cc21bee8e63d52a5af74497eb.tar.gz protobuf-efd4009487b6367cc21bee8e63d52a5af74497eb.tar.bz2 protobuf-efd4009487b6367cc21bee8e63d52a5af74497eb.zip |
Add maven release profile for JavaNano.
Change-Id: I885b561c85325db05595f0d86338dcd7c06cf058
Diffstat (limited to 'javanano/pom.xml')
-rw-r--r-- | javanano/pom.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/javanano/pom.xml b/javanano/pom.xml index 50056cd3..5840b62a 100644 --- a/javanano/pom.xml +++ b/javanano/pom.xml @@ -162,4 +162,64 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.2.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9.1</version> + <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> + <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> |