camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r730992 - /activemq/camel/trunk/pom.xml
Date Sat, 03 Jan 2009 14:37:55 GMT
Author: ningjiang
Date: Sat Jan  3 06:37:54 2009
New Revision: 730992

URL: http://svn.apache.org/viewvc?rev=730992&view=rev
Log:
CAMEL-1219 Added the deploy profile to ship the source and java doc jars when deploying

Modified:
    activemq/camel/trunk/pom.xml

Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?rev=730992&r1=730991&r2=730992&view=diff
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Sat Jan  3 06:37:54 2009
@@ -1480,8 +1480,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.0.4</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>
     <profile>
         <id>release</id>
         <!-- this profile will be hit when you do relase work for camel -->



Mime
View raw message