Author: ptahchiev
Date: Sun Jan 18 06:02:08 2009
New Revision: 735458

URL: http://svn.apache.org/viewvc?rev=735458&view=rev
Log:
Added the generation of test-jar and so that the jetty sample can use it.

Modified:
    jakarta/cactus/trunk/samples/servlet/pom.xml

Modified: jakarta/cactus/trunk/samples/servlet/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/cactus/trunk/samples/servlet/pom.xml?rev=735458&r1=735457&r2=735458&view=diff
==============================================================================
--- jakarta/cactus/trunk/samples/servlet/pom.xml (original)
+++ jakarta/cactus/trunk/samples/servlet/pom.xml Sun Jan 18 06:02:08 2009
@@ -27,7 +27,7 @@
        <artifactId>cactus.samples.servlet</artifactId>
        <name>Cactus Servlet Samples</name>
        <description>Cactus Servlet Sample Projects</description>
-       <packaging>war</packaging>
+       <packaging>jar</packaging>
        <dependencies>
                <dependency>
                        <groupId>org.apache.cactus</groupId>
@@ -284,7 +284,29 @@
             *, test/*, WEB-INF/classes/**, WEB-INF/lib/standard*, 
WEB-INF/lib/jstl*, WEB-INF/lib/html*, WEB-INF/lib/http*
           </warSourceIncludes>
           <!--warSourceExcludes>*.jar</warSourceExcludes-->
-        </configuration>        
+        </configuration>
+                               <executions>
+                                       <execution>
+                                               
<id>create-cactus-war-archive</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>war</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+      </plugin>
+                       <plugin>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               
<id>create-cactus-jar-test-archive</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>jar</goal>
+                                                       <goal>test-jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
       </plugin>
       <!-- 
        We need the surefire not to fail the build when a test-failure occurs,



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: cactus-dev-h...@jakarta.apache.org

Reply via email to