Author: dejanb
Date: Fri Feb 19 14:28:20 2010
New Revision: 911820
URL: http://svn.apache.org/viewvc?rev=911820&view=rev
Log:
merging 911799,911811 - https://issues.apache.org/activemq/browse/AMQ-2510 - adding 'deploy'
profile to be used to deploy sources and java docs from hudson
Modified:
activemq/branches/activemq-5.3/pom.xml
Modified: activemq/branches/activemq-5.3/pom.xml
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-5.3/pom.xml?rev=911820&r1=911819&r2=911820&view=diff
==============================================================================
--- activemq/branches/activemq-5.3/pom.xml (original)
+++ activemq/branches/activemq-5.3/pom.xml Fri Feb 19 14:28:20 2010
@@ -117,6 +117,12 @@
<url>${staging.siteURL}/${siteId}/maven/${activemq-version}</url>
<!--<url>${site-repo-url}</url>-->
</site>
+ <snapshotRepository>
+ <id>apache.snapshots.https</id>
+ <name>Apache Development Snapshot Repository</name>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ <uniqueVersion>false</uniqueVersion>
+ </snapshotRepository>
</distributionManagement>
<modules>
@@ -1222,7 +1228,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>
|