<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-xwork-integration</artifactId>
- <version>1.0-alpha-1</version>
+ <version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven.repository</groupId>
</plugin>
</plugins>
</build>
+ <repositories>
+ <repository>
+ <id>codehaus.snapshots</id>
+ <url>http://snapshots.repository.codehaus.org</url>
+ </repository>
+ </repositories>
</project>
~ limitations under the License.
--%>
-<%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="/webwork" prefix="ww" %>
<html>
<head>
<title>Maven Repository Manager</title>
<h1>Maven Repository Manager</h1>
<%@ include file="form.jspf" %>
-<p/>
+<p />
<%@ include file="indexconfig.jsp" %>
-<p/>
+<p />
-<p/>
+<p />
<%@ include file="schedulerconfig.jsp" %>
-<p/>
+<p />
</body>
</html>
~
--%>
-<%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="/webwork" prefix="ww" %>
<br>
+
<p>
-<b>INDEX CONFIGURATION:</b>
+ <b>INDEX CONFIGURATION:</b>
</p>
<form action="configureIndex.action" method="post">
- Index Path: <input type="text" name="indexPath" value="<ww:property value="parameters.indexPath"/>"/>
+ Index Path: <input type="text" name="indexPath" value="<ww:property value="parameters.indexPath"/>" />
<br>
- Minimal Index Path: <input type="text" name="minimalIndexPath" value="<ww:property value="parameters.minimalIndexPath"/>"/>
+ Minimal Index Path: <input type="text" name="minimalIndexPath"
+ value="<ww:property value="parameters.minimalIndexPath"/>" />
<br>
- Blacklist Patterns: <input type="text" name="discoveryBlacklistPatterns" value="<ww:property value="parameters.discoveryBlacklistPatterns"/>"/>
+ Blacklist Patterns: <input type="text" name="discoveryBlacklistPatterns"
+ value="<ww:property value="parameters.discoveryBlacklistPatterns"/>" />
<br>
- Discover Snapshots: <input type="text" name="discoverSnapshots" value="<ww:property value="parameters.discoverSnapshots"/>"/>
- <input type="submit" value="Update"/>
+ Discover Snapshots: <input type="text" name="discoverSnapshots"
+ value="<ww:property value="parameters.discoverSnapshots"/>" />
+ <input type="submit" value="Update" />
</form>
~\r
--%>\r
\r
-<%@ taglib uri="webwork" prefix="ww" %>\r
+<%@ taglib uri="/webwork" prefix="ww" %>\r
\r
<br>\r
+\r
<p>\r
-<b>SCHEDULER CONFIGURATION:</b>\r
+ <b>SCHEDULER CONFIGURATION:</b>\r
</p>\r
\r
<form action="configureScheduler.action" method="post">\r
- Cron Expression: <input type="text" name="discoveryCronExpression" value="<ww:property value="parameters.discoveryCronExpression"/>"/>\r
- <input type="submit" value="Update"/>\r
+ Cron Expression: <input type="text" name="discoveryCronExpression"\r
+ value="<ww:property value="parameters.discoveryCronExpression"/>" />\r
+ <input type="submit" value="Update" />\r
</form>\r
\r
\r
<web-app>
<display-name>Maven Repository Manager</display-name>
+ <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>
+ </filter>
+
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
</filter>
+ <filter>
+ <filter-name>webwork</filter-name>
+ <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
+ </filter>
+
+ <!-- this must be before the webwork filter -->
<filter-mapping>
- <filter-name>sitemesh</filter-name>
+ <filter-name>plexus</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <listener>
- <listener-class>org.codehaus.plexus.servlet.PlexusServletContextListener</listener-class>
- </listener>
+ <!-- this must be before the sitemesh filter -->
+ <filter-mapping>
+ <filter-name>webwork-cleanup</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
- <listener>
- <listener-class>org.codehaus.plexus.webwork.servlet.PlexusWebWorkApplicationLifecycleListener</listener-class>
- </listener>
+ <filter-mapping>
+ <filter-name>sitemesh</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <filter-mapping>
+ <filter-name>webwork</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
<listener>
- <listener-class>org.codehaus.plexus.webwork.servlet.PlexusWebWorkSessionLifecycleListener</listener-class>
+ <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class>
</listener>
- <servlet>
- <servlet-name>webwork</servlet-name>
- <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>webwork</servlet-name>
- <url-pattern>*.action</url-pattern>
- </servlet-mapping>
-
<welcome-file-list>
<welcome-file>index.action</welcome-file>
<welcome-file>index.jsp</welcome-file>