https://issues.apache.org/activemq/browse/AMQ-2510 - adding 'deploy' profile to be used to deploy sources and java docs from hudson

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911811 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-02-19 13:48:11 +00:00
parent 51f9dc6a9b
commit d801f35d32
1 changed files with 33 additions and 1 deletions

34
pom.xml
View File

@ -1215,7 +1215,39 @@
</plugins>
</build>
</profile>
<profile>
<id>deploy</id>
<build>
<defaultGoal>deploy</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
</plugins>
</build>
</profile>
</profiles>
</project>