You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2008/06/06 18:54:08 UTC

svn commit: r664033 - in /webservices/sandesha/trunk/java/modules: core/pom.xml distribution/pom.xml interop/pom.xml rampart-integration/pom.xml

Author: davidillsley
Date: Fri Jun  6 09:54:08 2008
New Revision: 664033

URL: http://svn.apache.org/viewvc?rev=664033&view=rev
Log:
Update poms to allows distribution to use maven-dependency-plugin to retrieve sources

Modified:
    webservices/sandesha/trunk/java/modules/core/pom.xml
    webservices/sandesha/trunk/java/modules/distribution/pom.xml
    webservices/sandesha/trunk/java/modules/interop/pom.xml
    webservices/sandesha/trunk/java/modules/rampart-integration/pom.xml

Modified: webservices/sandesha/trunk/java/modules/core/pom.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/pom.xml?rev=664033&r1=664032&r2=664033&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/core/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/core/pom.xml Fri Jun  6 09:54:08 2008
@@ -49,6 +49,19 @@
                     <target>1.4</target>
                 </configuration>
             </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
         </plugins>
     </build>
 

Modified: webservices/sandesha/trunk/java/modules/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/distribution/pom.xml?rev=664033&r1=664032&r2=664033&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/distribution/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/distribution/pom.xml Fri Jun  6 09:54:08 2008
@@ -35,6 +35,47 @@
 
     <build>
     <plugins>
+        <plugin>
+         <groupId>org.apache.maven.plugins</groupId>
+         <artifactId>maven-dependency-plugin</artifactId>
+         <executions>
+           <execution>
+             <id>unpack</id>
+             <phase>process-resources</phase>
+             <goals>
+               <goal>unpack</goal>
+             </goals>
+             <configuration>
+               <artifactItems>
+                 <artifactItem>
+                   <groupId>org.apache.sandesha2</groupId>
+                   <artifactId>sandesha2-core</artifactId>
+                   <version>${pom.version}</version>
+                   <classifier>sources</classifier>
+                   <overWrite>true</overWrite>
+                   <outputDirectory>${project.build.directory}/sources/</outputDirectory>
+                 </artifactItem>
+                 <artifactItem>
+                   <groupId>org.apache.sandesha2</groupId>
+                   <artifactId>sandesha2-interop</artifactId>
+                   <version>${pom.version}</version>
+                   <classifier>sources</classifier>
+                   <overWrite>true</overWrite>
+                   <outputDirectory>${project.build.directory}/sources/</outputDirectory>
+                 </artifactItem>
+                 <artifactItem>
+                   <groupId>org.apache.sandesha2</groupId>
+                   <artifactId>sandesha2-rampart-integration</artifactId>
+                   <version>${pom.version}</version>
+                   <classifier>sources</classifier>
+                   <overWrite>true</overWrite>
+                   <outputDirectory>${project.build.directory}/sources/</outputDirectory>
+                 </artifactItem>
+               </artifactItems>
+             </configuration>
+           </execution>
+         </executions>
+       </plugin>
 	<plugin>
 	    <groupId>org.apache.maven.plugins</groupId>
 	    <artifactId>maven-antrun-plugin</artifactId>
@@ -57,15 +98,9 @@
 							     doctitle="Sandesha2"
 							     bottom="Copyright &#169; 2007 Apache Web Services Project. All Rights Reserved."
 							     >
-							    <packageset dir="../../modules/core/src/main/java" defaultexcludes="yes">
+							    <packageset dir="target/sources/" defaultexcludes="yes">
 								    <include name="org/apache/sandesha2/**"/>
 							    </packageset>
-							    <packageset dir="../../modules/interop/src/main/java" defaultexcludes="yes">
-								    <include name="org/apache/sandesha2/**"/>
-							    </packageset>    
-							    <packageset dir="../../modules/rampart-integration/src/main/java" defaultexcludes="yes">
-								    <include name="org/apache/sandesha2/**"/>
-							    </packageset>							
 					      </javadoc>
 				        </tasks>
 				    </configuration>

Modified: webservices/sandesha/trunk/java/modules/interop/pom.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/interop/pom.xml?rev=664033&r1=664032&r2=664033&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/interop/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/interop/pom.xml Fri Jun  6 09:54:08 2008
@@ -48,6 +48,19 @@
                     <target>1.4</target>
                 </configuration>
             </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
         </plugins>
     </build>
    

Modified: webservices/sandesha/trunk/java/modules/rampart-integration/pom.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/rampart-integration/pom.xml?rev=664033&r1=664032&r2=664033&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/rampart-integration/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/rampart-integration/pom.xml Fri Jun  6 09:54:08 2008
@@ -49,6 +49,19 @@
                     <target>1.4</target>
                 </configuration>
             </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
         </plugins>
     </build>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org