aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authormcculls <mcculls@d779f126-a31b-0410-b53b-1d3aecad763e>2010-12-06 15:53:13 +0000
committermcculls <mcculls@d779f126-a31b-0410-b53b-1d3aecad763e>2010-12-06 15:53:13 +0000
commit4489484b9f80f5c805c90b944e813ac7fb01e7b0 (patch)
tree9b043ea777349d6e12bd54f7f04cf23e540d6c8f /pom.xml
parent81a0c602ca592234db6fa778809ed3e74a2f2f80 (diff)
downloadguice-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.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 07440786..cba3ca31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>