mirror of https://github.com/apache/archiva.git
upgrade to webwork 2.2.2
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@419461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8d7cd7956
commit
5d2ddbae67
|
@ -40,7 +40,7 @@
|
|||
<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>
|
||||
|
@ -125,4 +125,10 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>codehaus.snapshots</id>
|
||||
<url>http://snapshots.repository.codehaus.org</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
~ limitations under the License.
|
||||
--%>
|
||||
|
||||
<%@ taglib uri="webwork" prefix="ww" %>
|
||||
<%@ taglib uri="/webwork" prefix="ww" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Maven Repository Manager</title>
|
||||
|
@ -25,13 +25,13 @@
|
|||
<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>
|
||||
|
|
|
@ -15,22 +15,26 @@
|
|||
~
|
||||
--%>
|
||||
|
||||
<%@ 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>
|
||||
|
||||
|
||||
|
|
|
@ -15,16 +15,18 @@
|
|||
~
|
||||
--%>
|
||||
|
||||
<%@ taglib uri="webwork" prefix="ww" %>
|
||||
<%@ taglib uri="/webwork" prefix="ww" %>
|
||||
|
||||
<br>
|
||||
|
||||
<p>
|
||||
<b>SCHEDULER CONFIGURATION:</b>
|
||||
<b>SCHEDULER CONFIGURATION:</b>
|
||||
</p>
|
||||
|
||||
<form action="configureScheduler.action" method="post">
|
||||
Cron Expression: <input type="text" name="discoveryCronExpression" value="<ww:property value="parameters.discoveryCronExpression"/>"/>
|
||||
<input type="submit" value="Update"/>
|
||||
Cron Expression: <input type="text" name="discoveryCronExpression"
|
||||
value="<ww:property value="parameters.discoveryCronExpression"/>" />
|
||||
<input type="submit" value="Update" />
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -21,38 +21,52 @@
|
|||
<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>plexus</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- this must be before the sitemesh filter -->
|
||||
<filter-mapping>
|
||||
<filter-name>webwork-cleanup</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>sitemesh</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.codehaus.plexus.servlet.PlexusServletContextListener</listener-class>
|
||||
</listener>
|
||||
<filter-mapping>
|
||||
<filter-name>webwork</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.codehaus.plexus.webwork.servlet.PlexusWebWorkApplicationLifecycleListener</listener-class>
|
||||
<listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.codehaus.plexus.webwork.servlet.PlexusWebWorkSessionLifecycleListener</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>
|
||||
|
|
Loading…
Reference in New Issue