continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r429219 - in /maven/continuum/trunk/continuum-webapp: pom.xml src/main/plexus/ src/main/plexus/plexus.xml src/main/resources/plexus-application.xml src/main/resources/plexus-session.xml src/main/webapp/WEB-INF/web.xml
Date Mon, 07 Aug 2006 00:17:01 GMT
Author: brett
Date: Sun Aug  6 17:17:00 2006
New Revision: 429219

URL: http://svn.apache.org/viewvc?rev=429219&view=rev
Log:
[CONTINUUM-806] use the new xwork integration

Added:
    maven/continuum/trunk/continuum-webapp/src/main/plexus/
    maven/continuum/trunk/continuum-webapp/src/main/plexus/plexus.xml
      - copied unchanged from r429213, maven/continuum/trunk/continuum-webapp/src/main/resources/plexus-application.xml
Removed:
    maven/continuum/trunk/continuum-webapp/src/main/resources/plexus-application.xml
    maven/continuum/trunk/continuum-webapp/src/main/resources/plexus-session.xml
Modified:
    maven/continuum/trunk/continuum-webapp/pom.xml
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml

Modified: maven/continuum/trunk/continuum-webapp/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/pom.xml?rev=429219&r1=429218&r2=429219&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/pom.xml (original)
+++ maven/continuum/trunk/continuum-webapp/pom.xml Sun Aug  6 17:17:00 2006
@@ -41,13 +41,33 @@
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-maven-plugin</artifactId>
         <configuration>
-          <fileName>plexus-request.xml</fileName>
+          <fileName>plexus.xml</fileName>
           <containerDescriptor>true</containerDescriptor>
+          <roleDefaults>
+            <roleDefault>
+              <role>com.opensymphony.xwork.Action</role>
+              <instantiation-strategy>per-lookup</instantiation-strategy>
+            </roleDefault>
+          </roleDefaults>
         </configuration>
         <executions>
           <execution>
+            <id>generate</id>
             <goals>
               <goal>descriptor</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>merge</id>
+            <configuration>
+              <output>${project.build.outputDirectory}/META-INF/plexus/plexus.xml</output>
+              <descriptors>
+                <descriptor>${project.build.directory}/generated-resources/plexus/plexus.xml</descriptor>
+                <descriptor>src/main/plexus/plexus.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <goals>
+              <goal>merge-descriptors</goal>
             </goals>
           </execution>
         </executions>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml?rev=429219&r1=429218&r2=429219&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml Sun Aug  6 17:17:00
2006
@@ -18,12 +18,6 @@
     <param-value>localization/Continuum</param-value>
   </context-param>
 
-  <!-- this should be before the webwork filter -->
-  <filter>
-    <filter-name>plexus</filter-name>
-    <filter-class>org.codehaus.plexus.xwork.PlexusFilter</filter-class>
-  </filter>
-
   <filter>
     <filter-name>webwork-cleanup</filter-name>
     <filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
@@ -38,12 +32,6 @@
     <filter-name>webwork</filter-name>
     <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
   </filter>
-
-  <!-- this should be before the webwork filter -->
-  <filter-mapping>
-    <filter-name>plexus</filter-name>
-    <url-pattern>/*</url-pattern>
-  </filter-mapping>
 
   <filter-mapping>
     <filter-name>webwork-cleanup</filter-name>



Mime
View raw message