Author: mrdon
Date: Tue Oct  3 21:24:14 2006
New Revision: 452721

URL: http://svn.apache.org/viewvc?view=rev&rev=452721
Log:
Fixing struts all jar (might not be the proper "Maven" way, but it works)
WW-1453

Removed:
    struts/struts2/trunk/uber/src/
Modified:
    struts/struts2/trunk/uber/pom.xml

Modified: struts/struts2/trunk/uber/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/uber/pom.xml?view=diff&rev=452721&r1=452720&r2=452721
==============================================================================
--- struts/struts2/trunk/uber/pom.xml (original)
+++ struts/struts2/trunk/uber/pom.xml Tue Oct  3 21:24:14 2006
@@ -9,44 +9,38 @@
     </parent>
     <groupId>org.apache.struts</groupId>
     <artifactId>struts2-all</artifactId>
-    <packaging>pom</packaging>
+    <packaging>jar</packaging>
     <name>Uber Jar</name>
     <build>
-        <!--
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <descriptor>src/assemble/main.xml</descriptor>
-                </configuration>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
                 <executions>
                     <execution>
-                        <phase>package</phase>
+                        <id>unjar-deps</id>
+                        <phase>compile</phase>
                         <goals>
-                            <goal>assembly</goal>
+                            <goal>unpack</goal>
                         </goals>
-                    </execution>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.struts</groupId>
+                                    <artifactId>struts2-core</artifactId>
+                                    <version>${version}</version>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.struts</groupId>
+                                    <artifactId>struts2-api</artifactId>
+                                    <version>${version}</version>
+                                </artifactItem>
+                           </artifactItems>
+                            
<outputDirectory>${project.build.directory}/classes</outputDirectory>
+                        </configuration>
+                   </execution>
                 </executions>
             </plugin>
         </plugins>
-        -->
     </build>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.struts</groupId>
-            <artifactId>struts2-api</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.struts</groupId>
-            <artifactId>struts2-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.struts</groupId>
-            <artifactId>struts2-extras</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
 </project>


Reply via email to