Author: nandana
Date: Wed Oct  1 23:45:02 2008
New Revision: 701015

URL: http://svn.apache.org/viewvc?rev=701015&view=rev
Log:
Making mar modules produce jar artifacts as well according to this discussing  
http://markmail.org/message/cohip63k6azigfnu?q=list:org%2Eapache%2Ews%2Erampart-dev&page=4

Modified:
    webservices/rampart/trunk/java/modules/rampart-mar/pom.xml

Modified: webservices/rampart/trunk/java/modules/rampart-mar/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-mar/pom.xml?rev=701015&r1=701014&r2=701015&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/rampart-mar/pom.xml (original)
+++ webservices/rampart/trunk/java/modules/rampart-mar/pom.xml Wed Oct  1 
23:45:02 2008
@@ -47,8 +47,30 @@
                                <includeDependencies>false</includeDependencies>
                        <moduleXmlFile>module.xml</moduleXmlFile>
                </configuration>
-            </plugin> 
-           </plugins>
+            </plugin>    
+           <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>aar</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    
<file>target/${pom.artifactId}-${pom.version}.mar</file>
+                                    <type>jar</type>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            </plugins>
     </build>
     
     <dependencies>


Reply via email to