diff options
author | mcculls <mcculls@d779f126-a31b-0410-b53b-1d3aecad763e> | 2010-12-06 15:53:13 +0000 |
---|---|---|
committer | mcculls <mcculls@d779f126-a31b-0410-b53b-1d3aecad763e> | 2010-12-06 15:53:13 +0000 |
commit | 4489484b9f80f5c805c90b944e813ac7fb01e7b0 (patch) | |
tree | 9b043ea777349d6e12bd54f7f04cf23e540d6c8f /pom.xml | |
parent | 81a0c602ca592234db6fa778809ed3e74a2f2f80 (diff) | |
download | guice-4489484b9f80f5c805c90b944e813ac7fb01e7b0.tar.gz |
Add source and javadoc to Maven release profile
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1433 d779f126-a31b-0410-b53b-1d3aecad763e
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -336,6 +336,38 @@ See the Apache License Version 2.0 for the specific language governing permissio <profiles> <profile> <!-- + | Release profile: capture source and javadoc + --> + <id>release</id> + <build> + <plugins> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <!-- | Deployment profile for the Sonatype Grid --> <id>sonatype-grid</id> |