]> source.dussan.org Git - archiva.git/commitdiff
Behold! Struts2!
authorJames William Dumay <jdumay@apache.org>
Wed, 1 Oct 2008 09:11:06 +0000 (09:11 +0000)
committerJames William Dumay <jdumay@apache.org>
Wed, 1 Oct 2008 09:11:06 +0000 (09:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@700721 13f79535-47bb-0310-9956-ffa450edef68

135 files changed:
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/pom.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/BrowseAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/PlexusActionSupport.java [new file with mode: 0644]
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/UploadAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/SchedulerAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganisationInfoAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/OrganisationInfoAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AbstractProxyConnectorFormAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AddProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DisableProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/EditProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/EnableProxyConnectorAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ProxyConnectorsAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/SortProxyConnectorsAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/database/DatabaseAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/legacy/AddLegacyArtifactPathAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/legacy/DeleteLegacyArtifactPathAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/legacy/LegacyArtifactPathAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/networkproxies/NetworkProxiesAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AbstractRepositoriesAdminAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/AddRemoteRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteManagedRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteRemoteRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteRepositoryGroupAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditRemoteRepositoryAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/RepositoriesAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/RepositoryGroupsAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/SortRepositoriesAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/scanning/RepositoryScanningAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/GenerateReportAction.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/interceptor/ConfigurationInterceptor.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/mapper/RepositoryActionMapper.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/rss/RssFeedServlet.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifact.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifactTag.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLink.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLinkTag.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/CronExpressionValidator.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/IntervalValidator.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/validator/SyncedRepositoryValidator.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/META-INF/plexus/application.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties [new file with mode: 0644]
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml [new file with mode: 0644]
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/validators.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/webwork.properties [deleted file]
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml [deleted file]
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/accessToNoRepos.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addProxyConnector.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addRemoteRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/addRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmAddRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/database.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/deleteNetworkProxy.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/deleteProxyConnector.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/deleteRemoteRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/deleteRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/disableProxyConnector.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editAppearance.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editNetworkProxy.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editRemoteRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editRepository.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/enableProxyConnector.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/errorMessages.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/legacyArtifactPath.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/networkProxies.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/proxyConnectors.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositoryGroups.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositoryScanning.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/advancedSearch.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/alert.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/browse.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/browseArtifact.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/browseGroup.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/findArtifact.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/generalError.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/basicReport.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/blankReport.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/reports/pickReport.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/upload.jsp
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/template/archiva/checkboxlist.ftl
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/template/archiva/radiomap.ftl
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/template/xhtml/hidden.ftl
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/AbstractWebworkTestCase.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/EditOrganizationInfoActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/appearance/OrganizationInfoActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/AddProxyConnectorActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DeleteProxyConnectorActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/DisableProxyConnectorActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/EditProxyConnectorActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/EnableProxyConnectorActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ProxyConnectorsActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/SortProxyConnectorsActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/AddRemoteRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteManagedRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteRemoteRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/DeleteRepositoryGroupActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/EditRemoteRepositoryActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/RepositoriesActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/RepositoryGroupsActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/action/admin/repositories/SortRepositoriesActionTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/resources/org/apache/maven/archiva/web/action/admin/repositories/AbstractManagedRepositoriesActionTest.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/resources/org/apache/maven/archiva/web/action/admin/repositories/DeleteManagedRepositoryActionTest.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/test/resources/org/apache/maven/archiva/web/action/admin/repositories/RepositoriesActionTest.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/pom.xml
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResource.java
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavSessionProvider.java
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/RepositoryServlet.java
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/ArchivaDavSessionProviderTest.java
archiva-struts2/archiva-modules/archiva-web/archiva-webdav/src/test/resources/org/apache/maven/archiva/webdav/RepositoryServletTest.xml
archiva-struts2/pom.xml

index 97bfcd57afec6db2002cb0e5aa46134545eb8847..eaccde728bc8c0099a7891058c3c8df30a06d20e 100644 (file)
       <artifactId>commons-lang</artifactId>
     </dependency>
     <dependency>
-      <groupId>com.opensymphony</groupId>
-      <artifactId>webwork</artifactId>
+      <groupId>org.apache.struts</groupId>
+      <artifactId>struts2-core</artifactId>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus.registry</groupId>
     <!-- Plexus Security Dependencies -->
     <dependency>
       <groupId>org.codehaus.redback</groupId>
-      <artifactId>redback-xwork-content</artifactId>
+      <artifactId>redback-struts2-content</artifactId>
       <type>war</type>
       <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.codehaus.redback</groupId>
-      <artifactId>redback-xwork-integration</artifactId>
+      <artifactId>redback-struts2-integration</artifactId>
     </dependency>
     <dependency>
       <groupId>org.codehaus.redback</groupId>
-      <artifactId>redback-taglib</artifactId>
+      <artifactId>redback-struts2-taglib</artifactId>
     </dependency>
     <!-- Other dependencies -->
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-webdav</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.struts</groupId>
+      <artifactId>struts2-spring-plugin</artifactId>
+      <scope>runtime</scope>
+    </dependency>
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
       </plugin>
       <plugin>
         <groupId>org.mortbay.jetty</groupId>
-        <artifactId>maven-jetty-plugin</artifactId>
-        <version>6.1.1</version>
+        <artifactId>jetty-maven-plugin</artifactId>
+        <version>7.0.0pre3</version>
         <configuration>
           <scanIntervalSeconds>10</scanIntervalSeconds>
           <contextPath>/</contextPath>
           <jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
+          <webAppConfig>
+            <contextPath>/</contextPath>
+            <jettyEnvXmlFile>src/jetty-env.xml</jettyEnvXmlFile>
+          </webAppConfig>
           <connectors>
             <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
               <port>9091</port>
         <configuration>
           <roleDefaults>
             <roleDefault>
-              <role>com.opensymphony.xwork.Action</role>
+              <role>com.opensymphony.xwork2.Action</role>
               <instantiation-strategy>per-lookup</instantiation-strategy>
             </roleDefault>
           </roleDefaults>
index 92b4c8c912ef1dfd928c93814b6f23719dcaa979..df1244599d0ca7cfa6324a129d7132b6dbf4279d 100644 (file)
@@ -22,14 +22,13 @@ package org.apache.maven.archiva.web.action;
 import java.util.Collections;
 import java.util.List;
 
-import com.opensymphony.xwork.ActionContext;
+import com.opensymphony.xwork2.ActionContext;
 import org.apache.commons.collections.CollectionUtils;
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.database.browsing.BrowsingResults;
 import org.apache.maven.archiva.database.browsing.RepositoryBrowsing;
 import org.apache.maven.archiva.security.*;
 import org.apache.maven.archiva.security.ArchivaXworkUser;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 /**
  * Browse the repository.
@@ -37,7 +36,7 @@ import org.codehaus.plexus.xwork.action.PlexusActionSupport;
  * @todo cache browsing results.
  * @todo implement repository selectors (all or specific repository)
  * @todo implement security around browse (based on repository id at first)
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="browseAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="browseAction"
  */
 public class BrowseAction
     extends PlexusActionSupport
diff --git a/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/PlexusActionSupport.java b/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/PlexusActionSupport.java
new file mode 100644 (file)
index 0000000..d68b6be
--- /dev/null
@@ -0,0 +1,54 @@
+package org.apache.maven.archiva.web.action;\r
+\r
+/*\r
+ * Licensed to the Apache Software Foundation (ASF) under one\r
+ * or more contributor license agreements.  See the NOTICE file\r
+ * distributed with this work for additional information\r
+ * regarding copyright ownership.  The ASF licenses this file\r
+ * to you under the Apache License, Version 2.0 (the\r
+ * "License"); you may not use this file except in compliance\r
+ * with the License.  You may obtain a copy of the License at\r
+ *\r
+ *  http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing,\r
+ * software distributed under the License is distributed on an\r
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r
+ * KIND, either express or implied.  See the License for the\r
+ * specific language governing permissions and limitations\r
+ * under the License.\r
+ */\r
+\r
+import com.opensymphony.xwork2.ActionSupport;\r
+import java.util.Map;\r
+import org.apache.struts2.interceptor.SessionAware;\r
+import org.codehaus.plexus.logging.LogEnabled;\r
+import org.codehaus.plexus.logging.Logger;\r
+\r
+/**\r
+ * LogEnabled and SessionAware ActionSupport\r
+ */\r
+public abstract class PlexusActionSupport\r
+    extends ActionSupport\r
+    implements LogEnabled, SessionAware\r
+{\r
+    protected Map session;\r
+\r
+    private Logger logger;\r
+\r
+    public void setSession( Map map )\r
+    {\r
+        //noinspection AssignmentToCollectionOrArrayFieldFromParameter\r
+        this.session = map;\r
+    }\r
+\r
+    public void enableLogging( Logger logger )\r
+    {\r
+        this.logger = logger;\r
+    }\r
+\r
+    protected Logger getLogger()\r
+    {\r
+        return logger;\r
+    }\r
+}\r
index 35e770b26a3640906aca51cb4cf6bdee839fefca..c7b21e596538cc61813a2bb97a251093ea559e69 100644 (file)
@@ -42,15 +42,14 @@ import org.apache.maven.archiva.security.ArchivaSecurityException;
 import org.apache.maven.archiva.security.ArchivaXworkUser;
 import org.apache.maven.archiva.security.PrincipalNotFoundException;
 import org.apache.maven.archiva.security.UserRepositories;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
-import com.opensymphony.xwork.ActionContext;
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.ActionContext;
+import com.opensymphony.xwork2.Preparable;
 
 /**
  * Search all indexed fields by the given criteria.
  *
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="searchAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="searchAction"
  */
 public class SearchAction
     extends PlexusActionSupport
@@ -307,8 +306,7 @@ public class SearchAction
 
         return RESULTS;
     }
-
-    @Override
+    
     public String doInput()
     {
         return INPUT;
index a402515c3296cb41b8adbf1b1183be094eb07a0b..56fd71aa013e1d19bc347d742513f4a6892d586b 100644 (file)
@@ -32,17 +32,16 @@ import org.apache.maven.archiva.security.ArchivaSecurityException;
 import org.apache.maven.archiva.security.PrincipalNotFoundException;
 import org.apache.maven.archiva.security.UserRepositories;
 import org.apache.maven.archiva.security.ArchivaXworkUser;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
-import com.opensymphony.xwork.ActionContext;
-import com.opensymphony.xwork.Validateable;
+import com.opensymphony.xwork2.ActionContext;
+import com.opensymphony.xwork2.Validateable;
 
 /**
  * Browse the repository. 
  * 
  * TODO change name to ShowVersionedAction to conform to terminology.
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="showArtifactAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="showArtifactAction"
  */
 public class ShowArtifactAction
     extends PlexusActionSupport
index cb8bcfe48f10d6904076ec5ae67bcc5f2a528f16..c9a15e2dd7b23ea7a5ca71657f384d739d8a357d 100644 (file)
@@ -61,12 +61,11 @@ import org.apache.maven.archiva.security.ArchivaSecurityException;
 import org.apache.maven.archiva.security.PrincipalNotFoundException;
 import org.apache.maven.archiva.security.UserRepositories;
 import org.apache.maven.archiva.security.ArchivaXworkUser;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
-import com.opensymphony.webwork.ServletActionContext;
-import com.opensymphony.xwork.ActionContext;
-import com.opensymphony.xwork.Preparable;
-import com.opensymphony.xwork.Validateable;
+import org.apache.struts2.ServletActionContext;
+import com.opensymphony.xwork2.ActionContext;
+import com.opensymphony.xwork2.Preparable;
+import com.opensymphony.xwork2.Validateable;
 import org.apache.commons.io.FilenameUtils;
 import org.apache.commons.lang.StringUtils;
 
@@ -76,7 +75,7 @@ import org.apache.commons.lang.StringUtils;
  * 
  * @author <a href="mailto:wsmoak@apache.org">Wendy Smoak</a>
  * @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="uploadAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="uploadAction"
  */
 public class UploadAction
     extends PlexusActionSupport
index fb0db8436d5c4fbcfd22f84e192fe1b05900807e..4d73cd6a6398374049c2723882279538757bb46d 100644 (file)
@@ -27,17 +27,17 @@ import org.apache.maven.archiva.scheduled.tasks.ArchivaTask;
 import org.apache.maven.archiva.scheduled.tasks.DatabaseTask;
 import org.apache.maven.archiva.scheduled.tasks.RepositoryTask;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.taskqueue.TaskQueueException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 /**
  * Configures the application.
  *
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="schedulerAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="schedulerAction"
  */
 public class SchedulerAction
     extends PlexusActionSupport
index f8d6bf73f841787c567e3a054293e6b97ed5adeb..d9877ac5f887445ddcd7a6405168c9b7a98dbd4d 100644 (file)
@@ -22,9 +22,9 @@ package org.apache.maven.archiva.web.action.admin.appearance;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.OrganisationInformation;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 
 /**
  * AbstractAppearanceAction 
index 1304b50462122a7220e109c5e5e54721e54906f4..c598fef4c598ef4313eecff4052bdf77d389f6f7 100644 (file)
@@ -19,22 +19,22 @@ package org.apache.maven.archiva.web.action.admin.appearance;
  * under the License.
  */
 
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
 
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
 import org.apache.maven.archiva.configuration.OrganisationInformation;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
 
 /**
  * @author <a href="mailto:brett@apache.org">Brett Porter</a>
  * @version $Id: ConfigurationAction.java 480950 2006-11-30 14:58:35Z evenisse $
  * 
- * @plexus.component role="com.opensymphony.xwork.Action"
+ * @plexus.component role="com.opensymphony.xwork2.Action"
  *                   role-hint="editOrganisationInfo"
  */
 public class EditOrganisationInfoAction
index bcacf1ea49bedff1228425ec0b5deabf8ddd078e..8f61134710b903b058b71cdedff4a22bc0144c15 100644 (file)
@@ -22,7 +22,7 @@ package org.apache.maven.archiva.web.action.admin.appearance;
 /**
  * Stores the organisation information for displaying on the page.
  *
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="organisationInfo"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="organisationInfo"
  */
 public class OrganisationInfoAction
     extends AbstractAppearanceAction
index b7f2e60d4ed1f4d365ac64f80f6b3dc558bf8b53..c0a5a79a2067d6db9391c81a4c51665087b3f264 100644 (file)
@@ -28,12 +28,12 @@ import org.apache.maven.archiva.configuration.IndeterminateConfigurationExceptio
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.functors.ProxyConnectorSelectionPredicate;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 import java.util.List;
 import java.util.Map;
index 1318f5765c0574aeb363672c9a7fe7f0beb29afd..b25e2b3c1fa5d3c1a307d64debaad046630b3838 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.policies.DownloadErrorPolicy;
index 84c158cffbf342ba7f60b2850253422d59a0099b..5ee458a518fdfd6e2e17a5b68a94de184a5dae87 100644 (file)
@@ -28,7 +28,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="addProxyConnectorAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="addProxyConnectorAction"
  */
 public class AddProxyConnectorAction
     extends AbstractProxyConnectorFormAction
index 2de3ee9a5ae50d55791f139b9faaa87f6ca8d367..3fabeadc7badf311d1529c4e569bc0ed0660a08d 100644 (file)
@@ -27,7 +27,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="deleteProxyConnectorAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="deleteProxyConnectorAction"
  */
 public class DeleteProxyConnectorAction
     extends AbstractProxyConnectorAction
index 5ae3a4ddf87bd039cbe9b6aeb99309c5043488fb..1d109ef631dc760f3e60e228a9febd6fb26eea70 100644 (file)
@@ -24,7 +24,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 /**
  * DisableProxyConnectorAction 
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="disableProxyConnectorAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="disableProxyConnectorAction"
  */
 public class DisableProxyConnectorAction extends AbstractProxyConnectorAction
 {
index 8b050e94f6e711656a2fad048cd15dcb96d28024..62028ebbea3d6b51d4a6198d474c97abc43ab420 100644 (file)
@@ -28,7 +28,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="editProxyConnectorAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="editProxyConnectorAction"
  */
 public class EditProxyConnectorAction
     extends AbstractProxyConnectorFormAction
index 9a46d597d2d3585810c4e3926409bdb9268e4361..eb575b8fe58ef14db502a981be91d6c47289d7db 100644 (file)
@@ -24,7 +24,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 /**
  * EnableProxyConnectorAction 
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="enableProxyConnectorAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="enableProxyConnectorAction"
  */
 public class EnableProxyConnectorAction extends AbstractProxyConnectorAction
 {
index 3cfb0ece9bcb164d4e75a5364ca3a914d7d1332c..76663156a4be57a2e76de9a95c66054863209651 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.maven.archiva.configuration.AbstractRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -35,7 +35,7 @@ import java.util.Map;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="proxyConnectorsAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="proxyConnectorsAction"
  */
 public class ProxyConnectorsAction
     extends AbstractProxyConnectorAction
index 75b0f455a6672c1d043a2a624ab2dd28e3aecb9f..9d322edd512f4178e50e20bd13bd056836093a3a 100644 (file)
@@ -30,7 +30,7 @@ import java.util.List;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="sortProxyConnectorsAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="sortProxyConnectorsAction"
  */
 public class SortProxyConnectorsAction
     extends AbstractProxyConnectorAction
index 277aefee6d45e1cc06816937d3776f4a598bf5bd..34623ffcbd55b5a8ab7aabf326477c9c310f812a 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.database;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 import org.apache.commons.collections.CollectionUtils;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -28,12 +28,12 @@ import org.apache.maven.archiva.configuration.IndeterminateConfigurationExceptio
 import org.apache.maven.archiva.database.updater.DatabaseConsumers;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.apache.maven.archiva.web.action.admin.scanning.AdminRepositoryConsumerComparator;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 import java.util.Collections;
 import java.util.List;
@@ -43,7 +43,7 @@ import java.util.List;
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="databaseAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="databaseAction"
  */
 public class DatabaseAction
     extends PlexusActionSupport
index fa7f22616a2f866ff4afe44ea2ff0c5f1733fd6e..b734838811bf5e4985e5b9f27a07333b047fbc90 100644 (file)
@@ -26,16 +26,15 @@ import org.apache.maven.archiva.configuration.LegacyArtifactPath;
 import org.apache.maven.archiva.model.ArtifactReference;
 import org.apache.maven.archiva.repository.ManagedRepositoryContent;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
-import com.opensymphony.webwork.components.ActionError;
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 
 /**
  * Add a LegacyArtifactPath to archiva configuration
  *
  * @since 1.1
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="addLegacyArtifactPathAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="addLegacyArtifactPathAction"
  */
 public class AddLegacyArtifactPathAction
     extends PlexusActionSupport
index 0a0f6a0251ca27969c63521bbdc44ebc17cc7df0..5963cbc184dabe431ea3929f66c619745c471e24 100644 (file)
@@ -25,15 +25,15 @@ import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;\r
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;\r
 import org.apache.maven.archiva.configuration.LegacyArtifactPath;\r
+import org.apache.maven.archiva.web.action.PlexusActionSupport;\r
 import org.codehaus.plexus.registry.RegistryException;\r
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;\r
 \r
 /**\r
  * Delete a LegacyArtifactPath to archiva configuration\r
  *\r
  *\r
  * @since 1.1\r
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="deleteLegacyArtifactPathAction"\r
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="deleteLegacyArtifactPathAction"\r
  */\r
 public class DeleteLegacyArtifactPathAction\r
     extends PlexusActionSupport\r
index 7efa73b6bbc550bfc623a4931d4b650652bd5976..f2378d6d3ffda12e1d1302b61d4dc5b13dc61cb0 100644 (file)
@@ -30,19 +30,19 @@ import org.apache.maven.archiva.configuration.LegacyArtifactPath;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;\r
 import org.apache.maven.archiva.web.util.ContextUtils;\r
 import org.codehaus.plexus.redback.rbac.Resource;\r
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;\r
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;\r
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;\r
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;\r
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;\r
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;\r
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;\r
 \r
-import com.opensymphony.webwork.interceptor.ServletRequestAware;\r
-import com.opensymphony.xwork.Preparable;\r
+import org.apache.struts2.interceptor.ServletRequestAware;\r
+import com.opensymphony.xwork2.Preparable;\r
+import org.apache.maven.archiva.web.action.PlexusActionSupport;\r
 \r
 /**\r
  * Shows the LegacyArtifactPath Tab for the administrator.\r
  *\r
  * @since 1.1\r
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="legacyArtifactPathAction"\r
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="legacyArtifactPathAction"\r
  */\r
 public class LegacyArtifactPathAction\r
     extends PlexusActionSupport\r
index 4acc3ae144f71cc78c1f5a4dc8fd3aa30f1be209..e2048c3573c21d825e29862c3ac4e51d657acaeb 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.networkproxies;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 import org.apache.commons.collections.CollectionUtils;
 import org.apache.commons.collections.functors.NotPredicate;
 import org.apache.commons.lang.StringUtils;
@@ -29,19 +29,19 @@ import org.apache.maven.archiva.configuration.IndeterminateConfigurationExceptio
 import org.apache.maven.archiva.configuration.NetworkProxyConfiguration;
 import org.apache.maven.archiva.configuration.functors.NetworkProxySelectionPredicate;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 /**
  * ConfigureNetworkProxyAction
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="configureNetworkProxyAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="configureNetworkProxyAction"
  */
 public class ConfigureNetworkProxyAction
     extends PlexusActionSupport
index 467b3e454c34bb0b737c732653e62f0c0a67a37d..a75a7b83b03b9446c728ddad01dfac9db2498bac 100644 (file)
@@ -19,15 +19,15 @@ package org.apache.maven.archiva.web.action.admin.networkproxies;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 
 import java.util.List;
 
@@ -37,7 +37,7 @@ import java.util.List;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="networkProxiesAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="networkProxiesAction"
  */
 public class NetworkProxiesAction
     extends PlexusActionSupport
index a7cd0d7f2220ad2d8fad77a7ec1f266fe430084c..48430c78da6642f676a3be7f3c8b67688a9cfcb2 100644 (file)
@@ -25,14 +25,14 @@ import org.apache.maven.archiva.configuration.IndeterminateConfigurationExceptio
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 
 /**
  * Abstract AdminRepositories Action base.
index 919bce0711b5d1cac8bf319f6b0dcb8369cecb25..3190a06f847354619b335745c06fbd34d74196fd 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
-import com.opensymphony.xwork.Validateable;
+import com.opensymphony.xwork2.Preparable;
+import com.opensymphony.xwork2.Validateable;
 
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
@@ -35,7 +35,7 @@ import java.io.IOException;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="addManagedRepositoryAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="addManagedRepositoryAction"
  */
 public class AddManagedRepositoryAction
     extends AbstractManagedRepositoriesAction
index 80d67582cee605ba756df5cff04b7d73ea14eb62..d4df22917aabf4ead645159854cdd4cba2ea5827 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
-import com.opensymphony.xwork.Validateable;
+import com.opensymphony.xwork2.Preparable;
+import com.opensymphony.xwork2.Validateable;
 
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
@@ -34,7 +34,7 @@ import java.io.IOException;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="addRemoteRepositoryAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="addRemoteRepositoryAction"
  */
 public class AddRemoteRepositoryAction
     extends AbstractRemoteRepositoriesAction
index 79b5c8d78ecf3ac2c0f6c87c6d75c66dfae72aea..3bb840035e5326a50436422f2ad69d4f3a3d94b2 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -48,7 +48,7 @@ import java.util.Map;
  * 
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="deleteManagedRepositoryAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="deleteManagedRepositoryAction"
  */
 public class DeleteManagedRepositoryAction
     extends AbstractManagedRepositoriesAction
index c63996b5fc28340f16cd9884ee11b1b37059b80e..4b3d95aa4b15222ef6eb2c6975f5f8575f594ef3 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -34,7 +34,7 @@ import java.util.List;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="deleteRemoteRepositoryAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="deleteRemoteRepositoryAction"
  */
 public class DeleteRemoteRepositoryAction
     extends AbstractRemoteRepositoriesAction
index 653a29318d45c2b372d01bb64f1afce8d2c15ed3..c4683676c8797829c478d9d18d0c4eb872642708 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -30,7 +30,7 @@ import org.apache.maven.archiva.configuration.RepositoryGroupConfiguration;
  * 
  * @author
  * @version
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="deleteRepositoryGroupAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="deleteRepositoryGroupAction"
  */
 public class DeleteRepositoryGroupAction 
     extends AbstractRepositoriesAdminAction
index 86817bab669756e5e9806ccf6b62a005cc63bb25..52c85f9426b70aa278f26bf39e4f8409ae7e0d8e 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
-import com.opensymphony.xwork.Validateable;
+import com.opensymphony.xwork2.Preparable;
+import com.opensymphony.xwork2.Validateable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -37,7 +37,7 @@ import java.io.IOException;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="editManagedRepositoryAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="editManagedRepositoryAction"
  */
 public class EditManagedRepositoryAction
     extends AbstractManagedRepositoriesAction
index abcb8d77534b363ed6acbc27fc1d0dd02ddbe23c..148edc150a802a6054d878321bf318f88d478409 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -34,7 +34,7 @@ import java.io.IOException;
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
  * 
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="editRemoteRepositoryAction" 
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="editRemoteRepositoryAction" 
  */
 public class EditRemoteRepositoryAction
     extends AbstractRemoteRepositoriesAction
index 3dda6d7d52b8a378e134334e33d447dcdaca5a70..20d7d54b836a1c5a09357a5e8592c8a059baa8cb 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.webwork.interceptor.ServletRequestAware;
-import com.opensymphony.xwork.Preparable;
+import org.apache.struts2.interceptor.ServletRequestAware;
+import com.opensymphony.xwork2.Preparable;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
@@ -31,11 +31,11 @@ import org.apache.maven.archiva.database.constraints.MostRecentRepositoryScanSta
 import org.apache.maven.archiva.model.RepositoryContentStatistics;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.apache.maven.archiva.web.util.ContextUtils;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 
 import javax.servlet.http.HttpServletRequest;
 import java.util.ArrayList;
@@ -49,7 +49,7 @@ import java.util.Map;
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="repositoriesAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="repositoriesAction"
  */
 public class RepositoriesAction
     extends PlexusActionSupport
index d1109d12a96d7e6ef8631ac8afee1f2de65963e6..ba16ef6f6db6315bd54f5b686f9bd7e009ac0afd 100644 (file)
@@ -26,8 +26,8 @@ import java.util.regex.Pattern;
 
 import javax.servlet.http.HttpServletRequest;
 
-import com.opensymphony.webwork.interceptor.ServletRequestAware;
-import com.opensymphony.xwork.Preparable;
+import org.apache.struts2.interceptor.ServletRequestAware;
+import com.opensymphony.xwork2.Preparable;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -40,7 +40,7 @@ import org.apache.maven.archiva.web.util.ContextUtils;
  * 
  * @author
  * @version
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="repositoryGroupsAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="repositoryGroupsAction"
  */
 public class RepositoryGroupsAction
     extends AbstractRepositoriesAdminAction
index 4ac5c3ddca9653d26eba764aa783e3328359157d..6c58f70f020f4cb6415a83283f9132d5a89a6a1f 100644 (file)
@@ -30,7 +30,7 @@ import org.apache.maven.archiva.configuration.RepositoryGroupConfiguration;
  * 
  * @author
  * @version
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="sortRepositoriesAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="sortRepositoriesAction"
  */
 public class SortRepositoriesAction 
     extends AbstractRepositoriesAdminAction
index 0fb82401b842c77138315281021b7dadc3c9c57a..b79ffb7d4e1d7e4fd7f790c8657c806011fae9ba 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.admin.scanning;
  * under the License.
  */
 
-import com.opensymphony.xwork.Preparable;
-import com.opensymphony.xwork.Validateable;
+import com.opensymphony.xwork2.Preparable;
+import com.opensymphony.xwork2.Validateable;
 import org.apache.commons.collections.CollectionUtils;
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
@@ -32,12 +32,13 @@ import org.apache.maven.archiva.configuration.functors.FiletypeSelectionPredicat
 import org.apache.maven.archiva.configuration.functors.FiletypeToMapClosure;
 import org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
+
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
 
 import java.util.ArrayList;
 import java.util.Collections;
@@ -49,7 +50,7 @@ import java.util.Map;
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="repositoryScanningAction"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="repositoryScanningAction"
  */
 public class RepositoryScanningAction
     extends PlexusActionSupport
index 747ec98028631badb89f88522d0a9a78f28dc10e..e65f3a1818defd63ee59d283b4557f182ee0befe 100644 (file)
@@ -19,8 +19,8 @@ package org.apache.maven.archiva.web.action.reports;
  * under the License.
  */
 
-import com.opensymphony.webwork.interceptor.ServletRequestAware;
-import com.opensymphony.xwork.Preparable;
+import org.apache.struts2.interceptor.ServletRequestAware;
+import com.opensymphony.xwork2.Preparable;
 import org.apache.maven.archiva.database.ArchivaDAO;
 import org.apache.maven.archiva.database.Constraint;
 import org.apache.maven.archiva.database.constraints.RangeConstraint;
@@ -31,11 +31,11 @@ import org.apache.maven.archiva.database.constraints.UniqueFieldConstraint;
 import org.apache.maven.archiva.model.RepositoryProblem;
 import org.apache.maven.archiva.model.RepositoryProblemReport;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
+import org.apache.maven.archiva.web.action.PlexusActionSupport;
 import org.codehaus.plexus.redback.rbac.Resource;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureAction;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
-import org.codehaus.plexus.xwork.action.PlexusActionSupport;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureAction;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 
 import javax.servlet.http.HttpServletRequest;
 import java.util.ArrayList;
@@ -45,7 +45,7 @@ import java.util.Map;
 import java.util.TreeMap;
 
 /**
- * @plexus.component role="com.opensymphony.xwork.Action" role-hint="generateReport"
+ * @plexus.component role="com.opensymphony.xwork2.Action" role-hint="generateReport"
  */
 public class GenerateReportAction
     extends PlexusActionSupport
index 0ab429965eb8069ba8de5d86bc09f2ac8ccfb379..fb28d561c6f27fb27ad9f081e9ce324906e19837 100644 (file)
@@ -19,9 +19,9 @@ package org.apache.maven.archiva.web.interceptor;
  * under the License.
  */
 
-import com.opensymphony.webwork.ServletActionContext;
-import com.opensymphony.xwork.ActionInvocation;
-import com.opensymphony.xwork.interceptor.Interceptor;
+import org.apache.struts2.ServletActionContext;
+import com.opensymphony.xwork2.ActionInvocation;
+import com.opensymphony.xwork2.interceptor.Interceptor;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 
 import javax.servlet.ServletContext;
@@ -30,7 +30,7 @@ import javax.servlet.ServletContext;
  * An interceptor that makes the configuration bits available, both to the application and the webapp
  *
  * @author <a href="mailto:brett@apache.org">Brett Porter</a>
- * @plexus.component role="com.opensymphony.xwork.interceptor.Interceptor"
+ * @plexus.component role="com.opensymphony.xwork2.interceptor.Interceptor"
  * role-hint="configurationInterceptor"
  */
 public class ConfigurationInterceptor
index 37e657baaabcc99e22236dff0d0840fc3319abfa..8de843892be97a401b71e30a845b3b39a1be66ea 100644 (file)
@@ -19,8 +19,9 @@ package org.apache.maven.archiva.web.mapper;
  * under the License.
  */
 
-import com.opensymphony.webwork.dispatcher.mapper.ActionMapping;
-import com.opensymphony.webwork.dispatcher.mapper.DefaultActionMapper;
+import com.opensymphony.xwork2.config.ConfigurationManager;
+import org.apache.struts2.dispatcher.mapper.ActionMapping;
+import org.apache.struts2.dispatcher.mapper.DefaultActionMapper;
 
 import org.apache.commons.lang.StringUtils;
 
@@ -69,7 +70,7 @@ public class RepositoryActionMapper
 
     private static final String PARAM_VERSION = "version";
 
-    public ActionMapping getMapping( HttpServletRequest httpServletRequest )
+    public ActionMapping getMapping( HttpServletRequest httpServletRequest, ConfigurationManager manager )
     {
         String path = httpServletRequest.getServletPath();
 
@@ -141,9 +142,10 @@ public class RepositoryActionMapper
             }
         }
 
-        return super.getMapping( httpServletRequest );
+        return super.getMapping( httpServletRequest, manager );
     }
 
+    @Override
     public String getUriFromActionMapping( ActionMapping actionMapping )
     {
         Map params = actionMapping.getParams();
index 89570523a9ffec0f097bdebfb3477707111f12ca..d047eaf65d53e69b35681e216c59893a76da615b 100644 (file)
@@ -52,7 +52,7 @@ import org.codehaus.plexus.redback.policy.AccountLockedException;
 import org.codehaus.plexus.redback.policy.MustChangePasswordException;
 import org.codehaus.plexus.redback.system.SecuritySession;
 import org.codehaus.plexus.redback.users.UserNotFoundException;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
+import org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator;
 import org.codehaus.plexus.spring.PlexusToSpringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 7f6fe606fdd1dc0347c163dd6d586c005158e5b5..8db3606326f8ddb9e43299e421775546c70750a7 100644 (file)
@@ -19,10 +19,11 @@ package org.apache.maven.archiva.web.tags;
  * under the License.
  */
 
-import com.opensymphony.webwork.WebWorkException;
-import com.opensymphony.webwork.components.Component;
-import com.opensymphony.xwork.util.OgnlValueStack;
+import org.apache.struts2.StrutsException;
+import org.apache.struts2.components.Component;
+import com.opensymphony.xwork2.util.OgnlValueStack;
 
+import com.opensymphony.xwork2.util.ValueStack;
 import org.apache.commons.lang.StringEscapeUtils;
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.database.ArchivaDAO;
@@ -51,7 +52,7 @@ import javax.servlet.jsp.PageContext;
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * @plexus.component role="com.opensymphony.webwork.components.Component" role-hint="download-artifact"
+ * @plexus.component role="org.apache.struts2.components.Component" role-hint="download-artifact"
  * instantiation-strategy="per-lookup"
  */
 public class DownloadArtifact
@@ -82,7 +83,7 @@ public class DownloadArtifact
 
     private DecimalFormat decimalFormat;
 
-    public DownloadArtifact( OgnlValueStack stack, PageContext pageContext )
+    public DownloadArtifact( ValueStack stack, PageContext pageContext )
     {
         super( stack );
         decimalFormat = new DecimalFormat( "#,#00" );
@@ -100,6 +101,7 @@ public class DownloadArtifact
         }
     }
 
+    @Override
     public boolean end( Writer writer, String body )
     {
         StringBuffer sb = new StringBuffer();
@@ -151,7 +153,7 @@ public class DownloadArtifact
         }
         catch ( IOException e )
         {
-            throw new WebWorkException( "IOError: " + e.getMessage(), e );
+            throw new StrutsException( "IOError: " + e.getMessage(), e );
         }
 
         return super.end( writer, body );
index 21aaa982f753e9be07da204a14257db029e63c2f..9b372cf5ef6eea4fb7653989f8aebebe4599e477 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.tags;
  * under the License.
  */
 
-import com.opensymphony.webwork.views.jsp.TagUtils;
+import org.apache.struts2.views.jsp.TagUtils;
 
 import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.tagext.TagSupport;
index 37871480cfb84b66f786e328918acbc9f0b7c029..6593e16399811afc1716469db1ec6a46a064e962 100644 (file)
@@ -19,10 +19,10 @@ package org.apache.maven.archiva.web.tags;
  * under the License.
  */
 
-import com.opensymphony.webwork.WebWorkException;
-import com.opensymphony.webwork.components.Component;
-import com.opensymphony.xwork.util.OgnlValueStack;
+import org.apache.struts2.StrutsException;
+import org.apache.struts2.components.Component;
 
+import com.opensymphony.xwork2.util.ValueStack;
 import java.io.IOException;
 import java.io.Writer;
 import java.util.StringTokenizer;
@@ -57,13 +57,14 @@ public class GroupIdLink
 
     private boolean includeTop = false;
 
-    public GroupIdLink( OgnlValueStack stack, HttpServletRequest req, HttpServletResponse res )
+    public GroupIdLink( ValueStack stack, HttpServletRequest req, HttpServletResponse res )
     {
         super( stack );
         this.req = req;
         this.res = res;
     }
 
+    @Override
     public boolean end( Writer writer, String body )
     {
         StringBuffer sb = new StringBuffer();
@@ -105,7 +106,7 @@ public class GroupIdLink
         }
         catch ( IOException e )
         {
-            throw new WebWorkException( "IOError: " + e.getMessage(), e );
+            throw new StrutsException( "IOError: " + e.getMessage(), e );
         }
 
         return super.end( writer, body );
@@ -113,16 +114,14 @@ public class GroupIdLink
 
     private String determineBrowseActionUrl()
     {
-        return determineActionURL( "browse", NAMESPACE, method, req, res, parameters, req.getScheme(), includeContext,
-                                   encode, true );
+        return determineActionURL( "browse", NAMESPACE, method, req, res, parameters, req.getScheme(), includeContext, encode );
     }
 
     private String determineBrowseGroupActionUrl( String gid )
     {
         parameters.put( "groupId", gid );
 
-        return determineActionURL( ACTION, NAMESPACE, method, req, res, parameters, req.getScheme(), includeContext,
-                                   encode, true );
+        return determineActionURL( ACTION, NAMESPACE, method, req, res, parameters, req.getScheme(), includeContext, encode );
     }
 
     public String getGroupId()
index ec42b8bbec0cba3215b9ab9db74d8166dc96fc90..39a8d0f407d8a66daf137b32e2dd0798c9caf8a2 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.tags;
  * under the License.
  */
 
-import com.opensymphony.webwork.views.jsp.TagUtils;
+import org.apache.struts2.views.jsp.TagUtils;
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -41,6 +41,7 @@ public class GroupIdLinkTag
 
     private boolean includeTop = false;
 
+    @Override
     public void release()
     {
         var_ = null;
@@ -50,6 +51,7 @@ public class GroupIdLinkTag
         super.release();
     }
 
+    @Override
     public int doEndTag()
         throws JspException
     {
index 86464e59de3cbb29269a7afbb7775566615efa84..f8cce8d4a63dc861378cd9a3d3d905b4f0bf39d8 100644 (file)
@@ -19,9 +19,9 @@ package org.apache.maven.archiva.web.validator;
  * under the License.
  */
 
-import com.opensymphony.xwork.validator.ValidationException;
-import com.opensymphony.xwork.validator.ValidatorContext;
-import com.opensymphony.xwork.validator.validators.FieldValidatorSupport;
+import com.opensymphony.xwork2.validator.ValidationException;
+import com.opensymphony.xwork2.validator.ValidatorContext;
+import com.opensymphony.xwork2.validator.validators.FieldValidatorSupport;
 
 /**
  * Reused from Continuum crontab validator
@@ -44,4 +44,4 @@ public class CronExpressionValidator
             return;
         }
     }
-}
\ No newline at end of file
+}
index 628caa8a0f096fe1bb1780f7792fc1ec68ddc981..0c08e56b956db81a6a31abc9088bcbd33072e6ff 100644 (file)
@@ -19,9 +19,9 @@ package org.apache.maven.archiva.web.validator;
  * under the License.
  */
 
-import com.opensymphony.xwork.validator.ValidationException;
-import com.opensymphony.xwork.validator.ValidatorContext;
-import com.opensymphony.xwork.validator.validators.ValidatorSupport;
+import com.opensymphony.xwork2.validator.ValidationException;
+import com.opensymphony.xwork2.validator.ValidatorContext;
+import com.opensymphony.xwork2.validator.validators.ValidatorSupport;
 
 /**
  * @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
index d97a9e2c447666cc5bc4fd2433b92b553dbd2d89..49ebc6eef7ae62cae4e435da1db1551c89138402 100644 (file)
@@ -19,9 +19,9 @@ package org.apache.maven.archiva.web.validator;
  * under the License.
  */
 
-import com.opensymphony.xwork.validator.ValidationException;
-import com.opensymphony.xwork.validator.ValidatorContext;
-import com.opensymphony.xwork.validator.validators.ValidatorSupport;
+import com.opensymphony.xwork2.validator.ValidationException;
+import com.opensymphony.xwork2.validator.ValidatorContext;
+import com.opensymphony.xwork2.validator.validators.ValidatorSupport;
 
 /**
  * Validator for synced repository form. The values to be validated depends on the
index 22ad7d1ac2067e0971cf3890d5e027b0526c475f..bfa05c10acacfc619b2cc18b2f101cc48677b909 100644 (file)
     <component>
       <role>org.codehaus.plexus.redback.system.check.EnvironmentCheck</role>
       <role-hint>locked-admin-check</role-hint>
-      <implementation>org.codehaus.plexus.redback.xwork.checks.security.LockedAdminEnvironmentCheck</implementation>
+      <implementation>org.codehaus.plexus.redback.struts2.checks.security.LockedAdminEnvironmentCheck</implementation>
       <description>LockedAdminEnvironmentCheck: checks if accounts marked as system administrator are locked
         and unlocks them on startup.
       </description>
index 19bb543318499503a6a903437d3afbe2ee82e9fc..1f6339e27d22339d145c5bbd27851bfd2038316a 100644 (file)
     <appender-ref ref="rolling" />
   </logger>
 
-  <logger name="com.opensymphony.xwork">
+  <logger name="com.opensymphony.xwork2">
     <level value="info"/>
     <appender-ref ref="rolling" />
   </logger>
 
-  <logger name="com.opensymphony.webwork">
+  <logger name="org.apache.struts2">
     <level value="info"/>
     <appender-ref ref="rolling" />
   </logger>
diff --git a/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties b/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties
new file mode 100644 (file)
index 0000000..524cdb3
--- /dev/null
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# define our own action mapper here
+struts.mapper.class = org.apache.maven.archiva.web.mapper.RepositoryActionMapper
+struts.objectFactory =  org.codehaus.plexus.spring.Struts2PlexusInSpringObjectFactory
+struts.url.includeParams = none
+
+struts.devMode = true
+struts.multipart.parser=jakarta
+
+# TODO: package up a theme and share with Continuum. Should contain everything from xhtml, and set templateDir to WEB-INF/themes
+
+# Localization
+struts.custom.i18n.resources=org.codehaus.plexus.redback.xwork.default,org.apache.maven.archiva.redback.custom
diff --git a/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml b/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml
new file mode 100644 (file)
index 0000000..18d941f
--- /dev/null
@@ -0,0 +1,515 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration//EN"
+    "http://struts.apache.org/dtds/struts-2.0.dtd"> 
+
+<struts>
+  <!-- Include plexus-security xwork configurations. -->
+  <include file="struts-security.xml"/>
+
+  <package name="base" extends="struts-default">
+    <interceptors>
+      <interceptor name="configuration" class="configurationInterceptor"/>
+      <interceptor name="redbackForceAdminUser" class="redbackForceAdminUserInterceptor"/>
+      <interceptor name="redbackSecureActions" class="redbackSecureActionInterceptor"/>
+      <interceptor name="redbackAutoLogin" class="redbackAutoLoginInterceptor"/>
+      <interceptor name="redbackPolicyEnforcement" class="redbackPolicyEnforcementInterceptor"/>
+      <interceptor name="paramFilter" class="com.opensymphony.xwork2.interceptor.ParameterFilterInterceptor"/>
+
+      <interceptor-stack name="configuredArchivaStack">
+        <interceptor-ref name="redbackForceAdminUser"/>
+        <interceptor-ref name="redbackAutoLogin"/>
+        <interceptor-ref name="defaultStack"/>
+        <interceptor-ref name="paramFilter">
+          <param name="blocked">externalResult</param>
+        </interceptor-ref>
+        <interceptor-ref name="redbackSecureActions"/>
+        <interceptor-ref name="redbackPolicyEnforcement"/>
+        <interceptor-ref name="configuration"/>
+        <interceptor-ref name="validation">
+          <param name="excludeMethods">input,back,cancel,browse</param>
+        </interceptor-ref>
+        <interceptor-ref name="workflow">
+          <param name="excludeMethods">input,back,cancel,browse</param>
+        </interceptor-ref>
+      </interceptor-stack>
+
+      <interceptor-stack name="unconfiguredArchivaStack">
+        <interceptor-ref name="redbackForceAdminUser"/>
+        <interceptor-ref name="redbackAutoLogin"/>
+        <interceptor-ref name="defaultStack"/>
+        <interceptor-ref name="redbackPolicyEnforcement"/>
+        <interceptor-ref name="redbackSecureActions"/>
+        <interceptor-ref name="validation">
+          <param name="excludeMethods">input,back,cancel,browse</param>
+        </interceptor-ref>
+        <interceptor-ref name="workflow">
+          <param name="excludeMethods">input,back,cancel,browse</param>
+        </interceptor-ref>
+      </interceptor-stack>
+
+      <interceptor-stack name="configuredPrepareParamsStack">
+        <!-- <interceptor-ref name="prepare" /> -->
+        <interceptor-ref name="params"/>
+        <interceptor-ref name="configuredArchivaStack"/>
+      </interceptor-stack>
+    </interceptors>
+
+    <!-- Default interceptor stack. -->
+    <default-interceptor-ref name="configuredArchivaStack"/>
+
+    <global-results>
+      <!-- The following security-* result names arrive from the plexus-security package -->
+
+      <result name="security-login-success" type="redirect-action">index</result>
+      <result name="security-login-cancel" type="redirect-action">index</result>
+      <result name="security-login-locked" type="redirect-action">
+        <param name="infoMessage">Account Locked</param>
+        <param name="actionName">index</param>
+      </result>
+      <result name="security-logout" type="redirect-action">index</result>
+      <result name="requires-authentication" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="requires-authorization" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-register-success" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-register-cancel" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-account-success" type="redirect-action">index</result>
+      <result name="security-account-cancel" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-admin-user-created" type="redirect-action">
+        <param name="actionName">login</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-admin-user-needed" type="redirect-action">
+        <param name="actionName">addadmin</param>
+        <param name="namespace">/security</param>
+      </result>
+      <result name="security-must-change-password" type="redirect-action">
+        <param name="actionName">password</param>
+        <param name="namespace">/security</param>
+      </result>
+
+      <!-- Generic Catchall for those action configurations that forget to
+           include a result for 'error' -->
+      <result name="error">/WEB-INF/jsp/generalError.jsp</result>
+      <result name="access_to_no_repos">/WEB-INF/jsp/accessToNoRepos.jsp</result>
+    </global-results>
+  </package>
+  
+  <!-- Configuration for the default package. -->
+  <package name="default" extends="base" namespace="/">
+
+    <!-- This is the redirection facility for plexus-security,
+         allowing plexus-security to call out from its own set of actions
+         into the application webapp, using global result names. -->
+    <action name="redbackRedirect" class="redback-redirect" method="redirect">
+      <result type="redirect-action">browse</result>
+    </action>
+
+    <action name="index" class="searchAction" method="input">
+      <result name="input">/WEB-INF/jsp/quickSearch.jsp</result>
+    </action>
+
+    <action name="advancedSearch" class="searchAction" method="input">
+      <result name="input">/WEB-INF/jsp/advancedSearch.jsp</result>
+    </action>
+
+    <action name="filteredSearch" class="searchAction" method="filteredSearch">
+      <result name="input">/WEB-INF/jsp/advancedSearch.jsp</result>
+      <result>/WEB-INF/jsp/results.jsp</result>
+      <result name="error">/WEB-INF/jsp/quickSearch.jsp</result>
+    </action>
+       
+    <action name="quickSearch" class="searchAction" method="quickSearch">
+      <result name="input">/WEB-INF/jsp/quickSearch.jsp</result>
+      <result>/WEB-INF/jsp/results.jsp</result>
+      <result name="error">/WEB-INF/jsp/quickSearch.jsp</result>
+    </action>
+
+    <action name="findArtifact" class="searchAction" method="input">
+      <result name="input">/WEB-INF/jsp/findArtifact.jsp</result>
+    </action>
+
+       <action name="upload" class="uploadAction" method="input">      
+      <result name="input">/WEB-INF/jsp/upload.jsp</result>
+      <result name="error">/WEB-INF/jsp/upload.jsp</result>
+      <result name="success">/WEB-INF/jsp/upload.jsp</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+      <interceptor-ref name="fileUpload"/>
+    </action>
+
+    <action name="checksumSearch" class="searchAction" method="findArtifact">
+      <result name="input">/WEB-INF/jsp/findArtifact.jsp</result>
+      <result name="results">/WEB-INF/jsp/results.jsp</result>
+      <result name="error">/WEB-INF/jsp/findArtifact.jsp</result>
+      <result name="artifact" type="redirect">
+        /browse/${databaseResults.get(0).getGroupId()}/${databaseResults.get(0).getArtifactId()}/${databaseResults.get(0).getVersion()}
+      </result>
+    </action>    
+
+    <action name="browse" class="browseAction" method="browse">
+      <result>/WEB-INF/jsp/browse.jsp</result>
+    </action>
+
+    <action name="browseGroup" class="browseAction" method="browseGroup">
+      <result>/WEB-INF/jsp/browse.jsp</result>
+    </action>
+
+    <action name="browseArtifact" class="browseAction" method="browseArtifact">
+      <result>/WEB-INF/jsp/browse.jsp</result>
+    </action>
+
+    <action name="showArtifact" class="showArtifactAction" method="artifact">
+      <result name="error">/WEB-INF/jsp/generalError.jsp</result>
+      <result name="success">/WEB-INF/jsp/showArtifact.jsp</result>
+    </action>
+
+    <action name="showArtifactMailingLists" class="showArtifactAction" method="mailingLists">
+      <result>/WEB-INF/jsp/showArtifact.jsp</result>
+    </action>
+
+    <action name="showArtifactReports" class="showArtifactAction" method="reports">
+      <result>/WEB-INF/jsp/showArtifact.jsp</result>
+    </action>
+
+    <action name="showArtifactDependencies" class="showArtifactAction" method="dependencies">
+      <result>/WEB-INF/jsp/showArtifact.jsp</result>
+    </action>
+
+    <action name="showArtifactDependees" class="showArtifactAction" method="dependees">
+      <result>/WEB-INF/jsp/showArtifact.jsp</result>
+    </action>
+
+    <action name="showArtifactDependencyTree" class="showArtifactAction" method="dependencyTree">
+      <result>/WEB-INF/jsp/artifact/dependencyTree.jsp</result>
+    </action>
+
+  </package>
+
+  <package name="components" namespace="/components" extends="struts-default">
+    <default-interceptor-ref name="basicStack"/>
+    <action name="companyInfo" class="organisationInfo">
+      <result>/WEB-INF/jsp/components/companyLogo.jsp</result>
+    </action>
+  </package>
+
+  <!-- Configuration for the admin package. -->
+  <package name="admin" namespace="/admin" extends="base">
+
+    <action name="index" class="repositoriesAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/repositories.jsp</result>
+    </action>
+    
+    <!-- .\ REPOSITORY GROUPS \._______________________________________ -->
+    
+    <action name="repositoryGroups" class="repositoryGroupsAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+    </action>
+    
+    <action name="addRepositoryGroup" class="repositoryGroupsAction" method="addRepositoryGroup">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+    
+    <action name="confirmDeleteRepositoryGroup" class="deleteRepositoryGroupAction" method="confirmDelete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+    
+    <action name="deleteRepositoryGroup" class="deleteRepositoryGroupAction" method="delete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+       
+    <action name="addRepositoryToGroup" class="repositoryGroupsAction" method="addRepositoryToGroup">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+       
+    <action name="removeRepositoryFromGroup" class="repositoryGroupsAction" method="removeRepositoryFromGroup">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+       
+    <action name="sortDownRepositoryFromGroup" class="sortRepositoriesAction" method="sortDown">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+       
+    <action name="sortUpRepositoryFromGroup" class="sortRepositoriesAction" method="sortUp">
+      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
+      <result name="success" type="redirect-action">repositoryGroups</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <!-- .\ REPOSITORIES \.____________________________________________ -->
+
+    <action name="repositories" class="repositoriesAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/repositories.jsp</result>
+      <result name="confirm" type="redirect-action">deleteRepository</result>
+    </action>
+
+    <action name="indexRepository" class="schedulerAction" method="scanRepository">
+      <result type="redirect-action">repositories</result>
+    </action>
+    
+    <action name="addRepository" class="addManagedRepositoryAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/addRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/addRepository.jsp</result>
+      <result name="confirm">/WEB-INF/jsp/admin/confirmAddRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="editRepository" class="editManagedRepositoryAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/editRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/editRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <result name="confirm">/WEB-INF/jsp/admin/confirmAddRepository.jsp</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="confirmDeleteRepository" class="deleteManagedRepositoryAction" method="confirmDelete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="deleteRepository" class="deleteManagedRepositoryAction" method="delete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="addRemoteRepository" class="addRemoteRepositoryAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/addRemoteRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/addRemoteRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="editRemoteRepository" class="editRemoteRepositoryAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/editRemoteRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/editRemoteRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="confirmDeleteRemoteRepository" class="deleteRemoteRepositoryAction" method="confirmDelete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="deleteRemoteRepository" class="deleteRemoteRepositoryAction" method="delete">
+      <result name="input">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
+      <result name="success" type="redirect-action">repositories</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <!-- .\ PROXY CONNECTORS \.________________________________________ -->
+
+    <action name="proxyConnectors" class="proxyConnectorsAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/proxyConnectors.jsp</result>
+    </action>
+
+    <action name="addProxyConnector" class="addProxyConnectorAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/addProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="editProxyConnector" class="editProxyConnectorAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="sortUpProxyConnector" class="sortProxyConnectorsAction" method="sortUp">
+      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="sortDownProxyConnector" class="sortProxyConnectorsAction" method="sortDown">
+      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="deleteProxyConnector" class="deleteProxyConnectorAction" method="confirm">
+      <result name="input">/WEB-INF/jsp/admin/deleteProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+    
+    <action name="enableProxyConnector" class="enableProxyConnectorAction" method="confirm">
+      <result name="input">/WEB-INF/jsp/admin/enableProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="disableProxyConnector" class="disableProxyConnectorAction" method="confirm">
+      <result name="input">/WEB-INF/jsp/admin/disableProxyConnector.jsp</result>
+      <result name="success" type="redirect-action">proxyConnectors</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+
+    <!-- .\ NETWORK PROXIES \._________________________________________ -->
+
+    <action name="networkProxies" class="networkProxiesAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/networkProxies.jsp</result>
+    </action>
+
+    <action name="addNetworkProxy" class="configureNetworkProxyAction" method="add">
+      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
+      <result name="success" type="redirect-action">networkProxies</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="editNetworkProxy" class="configureNetworkProxyAction" method="edit">
+      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
+      <result name="success" type="redirect-action">networkProxies</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="saveNetworkProxy" class="configureNetworkProxyAction" method="save">
+      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
+      <result name="success" type="redirect-action">networkProxies</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="deleteNetworkProxy" class="configureNetworkProxyAction" method="confirm">
+      <result name="input">/WEB-INF/jsp/admin/deleteNetworkProxy.jsp</result>
+      <result name="success" type="redirect-action">networkProxies</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <!-- .\ REPOSITORY SCANNING \._____________________________________ -->
+
+    <action name="repositoryScanning" class="repositoryScanningAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/repositoryScanning.jsp</result>
+      <result name="success" type="redirect-action">
+        <param name="actionName">repositoryScanning</param>
+      </result>
+    </action>
+
+    <!-- .\ DATABASE \.________________________________________________ -->
+
+    <action name="database" class="databaseAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/database.jsp</result>
+      <result name="success" type="redirect-action">
+        <param name="actionName">database</param>
+      </result>
+    </action>
+
+    <action name="updateDatabase" class="schedulerAction" method="updateDatabase">
+      <result type="redirect-action">database</result>
+    </action>
+
+    <!-- .\ CONFIGURATION \.___________________________________________ -->
+
+    <action name="configureAppearance" class="organisationInfo">
+      <result name="success">/WEB-INF/jsp/admin/appearance.jsp</result>
+    </action>
+
+    <action name="editAppearance" class="editOrganisationInfo" method="input">
+      <result name="input">/WEB-INF/jsp/admin/editAppearance.jsp</result>
+    </action>
+
+    <action name="saveAppearance" class="editOrganisationInfo">
+      <result name="input">/WEB-INF/jsp/admin/editAppearance.jsp</result>
+      <result type="redirect-action">
+        <param name="actionName">configureAppearance</param>
+        <param name="namespace">/admin</param>
+      </result>
+    </action>
+
+    <!-- .\ LEGACY SUPPORT \.__________________________________________ -->
+
+    <action name="legacyArtifactPath" class="legacyArtifactPathAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
+      <result name="success" type="redirect-action">
+        <param name="actionName">legacyArtifactPath</param>
+      </result>
+    </action>
+
+    <action name="addLegacyArtifactPath" class="addLegacyArtifactPathAction" method="input">
+      <result name="input">/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp</result>
+      <result name="success" type="redirect-action">legacyArtifactPath</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+    <action name="deleteLegacyArtifactPath" class="deleteLegacyArtifactPathAction" method="delete">
+      <result name="input">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
+      <result name="error">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
+      <result name="success" type="redirect-action">legacyArtifactPath</result>
+      <interceptor-ref name="configuredPrepareParamsStack"/>
+    </action>
+
+  </package>
+
+<!--
+  <package name="report" namespace="/report" extends="base">
+    <action name="pickReport" class="generateReport" method="input">
+      <result name="input">/WEB-INF/jsp/reports/pickReport.jsp</result>
+    </action>
+
+    <action name="generateReport" class="generateReport">
+      <result name="jasper" type="jasper">
+        <param name="location">/WEB-INF/jasperreports/report.jasper</param>
+        <param name="dataSource">reports</param>
+        <param name="format">HTML</param>
+      </result>
+      <result name="input">/WEB-INF/jsp/reports/pickReport.jsp</result>
+      <result name="blank">/WEB-INF/jsp/reports/blankReport.jsp</result>
+      <result>/WEB-INF/jsp/reports/basicReport.jsp</result>
+    </action>
+  </package>
+  -->
+</struts>
+
index c05423ec7b9a740bc042ee93585ce0e4436691f3..65b4ca2c322543166829d2189f27c591c61364bb 100644 (file)
   -->
 
 <validators>
-  <validator name="required" class="com.opensymphony.xwork.validator.validators.RequiredFieldValidator"/>
-  <validator name="requiredstring" class="com.opensymphony.xwork.validator.validators.RequiredStringValidator"/>
-  <validator name="int" class="com.opensymphony.xwork.validator.validators.IntRangeFieldValidator"/>
-  <validator name="double" class="com.opensymphony.xwork.validator.validators.DoubleRangeFieldValidator"/>
-  <validator name="date" class="com.opensymphony.xwork.validator.validators.DateRangeFieldValidator"/>
-  <validator name="expression" class="com.opensymphony.xwork.validator.validators.ExpressionValidator"/>
-  <validator name="fieldexpression" class="com.opensymphony.xwork.validator.validators.FieldExpressionValidator"/>
-  <validator name="email" class="com.opensymphony.xwork.validator.validators.EmailValidator"/>
-  <validator name="url" class="com.opensymphony.xwork.validator.validators.URLValidator"/>
-  <validator name="visitor" class="com.opensymphony.xwork.validator.validators.VisitorFieldValidator"/>
-  <validator name="conversion" class="com.opensymphony.xwork.validator.validators.ConversionErrorFieldValidator"/>
-  <validator name="stringlength" class="com.opensymphony.xwork.validator.validators.StringLengthFieldValidator"/>
-  <validator name="regex" class="com.opensymphony.xwork.validator.validators.RegexFieldValidator"/>
+  <validator name="required" class="com.opensymphony.xwork2.validator.validators.RequiredFieldValidator"/>
+  <validator name="requiredstring" class="com.opensymphony.xwork2.validator.validators.RequiredStringValidator"/>
+  <validator name="int" class="com.opensymphony.xwork2.validator.validators.IntRangeFieldValidator"/>
+  <validator name="double" class="com.opensymphony.xwork2.validator.validators.DoubleRangeFieldValidator"/>
+  <validator name="date" class="com.opensymphony.xwork2.validator.validators.DateRangeFieldValidator"/>
+  <validator name="expression" class="com.opensymphony.xwork2.validator.validators.ExpressionValidator"/>
+  <validator name="fieldexpression" class="com.opensymphony.xwork2.validator.validators.FieldExpressionValidator"/>
+  <validator name="email" class="com.opensymphony.xwork2.validator.validators.EmailValidator"/>
+  <validator name="url" class="com.opensymphony.xwork2.validator.validators.URLValidator"/>
+  <validator name="visitor" class="com.opensymphony.xwork2.validator.validators.VisitorFieldValidator"/>
+  <validator name="conversion" class="com.opensymphony.xwork2.validator.validators.ConversionErrorFieldValidator"/>
+  <validator name="stringlength" class="com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator"/>
+  <validator name="regex" class="com.opensymphony.xwork2.validator.validators.RegexFieldValidator"/>
   <validator name="interval" class="org.apache.maven.archiva.web.validator.IntervalValidator"/>
   <validator name="syncedrepo" class="org.apache.maven.archiva.web.validator.SyncedRepositoryValidator"/>
   <validator name="crontab" class="org.apache.maven.archiva.web.validator.CronExpressionValidator"/>
diff --git a/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/webwork.properties b/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/webwork.properties
deleted file mode 100644 (file)
index 1ad77fc..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# define our own action mapper here
-webwork.mapper.class = org.apache.maven.archiva.web.mapper.RepositoryActionMapper
-webwork.objectFactory = org.codehaus.plexus.spring.WebWorkPlexusInSpringObjectFactory
-webwork.url.includeParams = none
-
-#webwork.devMode = true
-webwork.multipart.parser=jakarta
-
-# TODO: package up a theme and share with Continuum. Should contain everything from xhtml, and set templateDir to WEB-INF/themes
-
-# Localization
-webwork.custom.i18n.resources=org.codehaus.plexus.redback.xwork.default,org.apache.maven.archiva.redback.custom
diff --git a/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml b/archiva-struts2/archiva-modules/archiva-web/archiva-webapp/src/main/resources/xwork.xml
deleted file mode 100644 (file)
index 36509e1..0000000
+++ /dev/null
@@ -1,516 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~   http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-
-<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.1//EN"
-    "http://www.opensymphony.com/xwork/xwork-1.1.dtd">
-
-<xwork>
-  <!-- TODO: better error handling for exceptions needed [MRM-490] -->
-  <include file="webwork-default.xml"/>
-
-  <!-- Include plexus-security xwork configurations. -->
-  <include file="xwork-security.xml"/>
-
-  <package name="base" extends="webwork-default">
-    <interceptors>
-      <interceptor name="configuration" class="configurationInterceptor"/>
-      <interceptor name="redbackForceAdminUser" class="redbackForceAdminUserInterceptor"/>
-      <interceptor name="redbackSecureActions" class="redbackSecureActionInterceptor"/>
-      <interceptor name="redbackAutoLogin" class="redbackAutoLoginInterceptor"/>
-      <interceptor name="redbackPolicyEnforcement" class="redbackPolicyEnforcementInterceptor"/>
-      <interceptor name="paramFilter" class="com.opensymphony.xwork.interceptor.ParameterFilterInterceptor"/>
-
-      <interceptor-stack name="configuredArchivaStack">
-        <interceptor-ref name="redbackForceAdminUser"/>
-        <interceptor-ref name="redbackAutoLogin"/>
-        <interceptor-ref name="defaultStack"/>
-        <interceptor-ref name="paramFilter">
-          <param name="blocked">externalResult</param>
-        </interceptor-ref>
-        <interceptor-ref name="redbackSecureActions"/>
-        <interceptor-ref name="redbackPolicyEnforcement"/>
-        <interceptor-ref name="configuration"/>
-        <interceptor-ref name="validation">
-          <param name="excludeMethods">input,back,cancel,browse</param>
-        </interceptor-ref>
-        <interceptor-ref name="workflow">
-          <param name="excludeMethods">input,back,cancel,browse</param>
-        </interceptor-ref>
-      </interceptor-stack>
-
-      <interceptor-stack name="unconfiguredArchivaStack">
-        <interceptor-ref name="redbackForceAdminUser"/>
-        <interceptor-ref name="redbackAutoLogin"/>
-        <interceptor-ref name="defaultStack"/>
-        <interceptor-ref name="redbackPolicyEnforcement"/>
-        <interceptor-ref name="redbackSecureActions"/>
-        <interceptor-ref name="validation">
-          <param name="excludeMethods">input,back,cancel,browse</param>
-        </interceptor-ref>
-        <interceptor-ref name="workflow">
-          <param name="excludeMethods">input,back,cancel,browse</param>
-        </interceptor-ref>
-      </interceptor-stack>
-
-      <interceptor-stack name="configuredPrepareParamsStack">
-        <!-- <interceptor-ref name="prepare" /> -->
-        <interceptor-ref name="params"/>
-        <interceptor-ref name="configuredArchivaStack"/>
-      </interceptor-stack>
-    </interceptors>
-
-    <!-- Default interceptor stack. -->
-    <default-interceptor-ref name="configuredArchivaStack"/>
-
-    <global-results>
-      <!-- The following security-* result names arrive from the plexus-security package -->
-
-      <result name="security-login-success" type="redirect-action">index</result>
-      <result name="security-login-cancel" type="redirect-action">index</result>
-      <result name="security-login-locked" type="redirect-action">
-        <param name="infoMessage">Account Locked</param>
-        <param name="actionName">index</param>
-      </result>
-      <result name="security-logout" type="redirect-action">index</result>
-      <result name="requires-authentication" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="requires-authorization" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-register-success" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-register-cancel" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-account-success" type="redirect-action">index</result>
-      <result name="security-account-cancel" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-admin-user-created" type="redirect-action">
-        <param name="actionName">login</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-admin-user-needed" type="redirect-action">
-        <param name="actionName">addadmin</param>
-        <param name="namespace">/security</param>
-      </result>
-      <result name="security-must-change-password" type="redirect-action">
-        <param name="actionName">password</param>
-        <param name="namespace">/security</param>
-      </result>
-
-      <!-- Generic Catchall for those action configurations that forget to
-           include a result for 'error' -->
-      <result name="error">/WEB-INF/jsp/generalError.jsp</result>
-      <result name="access_to_no_repos">/WEB-INF/jsp/accessToNoRepos.jsp</result>
-    </global-results>
-  </package>
-  
-  <!-- Configuration for the default package. -->
-  <package name="default" extends="base" namespace="/">
-
-    <!-- This is the redirection facility for plexus-security,
-         allowing plexus-security to call out from its own set of actions
-         into the application webapp, using global result names. -->
-    <action name="redbackRedirect" class="redback-redirect" method="redirect">
-      <result type="redirect-action">browse</result>
-    </action>
-
-    <action name="index" class="searchAction" method="input">
-      <result name="input">/WEB-INF/jsp/quickSearch.jsp</result>
-    </action>
-
-    <action name="advancedSearch" class="searchAction" method="input">
-      <result name="input">/WEB-INF/jsp/advancedSearch.jsp</result>
-    </action>
-
-    <action name="filteredSearch" class="searchAction" method="filteredSearch">
-      <result name="input">/WEB-INF/jsp/advancedSearch.jsp</result>
-      <result>/WEB-INF/jsp/results.jsp</result>
-      <result name="error">/WEB-INF/jsp/quickSearch.jsp</result>
-    </action>
-       
-    <action name="quickSearch" class="searchAction" method="quickSearch">
-      <result name="input">/WEB-INF/jsp/quickSearch.jsp</result>
-      <result>/WEB-INF/jsp/results.jsp</result>
-      <result name="error">/WEB-INF/jsp/quickSearch.jsp</result>
-    </action>
-
-    <action name="findArtifact" class="searchAction" method="input">
-      <result name="input">/WEB-INF/jsp/findArtifact.jsp</result>
-    </action>
-
-       <action name="upload" class="uploadAction" method="input">      
-      <result name="input">/WEB-INF/jsp/upload.jsp</result>
-      <result name="error">/WEB-INF/jsp/upload.jsp</result>
-      <result name="success">/WEB-INF/jsp/upload.jsp</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-      <interceptor-ref name="fileUpload"/>
-    </action>
-
-    <action name="checksumSearch" class="searchAction" method="findArtifact">
-      <result name="input">/WEB-INF/jsp/findArtifact.jsp</result>
-      <result name="results">/WEB-INF/jsp/results.jsp</result>
-      <result name="error">/WEB-INF/jsp/findArtifact.jsp</result>
-      <result name="artifact" type="redirect">
-        /browse/${databaseResults.get(0).getGroupId()}/${databaseResults.get(0).getArtifactId()}/${databaseResults.get(0).getVersion()}
-      </result>
-    </action>    
-
-    <action name="browse" class="browseAction" method="browse">
-      <result>/WEB-INF/jsp/browse.jsp</result>
-    </action>
-
-    <action name="browseGroup" class="browseAction" method="browseGroup">
-      <result>/WEB-INF/jsp/browse.jsp</result>
-    </action>
-
-    <action name="browseArtifact" class="browseAction" method="browseArtifact">
-      <result>/WEB-INF/jsp/browse.jsp</result>
-    </action>
-
-    <action name="showArtifact" class="showArtifactAction" method="artifact">
-      <result name="error">/WEB-INF/jsp/generalError.jsp</result>
-      <result name="success">/WEB-INF/jsp/showArtifact.jsp</result>
-    </action>
-
-    <action name="showArtifactMailingLists" class="showArtifactAction" method="mailingLists">
-      <result>/WEB-INF/jsp/showArtifact.jsp</result>
-    </action>
-
-    <action name="showArtifactReports" class="showArtifactAction" method="reports">
-      <result>/WEB-INF/jsp/showArtifact.jsp</result>
-    </action>
-
-    <action name="showArtifactDependencies" class="showArtifactAction" method="dependencies">
-      <result>/WEB-INF/jsp/showArtifact.jsp</result>
-    </action>
-
-    <action name="showArtifactDependees" class="showArtifactAction" method="dependees">
-      <result>/WEB-INF/jsp/showArtifact.jsp</result>
-    </action>
-
-    <action name="showArtifactDependencyTree" class="showArtifactAction" method="dependencyTree">
-      <result>/WEB-INF/jsp/artifact/dependencyTree.jsp</result>
-    </action>
-
-  </package>
-
-  <package name="components" namespace="/components" extends="webwork-default">
-    <default-interceptor-ref name="basicStack"/>
-    <action name="companyInfo" class="organisationInfo">
-      <result>/WEB-INF/jsp/components/companyLogo.jsp</result>
-    </action>
-  </package>
-
-  <!-- Configuration for the admin package. -->
-  <package name="admin" namespace="/admin" extends="base">
-
-    <action name="index" class="repositoriesAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/repositories.jsp</result>
-    </action>
-    
-    <!-- .\ REPOSITORY GROUPS \._______________________________________ -->
-    
-    <action name="repositoryGroups" class="repositoryGroupsAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-    </action>
-    
-    <action name="addRepositoryGroup" class="repositoryGroupsAction" method="addRepositoryGroup">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-    
-    <action name="confirmDeleteRepositoryGroup" class="deleteRepositoryGroupAction" method="confirmDelete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-    
-    <action name="deleteRepositoryGroup" class="deleteRepositoryGroupAction" method="delete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/deleteRepositoryGroup.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-       
-    <action name="addRepositoryToGroup" class="repositoryGroupsAction" method="addRepositoryToGroup">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-       
-    <action name="removeRepositoryFromGroup" class="repositoryGroupsAction" method="removeRepositoryFromGroup">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-       
-    <action name="sortDownRepositoryFromGroup" class="sortRepositoriesAction" method="sortDown">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-       
-    <action name="sortUpRepositoryFromGroup" class="sortRepositoriesAction" method="sortUp">
-      <result name="input">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/repositoryGroups.jsp</result>
-      <result name="success" type="redirect-action">repositoryGroups</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <!-- .\ REPOSITORIES \.____________________________________________ -->
-
-    <action name="repositories" class="repositoriesAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/repositories.jsp</result>
-      <result name="confirm" type="redirect-action">deleteRepository</result>
-    </action>
-
-    <action name="indexRepository" class="schedulerAction" method="scanRepository">
-      <result type="redirect-action">repositories</result>
-    </action>
-    
-    <action name="addRepository" class="addManagedRepositoryAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/addRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/addRepository.jsp</result>
-      <result name="confirm">/WEB-INF/jsp/admin/confirmAddRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="editRepository" class="editManagedRepositoryAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/editRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/editRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <result name="confirm">/WEB-INF/jsp/admin/confirmAddRepository.jsp</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="confirmDeleteRepository" class="deleteManagedRepositoryAction" method="confirmDelete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="deleteRepository" class="deleteManagedRepositoryAction" method="delete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/deleteRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="addRemoteRepository" class="addRemoteRepositoryAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/addRemoteRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/addRemoteRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="editRemoteRepository" class="editRemoteRepositoryAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/editRemoteRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/editRemoteRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="confirmDeleteRemoteRepository" class="deleteRemoteRepositoryAction" method="confirmDelete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="deleteRemoteRepository" class="deleteRemoteRepositoryAction" method="delete">
-      <result name="input">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/deleteRemoteRepository.jsp</result>
-      <result name="success" type="redirect-action">repositories</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <!-- .\ PROXY CONNECTORS \.________________________________________ -->
-
-    <action name="proxyConnectors" class="proxyConnectorsAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/proxyConnectors.jsp</result>
-    </action>
-
-    <action name="addProxyConnector" class="addProxyConnectorAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/addProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="editProxyConnector" class="editProxyConnectorAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="sortUpProxyConnector" class="sortProxyConnectorsAction" method="sortUp">
-      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="sortDownProxyConnector" class="sortProxyConnectorsAction" method="sortDown">
-      <result name="input">/WEB-INF/jsp/admin/editProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="deleteProxyConnector" class="deleteProxyConnectorAction" method="confirm">
-      <result name="input">/WEB-INF/jsp/admin/deleteProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-    
-    <action name="enableProxyConnector" class="enableProxyConnectorAction" method="confirm">
-      <result name="input">/WEB-INF/jsp/admin/enableProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="disableProxyConnector" class="disableProxyConnectorAction" method="confirm">
-      <result name="input">/WEB-INF/jsp/admin/disableProxyConnector.jsp</result>
-      <result name="success" type="redirect-action">proxyConnectors</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-
-    <!-- .\ NETWORK PROXIES \._________________________________________ -->
-
-    <action name="networkProxies" class="networkProxiesAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/networkProxies.jsp</result>
-    </action>
-
-    <action name="addNetworkProxy" class="configureNetworkProxyAction" method="add">
-      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
-      <result name="success" type="redirect-action">networkProxies</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="editNetworkProxy" class="configureNetworkProxyAction" method="edit">
-      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
-      <result name="success" type="redirect-action">networkProxies</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="saveNetworkProxy" class="configureNetworkProxyAction" method="save">
-      <result name="input">/WEB-INF/jsp/admin/editNetworkProxy.jsp</result>
-      <result name="success" type="redirect-action">networkProxies</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="deleteNetworkProxy" class="configureNetworkProxyAction" method="confirm">
-      <result name="input">/WEB-INF/jsp/admin/deleteNetworkProxy.jsp</result>
-      <result name="success" type="redirect-action">networkProxies</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <!-- .\ REPOSITORY SCANNING \._____________________________________ -->
-
-    <action name="repositoryScanning" class="repositoryScanningAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/repositoryScanning.jsp</result>
-      <result name="success" type="redirect-action">
-        <param name="actionName">repositoryScanning</param>
-      </result>
-    </action>
-
-    <!-- .\ DATABASE \.________________________________________________ -->
-
-    <action name="database" class="databaseAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/database.jsp</result>
-      <result name="success" type="redirect-action">
-        <param name="actionName">database</param>
-      </result>
-    </action>
-
-    <action name="updateDatabase" class="schedulerAction" method="updateDatabase">
-      <result type="redirect-action">database</result>
-    </action>
-
-    <!-- .\ CONFIGURATION \.___________________________________________ -->
-
-    <action name="configureAppearance" class="organisationInfo">
-      <result name="success">/WEB-INF/jsp/admin/appearance.jsp</result>
-    </action>
-
-    <action name="editAppearance" class="editOrganisationInfo" method="input">
-      <result name="input">/WEB-INF/jsp/admin/editAppearance.jsp</result>
-    </action>
-
-    <action name="saveAppearance" class="editOrganisationInfo">
-      <result name="input">/WEB-INF/jsp/admin/editAppearance.jsp</result>
-      <result type="redirect-action">
-        <param name="actionName">configureAppearance</param>
-        <param name="namespace">/admin</param>
-      </result>
-    </action>
-
-    <!-- .\ LEGACY SUPPORT \.__________________________________________ -->
-
-    <action name="legacyArtifactPath" class="legacyArtifactPathAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
-      <result name="success" type="redirect-action">
-        <param name="actionName">legacyArtifactPath</param>
-      </result>
-    </action>
-
-    <action name="addLegacyArtifactPath" class="addLegacyArtifactPathAction" method="input">
-      <result name="input">/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/addLegacyArtifactPath.jsp</result>
-      <result name="success" type="redirect-action">legacyArtifactPath</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-    <action name="deleteLegacyArtifactPath" class="deleteLegacyArtifactPathAction" method="delete">
-      <result name="input">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
-      <result name="error">/WEB-INF/jsp/admin/legacyArtifactPath.jsp</result>
-      <result name="success" type="redirect-action">legacyArtifactPath</result>
-      <interceptor-ref name="configuredPrepareParamsStack"/>
-    </action>
-
-  </package>
-
-  <package name="report" namespace="/report" extends="base">
-    <action name="pickReport" class="generateReport" method="input">
-      <result name="input">/WEB-INF/jsp/reports/pickReport.jsp</result>
-    </action>
-
-    <action name="generateReport" class="generateReport">
-      <result name="jasper" type="jasper">
-        <param name="location">/WEB-INF/jasperreports/report.jasper</param>
-        <param name="dataSource">reports</param>
-        <param name="format">HTML</param>
-      </result>
-      <result name="input">/WEB-INF/jsp/reports/pickReport.jsp</result>
-      <result name="blank">/WEB-INF/jsp/reports/blankReport.jsp</result>
-      <result>/WEB-INF/jsp/reports/basicReport.jsp</result>
-    </action>
-  </package>
-</xwork>
-
index 5ed04736f48135964ba6095f8fcb205958e16439..2b2e6a66e52cfa4bc30cfb99e841635175e3e4a0 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>You have access to no repositories</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
index 6c647d426b2001f1a96e62ad79cb83ebc7325fe7..a0e30b1d1c4d79ff1d0a1541460ff3d6d59516d5 100644 (file)
   ~ under the License.\r
   --%>\r
 \r
-<%@ taglib prefix="ww" uri="/webwork" %>\r
+<%@ taglib prefix="s" uri="/struts-tags" %>\r
 \r
 <html>\r
 <head>\r
   <title>Admin: Add Legacy Artifact Path</title>\r
-  <ww:head/>\r
+  <s:head/>\r
 </head>\r
 \r
 <body>\r
   }\r
   </script>\r
 \r
-  <ww:actionmessage/>\r
-  <ww:actionerror/>\r
-  <ww:form method="post" action="addLegacyArtifactPath!commit" namespace="/admin" validate="true">\r
-    <ww:textfield name="legacyArtifactPath.path" label="Path" size="50" required="true" onchange="parse( this.value )"/>\r
-    <ww:textfield name="groupId" label="GroupId" size="20" required="true"/>\r
-    <ww:textfield name="artifactId" label="ArtifactId" size="20" required="true"/>\r
-    <ww:textfield name="version" label="Version" size="20" required="true"/>\r
-    <ww:textfield name="classifier" label="Classifier" size="20" required="false"/>\r
-    <ww:textfield name="type" label="Type" size="20" required="true"/>\r
-    <ww:submit value="Add Legacy Artifact Path"/>\r
-  </ww:form>\r
+  <s:actionmessage/>\r
+  <s:actionerror/>\r
+  <s:form method="post" action="addLegacyArtifactPath!commit" namespace="/admin" validate="true">\r
+    <s:textfield name="legacyArtifactPath.path" label="Path" size="50" required="true" onchange="parse( this.value )"/>\r
+    <s:textfield name="groupId" label="GroupId" size="20" required="true"/>\r
+    <s:textfield name="artifactId" label="ArtifactId" size="20" required="true"/>\r
+    <s:textfield name="version" label="Version" size="20" required="true"/>\r
+    <s:textfield name="classifier" label="Classifier" size="20" required="false"/>\r
+    <s:textfield name="type" label="Type" size="20" required="true"/>\r
+    <s:submit value="Add Legacy Artifact Path"/>\r
+  </s:form>\r
 \r
   <script type="text/javascript">\r
     var ref = document.getElementById("addLegacyArtifactPath_legacyArtifactPath_artifact").value;\r
index 314f9bc1b474f2f6a7e120484d0c73e7b94fc729..ee45f8be0c8d53f6380808a70db0be4bd2bf3366 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Add Proxy Connector</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-  <ww:actionerror/>
-  <ww:actionmessage/>
+  <s:actionerror/>
+  <s:actionmessage/>
   
-  <ww:form name="saveProxyConnector" method="post" action="addProxyConnector!commit" namespace="/admin" validate="true">
+  <s:form name="saveProxyConnector" method="post" action="addProxyConnector!commit" namespace="/admin" validate="true">
     <%@ include file="/WEB-INF/jsp/admin/include/proxyConnectorForm.jspf" %>
-    <ww:submit value="Add Proxy Connector"/>
-  </ww:form>
+    <s:submit value="Add Proxy Connector"/>
+  </s:form>
 
 </div>
 
index d1455abf86eddc49d1f1c8407516a1aeffd095b0..7f8e0c5ddbea143e368ed7c7147dd90e5d4b8ac5 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Add Remote Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-  <ww:actionmessage/>
-  <ww:form method="post" action="addRemoteRepository!commit" namespace="/admin" validate="true">
-    <ww:textfield name="repository.id" label="Identifier" size="10" required="true"/>
+  <s:actionmessage/>
+  <s:form method="post" action="addRemoteRepository!commit" namespace="/admin" validate="true">
+    <s:textfield name="repository.id" label="Identifier" size="10" required="true"/>
     <%@ include file="/WEB-INF/jsp/admin/include/remoteRepositoryForm.jspf" %>
-    <ww:submit value="Add Repository"/>
-  </ww:form>
+    <s:submit value="Add Repository"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("addRemoteRepository_id").focus();
index d31e092de71a80a4402402badc90ebd7cc4168af..69cf0eec232397da617a8ed2635216f3927632fd 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Add Managed Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 <h1>Admin: Add Managed Repository</h1>
 
 <div id="contentArea">
-  <ww:actionerror/>
-  <ww:actionmessage/>
-  <ww:form method="post" action="addRepository!commit" namespace="/admin" validate="true">
-    <ww:textfield name="repository.id" label="Identifier" size="10" required="true"/>
+  <s:actionerror/>
+  <s:actionmessage/>
+  <s:form method="post" action="addRepository!commit" namespace="/admin" validate="true">
+    <s:textfield name="repository.id" label="Identifier" size="10" required="true"/>
     <%@ include file="/WEB-INF/jsp/admin/include/repositoryForm.jspf" %>
-    <ww:submit value="Add Repository"/>
-  </ww:form>
+    <s:submit value="Add Repository"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("addRepository_repository_id").focus();
index d2b24e83a3254aad28bf46be8f513b6ed95df8f8..9fa7464ca7119cb00c7ab5e337452b82c2503cf5 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Configure Appearance</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 <h1>Appearance</h1>
 
 <div style="float: right">
-  <a href="<ww:url action='editAppearance' />">Edit</a>
+  <a href="<s:url action='editAppearance' />">Edit</a>
 </div>
 <h2>Organization Details</h2>
 
 <p>
   The logo in the top right of the screen is controlled by the following settings.
-  <a href="<ww:url action='editAppearance' />">Change your appearence</a>
+  <a href="<s:url action='editAppearance' />">Change your appearence</a>
 </p>
 
 <h3>Organization Information</h3>
index 270b905911f8cb4c775899b26b8769005dd0a1d9..132203e2cbf075438e368fe4e09038c81011fe6d 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Admin: Add Managed Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
     </table>
   </div>
        
-  <ww:form method="post" action="${action}" namespace="/admin" validate="true" theme="simple">
+  <s:form method="post" action="${action}" namespace="/admin" validate="true" theme="simple">
     <div class="buttons">      
-      <ww:hidden name="repository.id" value="${repository.id}"/>
-      <ww:hidden name="repository.name" value="${repository.name}"/>
-      <ww:hidden name="repository.location" value="${repository.location}"/>
-      <ww:hidden name="repository.indexDir" value="${repository.indexDir}"/>
-      <ww:hidden name="repository.layout" value="${repository.layout}"/>
-      <ww:hidden name="repository.refreshCronExpression" value="${repository.refreshCronExpression}"/>
-      <ww:hidden name="repository.daysOlder" value="${repository.daysOlder}"/>
-      <ww:hidden name="repository.retentionCount" value="${repository.retentionCount}"/>
-      <ww:hidden name="repository.releases" value="${repository.releases}"/>
-      <ww:hidden name="repository.snapshots" value="${repository.snapshots}"/>
-      <ww:hidden name="repository.scanned" value="${repository.scanned}"/>
-      <ww:hidden name="repository.deleteReleasedSnapshots" value="${repository.deleteReleasedSnapshots}"/>
+      <s:hidden name="repository.id" value="${repository.id}"/>
+      <s:hidden name="repository.name" value="${repository.name}"/>
+      <s:hidden name="repository.location" value="${repository.location}"/>
+      <s:hidden name="repository.indexDir" value="${repository.indexDir}"/>
+      <s:hidden name="repository.layout" value="${repository.layout}"/>
+      <s:hidden name="repository.refreshCronExpression" value="${repository.refreshCronExpression}"/>
+      <s:hidden name="repository.daysOlder" value="${repository.daysOlder}"/>
+      <s:hidden name="repository.retentionCount" value="${repository.retentionCount}"/>
+      <s:hidden name="repository.releases" value="${repository.releases}"/>
+      <s:hidden name="repository.snapshots" value="${repository.snapshots}"/>
+      <s:hidden name="repository.scanned" value="${repository.scanned}"/>
+      <s:hidden name="repository.deleteReleasedSnapshots" value="${repository.deleteReleasedSnapshots}"/>
       
       <c:choose>      
         <c:when test="${action == 'addRepository'}">
-         <ww:submit value="Save" method="confirmAdd"/>
+         <s:submit value="Save" method="confirmAdd"/>
        </c:when>
        <c:otherwise>
-         <ww:submit value="Save" method="confirmUpdate"/>
+         <s:submit value="Save" method="confirmUpdate"/>
        </c:otherwise>
      </c:choose>
       
-      <ww:submit value="Cancel" method="execute"/>
+      <s:submit value="Cancel" method="execute"/>
     </div>
-  </ww:form>
+  </s:form>
   
 </body>
 </html>
index 6359c4e12d59aeff76481d93a1f67ea32972fbae..3cabac2c4e0ec074358c7f6fcfd718194de58358 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork"%>
+<%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
@@ -26,7 +26,7 @@
 <html>
 <head>
 <title>Administration - Database</title>
-<ww:head />
+<s:head />
 </head>
 
 <body>
@@ -35,8 +35,8 @@
 
 <div id="contentArea">
 
-<ww:actionerror /> 
-<ww:actionmessage /> 
+<s:actionerror /> 
+<s:actionmessage /> 
 
 <c:url var="iconDeleteUrl" value="/images/icons/delete.gif" /> 
 <c:url var="iconCreateUrl" value="/images/icons/create.png" /> 
 
 <h2>Database - Unprocessed Artifacts Scanning</h2>
 
-  <ww:form method="post" action="database!updateSchedule" 
+  <s:form method="post" action="database!updateSchedule" 
              namespace="/admin" validate="false" theme="simple">
     <table>
-      <ww:textfield name="cron" label="Cron" size="40" theme="xhtml" />
+      <s:textfield name="cron" label="Cron" size="40" theme="xhtml" />
       <tr>
         <td colspan="2">
-          <ww:submit value="Update Cron" />
+          <s:submit value="Update Cron" />
         </td>
       </tr>
     </table>                 
-  </ww:form>
+  </s:form>
   
-  <ww:form action="updateDatabase" theme="simple">
-    <ww:submit value="Update Database Now"/>
-  </ww:form>
+  <s:form action="updateDatabase" theme="simple">
+    <s:submit value="Update Database Now"/>
+  </s:form>
 
 <h2>Database - Unprocessed Artifacts Scanning</h2>
 
@@ -71,7 +71,7 @@
   <c:otherwise>
     <%-- Display the consumers. --%>
 
-    <ww:form method="post" action="database!updateUnprocessedConsumers" 
+    <s:form method="post" action="database!updateUnprocessedConsumers" 
              namespace="/admin" validate="false" theme="simple">
     <table class="consumers">
       <tr>
       </c:forEach>
       <tr>
         <td colspan="4">
-          <ww:submit value="Update Consumers" />
+          <s:submit value="Update Consumers" />
         </td>
       </tr>
     </table>
-    </ww:form>
+    </s:form>
 
   </c:otherwise>
 </c:choose>
   <c:otherwise>
     <%-- Display the consumers. --%>
 
-    <ww:form method="post" action="database!updateCleanupConsumers" 
+    <s:form method="post" action="database!updateCleanupConsumers" 
              namespace="/admin" validate="false" theme="simple">
     <table class="consumers">
       <tr>
       </c:forEach>
       <tr>
         <td colspan="4">
-          <ww:submit value="Update Consumers" />
+          <s:submit value="Update Consumers" />
         </td>
       </tr>
     </table>
-    </ww:form>
+    </s:form>
 
   </c:otherwise>
 </c:choose>
index c4feaa87aa5451908e2e81ebc38c6d61cd2612a4..363b5687d6250027821c6a4fa1ab77144222b0f4 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Delete Network Proxy</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Delete Network Proxy</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     Are you sure you want to delete network proxy <code>${proxyid}</code> ?
   </p>
 
-  <ww:form method="post" action="deleteNetworkProxy!delete" namespace="/admin" validate="true">
-    <ww:hidden name="proxyid"/>
-    <ww:submit value="Delete"/>
-  </ww:form>
+  <s:form method="post" action="deleteNetworkProxy!delete" namespace="/admin" validate="true">
+    <s:hidden name="proxyid"/>
+    <s:submit value="Delete"/>
+  </s:form>
 </div>
 
 </body>
index de6937ecae0a7d27f68b2ffe22a4aa5ece88ac3c..9e9bab672dbff4b8d5f91952f58a7cf2f8520f3d 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Delete Proxy Connector</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Delete Proxy Connector</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     Are you sure you want to delete proxy connector <code>[ ${source} , ${target} ]</code> ?
   </p>
 
-  <ww:form method="post" action="deleteProxyConnector!delete" namespace="/admin" validate="true">
-    <ww:hidden name="target"/>
-    <ww:hidden name="source"/>
-    <ww:submit value="Delete"/>
-  </ww:form>
+  <s:form method="post" action="deleteProxyConnector!delete" namespace="/admin" validate="true">
+    <s:hidden name="target"/>
+    <s:hidden name="source"/>
+    <s:submit value="Delete"/>
+  </s:form>
 </div>
 
 </body>
index 183da4d230d8055a5e7f63ed819adbce45b60efb..98d35738a427784ad9e95488436527e3f98d3a3d 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Delete Remote Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Delete Remote Repository</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     </table>
   </div>
 
-  <ww:form method="post" action="deleteRemoteRepository" namespace="/admin" validate="true" theme="simple">
-    <ww:hidden name="repoid"/>
+  <s:form method="post" action="deleteRemoteRepository" namespace="/admin" validate="true" theme="simple">
+    <s:hidden name="repoid"/>
     <div class="buttons">
-      <ww:submit value="Confirm" method="delete"/>
-      <ww:submit value="Cancel" method="execute"/>
+      <s:submit value="Confirm" method="delete"/>
+      <s:submit value="Cancel" method="execute"/>
     </div>
-  </ww:form>
+  </s:form>
 </div>
 
 </body>
index 7394e1690c5760c5876589068674eb0c752a2594..10a7ecdd95add3deb0c199dad72192391f039ac1 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Delete Managed Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Delete Managed Repository</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     </table>
   </div>
 
-  <ww:form method="post" action="deleteRepository" namespace="/admin" validate="true" theme="simple">
-    <ww:hidden name="repoid"/>
+  <s:form method="post" action="deleteRepository" namespace="/admin" validate="true" theme="simple">
+    <s:hidden name="repoid"/>
     <div class="buttons">
-      <ww:submit value="Delete Configuration Only" method="deleteEntry" />
-      <ww:submit value="Delete Configuration and Contents" method="deleteContents" />
-      <ww:submit value="Cancel" method="execute"/>
+      <s:submit value="Delete Configuration Only" method="deleteEntry" />
+      <s:submit value="Delete Configuration and Contents" method="deleteContents" />
+      <s:submit value="Cancel" method="execute"/>
     </div>
-  </ww:form>
+  </s:form>
 </div>
 
 </body>
index fa189268637af3294da334cf76b5e51840911b78..5df50581b839053d217efb62844d868584908b06 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Delete Repository Group</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Delete Repository Group</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     </table>
   </div>
 
-  <ww:form method="post" action="deleteRepositoryGroup" namespace="/admin" validate="true" theme="simple">
-    <ww:hidden name="repoGroupId"/>
+  <s:form method="post" action="deleteRepositoryGroup" namespace="/admin" validate="true" theme="simple">
+    <s:hidden name="repoGroupId"/>
     <div class="buttons">
-      <ww:submit value="Confirm" method="delete"/>
-      <ww:submit value="Cancel" method="execute"/>
+      <s:submit value="Confirm" method="delete"/>
+      <s:submit value="Cancel" method="execute"/>
     </div>
-  </ww:form>
+  </s:form>
 </div>
 
 </body>
index 0906be58ad57048138a2a687828f48d1c0ae3900..3ec6b361250323529e35e762dc1b27dc80ac97e2 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Disable Proxy Connector</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Disable Proxy Connector</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     Are you sure you want to disable proxy connector <code>[ ${source} , ${target} ]</code> ?
   </p>
 
-  <ww:form method="post" action="disableProxyConnector!disable" namespace="/admin" validate="true">
-    <ww:hidden name="target"/>
-    <ww:hidden name="source"/>
-    <ww:submit value="Disable"/>
-  </ww:form>
+  <s:form method="post" action="disableProxyConnector!disable" namespace="/admin" validate="true">
+    <s:hidden name="target"/>
+    <s:hidden name="source"/>
+    <s:submit value="Disable"/>
+  </s:form>
 </div>
 
 </body>
index 5f5316a2a4fa4d65966ec40c34a6938d4505ae63..38d01615b78973a8981b08adb85d0eac578f9067 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <html>
 <head>
   <title>Configure Appearance</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
   Enter the details of your organization below.
 </p>
 
-<ww:set name="editOrganisationInfo" value="editOrganisationInfo"/>
-<ww:actionmessage/>
-<ww:form method="post" action="saveAppearance" namespace="/admin" validate="true" theme="xhtml">
-    <ww:textfield name="organisationName" value="${organisationName}" label="Name" size="50"  />
-    <ww:textfield name="organisationUrl" value="${organisationUrl}" label="URL" size="50"/>
-    <ww:textfield name="organisationLogo" value="${organisationLogo}" label="Logo URL" size="50" />
-  <ww:submit value="Save"/>
-</ww:form>
+<s:set name="editOrganisationInfo" value="editOrganisationInfo"/>
+<s:actionmessage/>
+<s:form method="post" action="saveAppearance" namespace="/admin" validate="true" theme="xhtml">
+    <s:textfield name="organisationName" value="${organisationName}" label="Name" size="50"  />
+    <s:textfield name="organisationUrl" value="${organisationUrl}" label="URL" size="50"/>
+    <s:textfield name="organisationLogo" value="${organisationLogo}" label="Logo URL" size="50" />
+  <s:submit value="Save"/>
+</s:form>
 </body>
 
 </html>
index bb09274e7f2b98372287fd9475319bc5422cf936..82fc52832627b3d5b171ee3b4f8cb0a61e30ad66 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <c:choose>
@@ -33,7 +33,7 @@
 <html>
 <head>
   <title>Admin: ${addedit} Network Proxy</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
   <h2>${addedit} network proxy: ${networkProxyName}</h2>
 
-  <ww:actionerror/> 
-  <ww:actionmessage/>
+  <s:actionerror/> 
+  <s:actionmessage/>
   
-  <ww:form method="post" action="saveNetworkProxy" namespace="/admin">
-    <ww:hidden name="mode"/>
+  <s:form method="post" action="saveNetworkProxy" namespace="/admin">
+    <s:hidden name="mode"/>
     
        <c:choose>
          <c:when test="${mode == 'edit'}">
-           <ww:hidden name="proxy.id"/>
+           <s:hidden name="proxy.id"/>
          </c:when>
          <c:otherwise>
-           <ww:textfield name="proxy.id" label="Identifier" size="10" required="true"/>
+           <s:textfield name="proxy.id" label="Identifier" size="10" required="true"/>
          </c:otherwise>
        </c:choose>
     
     <%@ include file="/WEB-INF/jsp/admin/include/networkProxyForm.jspf" %>
-    <ww:submit value="Save Network Proxy"/>
-  </ww:form>
+    <s:submit value="Save Network Proxy"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("saveNetworkProxy_host").focus();
index e135845467f56d30917e51093fe91587766def47..36b726a73ce5e75119b5a34adbcea1fba23972ee 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Admin : Edit Proxy Connector</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-  <ww:actionerror/>
-  <ww:actionmessage/>
+  <s:actionerror/>
+  <s:actionmessage/>
 
-  <ww:form name="saveProxyConnector" method="post" action="editProxyConnector!commit" namespace="/admin" validate="true">
+  <s:form name="saveProxyConnector" method="post" action="editProxyConnector!commit" namespace="/admin" validate="true">
     <%@ include file="/WEB-INF/jsp/admin/include/proxyConnectorForm.jspf" %>
-    <ww:submit value="Save Proxy Connector"/>
-  </ww:form>
+    <s:submit value="Save Proxy Connector"/>
+  </s:form>
   
 </div>
 
index 3f6686c574a0e128d82e931586e5900ff50ff33e..da6cb2439055da5c646c7decb5501cf547c7cc2b 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Edit Remote Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Edit Remote Repository</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
-  <ww:actionmessage/>
-  <ww:form method="post" action="editRemoteRepository!commit" namespace="/admin" validate="false">
-    <ww:hidden name="repository.id"/>
+  <s:actionmessage/>
+  <s:form method="post" action="editRemoteRepository!commit" namespace="/admin" validate="false">
+    <s:hidden name="repository.id"/>
     <%@ include file="/WEB-INF/jsp/admin/include/remoteRepositoryForm.jspf" %>
-    <ww:submit value="Update Repository"/>
-  </ww:form>
+    <s:submit value="Update Repository"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("editRemoteRepository_repository_name").focus();
index a2a899e35ca80a8a423ef4b7f3d44d4712c596a5..7ea50ea4266c56b3632b26210a80653eb398408d 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Edit Managed Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Edit Managed Repository</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
-  <ww:actionmessage/>
-  <ww:form method="post" action="editRepository!commit" namespace="/admin" validate="false">
-    <ww:hidden name="repository.id"/>
-    <ww:label label="ID" name="repository.id" />
+  <s:actionmessage/>
+  <s:form method="post" action="editRepository!commit" namespace="/admin" validate="false">
+    <s:hidden name="repository.id"/>
+    <s:label label="ID" name="repository.id" />
     <%@ include file="/WEB-INF/jsp/admin/include/repositoryForm.jspf" %>
-    <ww:submit value="Update Repository"/>
-  </ww:form>
+    <s:submit value="Update Repository"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("editRepository_repository_name").focus();
index 56750080f9a492a96b5e5a0040961b74b95cdc45..68f357a2fcd0e350b7d3dc0a0ff988768978e911 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Admin: Enable Proxy Connector</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Admin: Enable Proxy Connector</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 <div id="contentArea">
 
     Are you sure you want to enable proxy connector <code>[ ${source} , ${target} ]</code> ?
   </p>
 
-  <ww:form method="post" action="enableProxyConnector!enable" namespace="/admin" validate="true">
-    <ww:hidden name="target"/>
-    <ww:hidden name="source"/>
-    <ww:submit value="Enable"/>
-  </ww:form>
+  <s:form method="post" action="enableProxyConnector!enable" namespace="/admin" validate="true">
+    <s:hidden name="target"/>
+    <s:hidden name="source"/>
+    <s:submit value="Enable"/>
+  </s:form>
 </div>
 
 </body>
index f4793128dca4e1b92e4557cd627c26d73a6df4cb..2d147d549bfdb6a77691a7b5286b8933b29d3a7e 100644 (file)
   --%>
 
 <p>
-  <ww:if test="hasActionErrors()">
+  <s:if test="hasActionErrors()">
     <b style="color: red;">Errors:</b>
-    <ww:iterator value="actionErrors">
+    <s:iterator value="actionErrors">
       <li style="color: red;">
-        <ww:property/>
+        <s:property/>
       </li>
-    </ww:iterator>
-  </ww:if>
+    </s:iterator>
+  </s:if>
 </p>
\ No newline at end of file
index 6c64cabf5214ace70ad8e71ffb8ea6dda1e497bd..a64053c721dbce8079c0eaa80ce2bb8770eec33b 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.\r
   --%>\r
 \r
-<%@ taglib prefix="ww" uri="/webwork" %>\r
+<%@ taglib prefix="s" uri="/struts-tags" %>\r
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>\r
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>\r
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>\r
@@ -25,7 +25,7 @@
 <html>\r
 <head>\r
   <title>Administration - Legacy support</title>\r
-  <ww:head/>\r
+  <s:head/>\r
 </head>\r
 \r
 <body>\r
 \r
 <div id="contentArea">\r
 \r
-<ww:actionerror/>\r
-<ww:actionmessage/>\r
+<s:actionerror/>\r
+<s:actionmessage/>\r
 \r
 <div class="admin">\r
 <div class="controls">\r
   <redback:ifAuthorized permission="archiva-manage-configuration">\r
-    <ww:url id="addLegacyArtifactPathUrl" action="addLegacyArtifactPath"/>\r
-    <ww:a href="%{addLegacyArtifactPathUrl}">\r
+    <s:url id="addLegacyArtifactPathUrl" action="addLegacyArtifactPath"/>\r
+    <s:a href="%{addLegacyArtifactPathUrl}">\r
       <img src="<c:url value="/images/icons/create.png" />" alt="" width="16" height="16"/>\r
       Add\r
-    </ww:a>\r
+    </s:a>\r
   </redback:ifAuthorized>\r
 </div>\r
 <h2>Path Mappings</h2>\r
 <div class="controls">\r
     <%-- TODO: make some icons --%>\r
   <redback:ifAnyAuthorized permissions="archiva-manage-configuration">\r
-    <ww:url id="deleteLegacyArtifactPath" action="deleteLegacyArtifactPath">\r
-      <ww:param name="path" value="%{'${legacyArtifactPath.path}'}"/>\r
-    </ww:url>\r
-    <ww:a href="%{deleteLegacyArtifactPath}">\r
+    <s:url id="deleteLegacyArtifactPath" action="deleteLegacyArtifactPath">\r
+      <s:param name="path" value="%{'${legacyArtifactPath.path}'}"/>\r
+    </s:url>\r
+    <s:a href="%{deleteLegacyArtifactPath}">\r
       <img src="<c:url value="/images/icons/delete.gif" />" alt="" width="16" height="16"/>\r
       Delete\r
-    </ww:a>\r
+    </s:a>\r
   </redback:ifAnyAuthorized>\r
 </div>\r
 \r
index a7aeea1c797ec53ebfe79bd03e0f27f6e4f2cff5..07f3dcb746e19187282d82287b71ffb8266ce832 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork"%>
+<%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org"%>
@@ -25,7 +25,7 @@
 <html>
 <head>
 <title>Administration - Network Proxies</title>
-<ww:head />
+<s:head />
 </head>
 
 <body>
 
 <div id="contentArea">
 
-<ww:actionerror /> <ww:actionmessage />
+<s:actionerror /> <s:actionmessage />
 
 <div class="admin">
 <div class="controls">
 <redback:ifAuthorized
   permission="archiva-manage-configuration">
-  <ww:url id="addNetworkProxyUrl" action="addNetworkProxy" />
-  <ww:a href="%{addNetworkProxyUrl}">
+  <s:url id="addNetworkProxyUrl" action="addNetworkProxy" />
+  <s:a href="%{addNetworkProxyUrl}">
     <img src="<c:url value="/images/icons/create.png" />" />
-        Add Network Proxy</ww:a>
+        Add Network Proxy</s:a>
 </redback:ifAuthorized></div>
 <h2>Network Proxies</h2>
 
       <div class="controls">
       <redback:ifAnyAuthorized
         permissions="archiva-manage-configuration">
-        <ww:url id="editNetworkProxyUrl" action="editNetworkProxy">
-          <ww:param name="proxyid" value="%{'${proxy.id}'}" />
-        </ww:url>
-        <ww:url id="deleteNetworkProxyUrl" action="deleteNetworkProxy" method="confirm">
-          <ww:param name="proxyid" value="%{'${proxy.id}'}" />
-        </ww:url>
-        <ww:a href="%{editNetworkProxyUrl}">
+        <s:url id="editNetworkProxyUrl" action="editNetworkProxy">
+          <s:param name="proxyid" value="%{'${proxy.id}'}" />
+        </s:url>
+        <s:url id="deleteNetworkProxyUrl" action="deleteNetworkProxy" method="confirm">
+          <s:param name="proxyid" value="%{'${proxy.id}'}" />
+        </s:url>
+        <s:a href="%{editNetworkProxyUrl}">
           <img src="<c:url value="/images/icons/edit.png" />" />
-            Edit Network Proxy</ww:a>
-        <ww:a href="%{deleteNetworkProxyUrl}">
+            Edit Network Proxy</s:a>
+        <s:a href="%{deleteNetworkProxyUrl}">
           <img src="<c:url value="/images/icons/delete.gif" />" />
-            Delete Network Proxy</ww:a>
+            Delete Network Proxy</s:a>
       </redback:ifAnyAuthorized></div>
 
       <table class="infoTable">
index 43a0b5da2acc32a059ab803585b97e70ee35dd4c..1095a609f351442edd34559e648b69abbe558cc1 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
@@ -26,7 +26,7 @@
 <html>
 <head>
   <title>Administration - Proxy Connectors</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-<ww:actionerror/>
-<ww:actionmessage/>
+<s:actionerror/>
+<s:actionmessage/>
 
 <div style="float:right">  
   <c:choose>
        <c:when test="${remoteRepoExists}">
          <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-           <ww:url id="addProxyConnectorUrl" action="addProxyConnector"/>
-           <ww:a href="%{addProxyConnectorUrl}" cssClass="create">
+           <s:url id="addProxyConnectorUrl" action="addProxyConnector"/>
+           <s:a href="%{addProxyConnectorUrl}" cssClass="create">
              <img src="<c:url value="/images/icons/create.png" />"/>
              Add
-           </ww:a>
+           </s:a>
          </redback:ifAnyAuthorized>
        </c:when>
        <c:otherwise>
   <div class="connector ${rowColor}"> 
     <div class="controls">
       <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-        <ww:url id="sortDownProxyConnectorUrl" action="sortDownProxyConnector">
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-        </ww:url>
-        <ww:url id="sortUpProxyConnectorUrl" action="sortUpProxyConnector">
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-        </ww:url>
-        <ww:url id="editProxyConnectorUrl" action="editProxyConnector">
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-        </ww:url>
-        <ww:url id="deleteProxyConnectorUrl" action="deleteProxyConnector" method="confirmDelete">
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-        </ww:url>
-        <ww:url id="enableProxyConnectorUrl" action="enableProxyConnector" method="confirmEnable">
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-        </ww:url>
-        <ww:url id="disableProxyConnectorUrl" action="disableProxyConnector" method="confirmDisable">
-          <ww:param name="source" value="%{'${connector.sourceRepoId}'}"/>
-          <ww:param name="target" value="%{'${connector.targetRepoId}'}"/>
-        </ww:url>
+        <s:url id="sortDownProxyConnectorUrl" action="sortDownProxyConnector">
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+        </s:url>
+        <s:url id="sortUpProxyConnectorUrl" action="sortUpProxyConnector">
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+        </s:url>
+        <s:url id="editProxyConnectorUrl" action="editProxyConnector">
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+        </s:url>
+        <s:url id="deleteProxyConnectorUrl" action="deleteProxyConnector" method="confirmDelete">
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+        </s:url>
+        <s:url id="enableProxyConnectorUrl" action="enableProxyConnector" method="confirmEnable">
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+        </s:url>
+        <s:url id="disableProxyConnectorUrl" action="disableProxyConnector" method="confirmDisable">
+          <s:param name="source" value="%{'${connector.sourceRepoId}'}"/>
+          <s:param name="target" value="%{'${connector.targetRepoId}'}"/>
+        </s:url>
         <c:if test="${connector.disabled}">
-            <ww:a href="%{enableProxyConnectorUrl}" title="Enable Proxy Connector">
+            <s:a href="%{enableProxyConnectorUrl}" title="Enable Proxy Connector">
                                <img src="${iconDisable}"/>
-                       </ww:a>
+                       </s:a>
         </c:if>
         <c:if test="${connector.disabled == false}">
-            <ww:a href="%{disableProxyConnectorUrl}" title="Disable Proxy Connector">
+            <s:a href="%{disableProxyConnectorUrl}" title="Disable Proxy Connector">
                                <img src="${iconEnable}"/>
-                       </ww:a>
+                       </s:a>
         </c:if>
         <c:if test="${pc.count > 1}">
-          <ww:a href="%{sortUpProxyConnectorUrl}" title="Move Proxy Connector Up">
+          <s:a href="%{sortUpProxyConnectorUrl}" title="Move Proxy Connector Up">
             <img src="${iconUpUrl}"/>
-          </ww:a>
+          </s:a>
         </c:if>
         <c:if test="${pc.count < numberOfRepos}">
-          <ww:a href="%{sortDownProxyConnectorUrl}" cssClass="down" title="Move Proxy Connector Down">
+          <s:a href="%{sortDownProxyConnectorUrl}" cssClass="down" title="Move Proxy Connector Down">
             <img src="${iconDownUrl}"/>
-          </ww:a>
+          </s:a>
         </c:if>
-        <ww:a href="%{editProxyConnectorUrl}" cssClass="edit" title="Edit Proxy Connector">
+        <s:a href="%{editProxyConnectorUrl}" cssClass="edit" title="Edit Proxy Connector">
           <img src="${iconEditUrl}"/>
-        </ww:a>
-        <ww:a href="%{deleteProxyConnectorUrl}" cssClass="delete" title="Delete Proxy Connector">
+        </s:a>
+        <s:a href="%{deleteProxyConnectorUrl}" cssClass="delete" title="Delete Proxy Connector">
           <img src="${iconDeleteUrl}"/>
-        </ww:a>
+        </s:a>
       </redback:ifAnyAuthorized>
     </div>
 
               <span class="directConnection">(Direct Connection)</span>
             </c:when>
             <c:otherwise>
-              <ww:url id="editProxyIdUrl" action="editNetworkProxy">
-                <ww:param name="proxyid" value="%{'${connector.proxyId}'}"/>
-              </ww:url>
-              <ww:a href="%{editProxyIdUrl}" cssClass="edit" title="Edit Network Proxy">
+              <s:url id="editProxyIdUrl" action="editNetworkProxy">
+                <s:param name="proxyid" value="%{'${connector.proxyId}'}"/>
+              </s:url>
+              <s:a href="%{editProxyIdUrl}" cssClass="edit" title="Edit Network Proxy">
                 ${connector.proxyId}
                 <img src="${iconEditUrl}"/>
-              </ww:a>
+              </s:a>
             </c:otherwise>
           </c:choose>
         </td>
index 8f1e911782ba395af89f8537014b4704852ceec0..28b803b8be0b5e1751cee19526158bae87669443 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
@@ -25,7 +25,7 @@
 <html>
 <head>
   <title>Administration - Repositories</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-<ww:actionerror/>
-<ww:actionmessage/>
+<s:actionerror/>
+<s:actionmessage/>
 
 <div class="admin">
 <div class="controls">
   <redback:ifAuthorized permission="archiva-manage-configuration">
-    <ww:url id="addRepositoryUrl" action="addRepository"/>
-    <ww:a href="%{addRepositoryUrl}">
+    <s:url id="addRepositoryUrl" action="addRepository"/>
+    <s:a href="%{addRepositoryUrl}">
       <img src="<c:url value="/images/icons/create.png" />" alt="" width="16" height="16"/>
       Add
-    </ww:a>
+    </s:a>
   </redback:ifAuthorized>
 </div>
 <h2>Managed Repositories</h2>
 <div class="controls">
     <%-- TODO: make some icons --%>
   <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-    <ww:url id="editRepositoryUrl" action="editRepository">
-      <ww:param name="repoid" value="%{'${repository.id}'}"/>
-    </ww:url>
-    <ww:url id="deleteRepositoryUrl" action="confirmDeleteRepository">
-      <ww:param name="repoid" value="%{'${repository.id}'}"/>
-    </ww:url>
-    <ww:a href="%{editRepositoryUrl}">
+    <s:url id="editRepositoryUrl" action="editRepository">
+      <s:param name="repoid" value="%{'${repository.id}'}"/>
+    </s:url>
+    <s:url id="deleteRepositoryUrl" action="confirmDeleteRepository">
+      <s:param name="repoid" value="%{'${repository.id}'}"/>
+    </s:url>
+    <s:a href="%{editRepositoryUrl}">
       <img src="<c:url value="/images/icons/edit.png" />" alt="" width="16" height="16"/>
       Edit
-    </ww:a>
-    <ww:a href="%{deleteRepositoryUrl}">
+    </s:a>
+    <s:a href="%{deleteRepositoryUrl}">
       <img src="<c:url value="/images/icons/delete.gif" />" alt="" width="16" height="16"/>
       Delete
-    </ww:a>
+    </s:a>
   </redback:ifAnyAuthorized>
   <c:url var="rssFeedIconUrl" value="/images/icons/rss-feed.png"/>
   <a href="/archiva/feeds/${repository.id}">
         <tr>
           <td>
             <redback:ifAuthorized permission="archiva-run-indexer">
-              <ww:form action="indexRepository" theme="simple">
-                <ww:hidden name="repoid" value="%{'${repository.id}'}"/>
-                <ww:submit value="Scan Repository Now"/>
-              </ww:form>
+              <s:form action="indexRepository" theme="simple">
+                <s:hidden name="repoid" value="%{'${repository.id}'}"/>
+                <s:submit value="Scan Repository Now"/>
+              </s:form>
             </redback:ifAuthorized>
           </td>
         </tr>
 
 <div class="controls">
   <redback:ifAuthorized permission="archiva-manage-configuration">
-    <ww:url id="addRepositoryUrl" action="addRemoteRepository"/>
-    <ww:a href="%{addRepositoryUrl}">
+    <s:url id="addRepositoryUrl" action="addRemoteRepository"/>
+    <s:a href="%{addRepositoryUrl}">
       <img src="<c:url value="/images/icons/create.png" />" alt="" width="16" height="16"/>
       Add
-    </ww:a>
+    </s:a>
   </redback:ifAuthorized>
 </div>
 <h2>Remote Repositories</h2>
 
         <div class="controls">
           <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-            <ww:url id="editRepositoryUrl" action="editRemoteRepository">
-              <ww:param name="repoid" value="%{'${repository.id}'}"/>
-            </ww:url>
-            <ww:a href="%{editRepositoryUrl}">
+            <s:url id="editRepositoryUrl" action="editRemoteRepository">
+              <s:param name="repoid" value="%{'${repository.id}'}"/>
+            </s:url>
+            <s:a href="%{editRepositoryUrl}">
               <img src="<c:url value="/images/icons/edit.png" />" alt="" width="16" height="16"/>
               Edit
-            </ww:a>
-            <ww:url id="deleteRepositoryUrl" action="confirmDeleteRemoteRepository">
-              <ww:param name="repoid" value="%{'${repository.id}'}"/>
-            </ww:url>
-            <ww:a href="%{deleteRepositoryUrl}">
+            </s:a>
+            <s:url id="deleteRepositoryUrl" action="confirmDeleteRemoteRepository">
+              <s:param name="repoid" value="%{'${repository.id}'}"/>
+            </s:url>
+            <s:a href="%{deleteRepositoryUrl}">
               <img src="<c:url value="/images/icons/delete.gif" />" alt="" width="16" height="16"/>
               Delete
-            </ww:a>
+            </s:a>
           </redback:ifAnyAuthorized>
         </div>
 
index 85c78aeeab0242b3ca1f24e318d2c0f458be529f..d45b7e48571e7be8364490fb2a266401bdb4ad12 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
@@ -26,7 +26,7 @@
 <html>
 <head>
   <title>Administration - Repository Groups</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-<ww:actionerror/>
-<ww:actionmessage/>
+<s:actionerror/>
+<s:actionmessage/>
 
 <div align="right">
   <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-    <ww:form action="addRepositoryGroup" namespace="/admin">
+    <s:form action="addRepositoryGroup" namespace="/admin">
       <span class="label">Identifier<span style="color:red">*</span>:</span> 
-      <ww:textfield size="10" label="Identifier" theme="simple" name="repositoryGroup.id"/>
-      <ww:submit value="Add Group" theme="simple" cssClass="button"/>
-    </ww:form>
+      <s:textfield size="10" label="Identifier" theme="simple" name="repositoryGroup.id"/>
+      <s:submit value="Add Group" theme="simple" cssClass="button"/>
+    </s:form>
   </redback:ifAnyAuthorized>
 </div>
 
   <div class="managedRepo">
     
     <div style="float:right">
-      <ww:url id="deleteRepositoryGroupUrl" action="confirmDeleteRepositoryGroup">
-        <ww:param name="repoGroupId" value="%{'${repositoryGroup.key}'}" />
-      </ww:url>
-      <ww:a href="%{deleteRepositoryGroupUrl}" cssClass="delete">
+      <s:url id="deleteRepositoryGroupUrl" action="confirmDeleteRepositoryGroup">
+        <s:param name="repoGroupId" value="%{'${repositoryGroup.key}'}" />
+      </s:url>
+      <s:a href="%{deleteRepositoryGroupUrl}" cssClass="delete">
         <img src="${iconDeleteUrl}"/>
-      </ww:a>
+      </s:a>
     </div>
     
     <img src="<c:url value="/images/archiva-splat-32.gif"/>"/>
 
   <c:if test="${!empty (groupToRepositoryMap[repositoryGroup.key])}">
   <div class="repos">
-    <ww:form name="form${i}" action="addRepositoryToGroup" namespace="/admin" validate="true">
-      <ww:hidden name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
-      <ww:select list="groupToRepositoryMap['${repositoryGroup.key}']" name="repoId" theme="simple"/>
-      <ww:submit value="Add Repository" theme="simple" cssClass="button"/>
-    </ww:form>
+    <s:form name="form${i}" action="addRepositoryToGroup" namespace="/admin" validate="true">
+      <s:hidden name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
+      <s:select list="groupToRepositoryMap['${repositoryGroup.key}']" name="repoId" theme="simple"/>
+      <s:submit value="Add Repository" theme="simple" cssClass="button"/>
+    </s:form>
   </div>
   </c:if>
   
   <div class="connector ${rowColor}"> 
     <div class="controls">
       <redback:ifAnyAuthorized permissions="archiva-manage-configuration">
-        <ww:url id="sortDownRepositoryUrl" action="sortDownRepositoryFromGroup">
-          <ww:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
-          <ww:param name="targetRepo" value="managedRepositories['${repository}'].id"/>
-        </ww:url>
-        <ww:url id="sortUpRepositoryUrl" action="sortUpRepositoryFromGroup">
-          <ww:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
-          <ww:param name="targetRepo" value="managedRepositories['${repository}'].id"/>
-        </ww:url>
-        <ww:url id="removeRepositoryUrl" action="removeRepositoryFromGroup">
-          <ww:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
-          <ww:param name="repoId" value="managedRepositories['${repository}'].id"/>
-        </ww:url>
+        <s:url id="sortDownRepositoryUrl" action="sortDownRepositoryFromGroup">
+          <s:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
+          <s:param name="targetRepo" value="managedRepositories['${repository}'].id"/>
+        </s:url>
+        <s:url id="sortUpRepositoryUrl" action="sortUpRepositoryFromGroup">
+          <s:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
+          <s:param name="targetRepo" value="managedRepositories['${repository}'].id"/>
+        </s:url>
+        <s:url id="removeRepositoryUrl" action="removeRepositoryFromGroup">
+          <s:param name="repoGroupId" value="%{'${repositoryGroup.key}'}"/>
+          <s:param name="repoId" value="managedRepositories['${repository}'].id"/>
+        </s:url>
         <c:if test="${r.count > 1}">
-          <ww:a href="%{sortUpRepositoryUrl}" cssClass="up" title="Move Repository Up">
+          <s:a href="%{sortUpRepositoryUrl}" cssClass="up" title="Move Repository Up">
             <img src="${iconUpUrl}"/>
-          </ww:a>
+          </s:a>
         </c:if>
         <c:if test="${r.count < numberOfRepos}">
-          <ww:a href="%{sortDownRepositoryUrl}" cssClass="down" title="Move Repository Down">
+          <s:a href="%{sortDownRepositoryUrl}" cssClass="down" title="Move Repository Down">
             <img src="${iconDownUrl}"/>
-          </ww:a>
+          </s:a>
         </c:if>
-        <ww:a href="%{removeRepositoryUrl}" cssClass="delete" title="Delete Repository">
+        <s:a href="%{removeRepositoryUrl}" cssClass="delete" title="Delete Repository">
           <img src="${iconDeleteUrl}"/>
-        </ww:a>
+        </s:a>
       </redback:ifAnyAuthorized>
     </div>
   
index 4450bee1ebdc69b8fe707887a947b28f802ed067..2ca1362dab1e576cf77ad013fc6b94fc5b2f4f59 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork"%>
+<%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
@@ -26,7 +26,7 @@
 <html>
 <head>
 <title>Administration - Repository Scanning</title>
-<ww:head />
+<s:head />
 </head>
 
 <body>
 
 <div id="contentArea">
 
-<ww:actionerror /> 
-<ww:actionmessage /> 
+<s:actionerror /> 
+<s:actionmessage /> 
 
 <c:url var="iconDeleteUrl" value="/images/icons/delete.gif" /> 
 <c:url var="iconCreateUrl" value="/images/icons/create.png" /> 
-<ww:url id="removeFiletypePatternUrl" action="repositoryScanning" method="removeFiletypePattern" /> 
-<ww:url id="addFiletypePatternUrl"    action="repositoryScanning" method="addFiletypePattern" /> 
+<s:url id="removeFiletypePatternUrl" action="repositoryScanning" method="removeFiletypePattern" /> 
+<s:url id="addFiletypePatternUrl"    action="repositoryScanning" method="addFiletypePattern" /> 
    
 <script type="text/javascript">
 <!--
   <c:otherwise>
     <%-- Display the filetypes. --%>
 
-    <ww:form method="post" action="repositoryScanning" 
+    <s:form method="post" action="repositoryScanning" 
              namespace="/admin" validate="false" 
              id="filetypeForm" theme="simple">
       <input type="hidden" name="pattern" />
       <input type="hidden" name="fileTypeId" />
-    </ww:form>
+    </s:form>
 
-    <ww:url id="addFiletypePatternUrl" action="repositoryScanning" method="addFiletypePattern" />
+    <s:url id="addFiletypePatternUrl" action="repositoryScanning" method="addFiletypePattern" />
 
     <c:forEach items="${fileTypeIds}" var="filetypeId" varStatus="j">
 
               <code>${escapedPattern}</code>
             </td>
             <td class="controls ${bgcolor}">
-              <ww:a href="#" title="Remove [${escapedPattern}] Pattern from [${filetypeId}]"
+              <s:a href="#" title="Remove [${escapedPattern}] Pattern from [${filetypeId}]"
                     onclick="removeFiletypePattern( '${filetypeId}', '${escapedPattern}' )" 
                     theme="simple">
                 <img src="${iconDeleteUrl}" />
-              </ww:a>
+              </s:a>
             </td>
           </tr>
         </c:forEach>
         <tr>
           <td>
-            <ww:textfield size="40" 
+            <s:textfield size="40" 
                           id="newpattern_${j.index}"
                           theme="simple" />
           </td>
           <td>
-            <ww:a href="#" 
+            <s:a href="#" 
                   title="Add Pattern to [${filetypeId}]"
                   onclick="addFiletypePattern( '${filetypeId}', 'newpattern_${j.index}' )"
                   theme="simple">
               <img src="${iconCreateUrl}" />
-            </ww:a>
+            </s:a>
           </td>
         </tr>
       </table>
   <c:otherwise>
     <%-- Display the consumers. --%>
 
-    <ww:form method="post" action="repositoryScanning!updateKnownConsumers" 
+    <s:form method="post" action="repositoryScanning!updateKnownConsumers" 
              namespace="/admin" validate="false" theme="simple">
     <table class="consumers">
       <tr>
       </c:forEach>
       <tr>
         <td colspan="4">
-          <ww:submit value="Update Consumers" />
+          <s:submit value="Update Consumers" />
         </td>
       </tr>
     </table>
-    </ww:form>
+    </s:form>
 
   </c:otherwise>
 </c:choose>
   <c:otherwise>
     <%-- Display the consumers. --%>
 
-    <ww:form method="post" action="repositoryScanning!updateInvalidConsumers" 
+    <s:form method="post" action="repositoryScanning!updateInvalidConsumers" 
              namespace="/admin" validate="false" theme="simple">
     <table class="consumers">
       <tr>
       </c:forEach>
       <tr>
         <td colspan="4">
-          <ww:submit value="Update Consumers" />
+          <s:submit value="Update Consumers" />
         </td>
       </tr>
     </table>
-    </ww:form>
+    </s:form>
 
   </c:otherwise>
 </c:choose></div>
index 3a87d1f5e24773b773ae047d01ecffda190f2a1f..3db21844d735c8a30576865fb7afa264675a8e98 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <html>
 <head>
   <title>Advanced Search</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
-<ww:if test="%{infoMessage != null}">
+<s:if test="%{infoMessage != null}">
   <p>${infoMessage}</p>
-</ww:if>
+</s:if>
 
 <body>
 
 
   <div id="searchBox">
   
-    <ww:form method="get" action="filteredSearch" validate="true">
-      <ww:textfield label="Row Count" size="50" name="rowCount"/>
-      <ww:textfield label="Group Id" size="50" name="groupId"/>
-      <ww:textfield label="Artifact Id" size="50" name="artifactId"/>
-      <ww:textfield label="Version" size="50" name="version"/>
-      <ww:textfield label="Class / Package" size="50" name="className"/>
-      <ww:select name="repositoryId" label="Repository ID" list="managedRepositoryList"/>
-      <ww:hidden name="completeQueryString" value="${completeQueryString}"/>
-      <ww:hidden name="fromFilterSearch" value="${fromFilterSearch}"/>
-      <ww:submit label="Go!"/>
-    </ww:form>
+    <s:form method="get" action="filteredSearch" validate="true">
+      <s:textfield label="Row Count" size="50" name="rowCount"/>
+      <s:textfield label="Group Id" size="50" name="groupId"/>
+      <s:textfield label="Artifact Id" size="50" name="artifactId"/>
+      <s:textfield label="Version" size="50" name="version"/>
+      <s:textfield label="Class / Package" size="50" name="className"/>
+      <s:select name="repositoryId" label="Repository ID" list="managedRepositoryList"/>
+      <s:hidden name="completeQueryString" value="${completeQueryString}"/>
+      <s:hidden name="fromFilterSearch" value="${fromFilterSearch}"/>
+      <s:submit label="Go!"/>
+    </s:form>
   
-    <ww:url id="indexUrl" action="index"/>
-      <ww:a href="%{indexUrl}">
+    <s:url id="indexUrl" action="index"/>
+      <s:a href="%{indexUrl}">
         Quick Search Page
-    </ww:a>
+    </s:a>
 
   </div>
 
   <script type="text/javascript">
     document.getElementById("filteredSearch_groupId").focus();
   </script>
-  <ww:actionerror/>
+  <s:actionerror/>
 
 </div> 
 
index 897c82a4c02aca12f1f6a91bcd64f9c0ac35f67b..f705c3881859220fd95a42d7a6ec7ca0e2fc65e8 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Security Alert Page</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
index a9efdca3bfd97e2e61f24411c563bd5530a47ebf..68d879e73a49dd7944674a53c0788083adf35770 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0"  %>
@@ -25,7 +25,7 @@
 <html>
 <head>
   <title>Browse Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
@@ -48,9 +48,9 @@
       <ul>
         <c:forEach items="${results.groupIds}" var="groupId">
           <c:set var="url">
-            <ww:url action="browseGroup" namespace="/">
-              <ww:param name="groupId" value="%{'${groupId}'}"/>
-            </ww:url>
+            <s:url action="browseGroup" namespace="/">
+              <s:param name="groupId" value="%{'${groupId}'}"/>
+            </s:url>
           </c:set>
           <li><a href="${url}">${groupId}/</a></li>
         </c:forEach>
         <c:url var="rssFeedIconUrl" value="/images/icons/rss-feed.png"/>
         <c:forEach items="${results.artifacts}" var="artifactId">
           <c:set var="url">
-            <ww:url action="browseArtifact" namespace="/">
-              <ww:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
-              <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-            </ww:url>
+            <s:url action="browseArtifact" namespace="/">
+              <s:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
+              <s:param name="artifactId" value="%{'${artifactId}'}"/>
+            </s:url>
           </c:set>
           <c:url var="rssUrl" value="/feeds/${groupId}/${artifactId}"/>
           <li>
       <ul>
         <c:forEach items="${results.versions}" var="version">
           <c:set var="url">
-            <ww:url action="showArtifact" namespace="/">
-              <ww:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
-              <ww:param name="artifactId" value="%{'${results.selectedArtifactId}'}"/>
-              <ww:param name="version" value="%{'${version}'}"/>
-            </ww:url>
+            <s:url action="showArtifact" namespace="/">
+              <s:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
+              <s:param name="artifactId" value="%{'${results.selectedArtifactId}'}"/>
+              <s:param name="version" value="%{'${version}'}"/>
+            </s:url>
           </c:set>
           <li><a href="${url}">${version}/</a></li>
         </c:forEach>
index 65fee203f7ad0508bdb24f67c1bd60060640d1b2..0968b323777cde97a6ef9bfde328f854e7e10d22 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
 
 <html>
 <head>
   <title>Browse Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
     <h2>Versions</h2>
     <ul>
-      <ww:set name="versions" value="versions"/>
+      <s:set name="versions" value="versions"/>
       <c:forEach items="${versions}" var="version">
         <c:set var="url">
-          <ww:url action="showArtifact" namespace="/">
-            <ww:param name="groupId" value="%{'${groupId}'}"/>
-            <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-            <ww:param name="version" value="%{'${version}'}"/>
-          </ww:url>
+          <s:url action="showArtifact" namespace="/">
+            <s:param name="groupId" value="%{'${groupId}'}"/>
+            <s:param name="artifactId" value="%{'${artifactId}'}"/>
+            <s:param name="version" value="%{'${version}'}"/>
+          </s:url>
         </c:set>
         <li><a href="${url}">${version}/</a></li>
       </c:forEach>
index ac8c69c407715b60f0bbf1320eaa97b851a96286..2baf5ff0ff0ca5eb215fc45aaa963e7b080d327c 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
 
 <html>
 <head>
   <title>Browse Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
@@ -41,9 +41,9 @@
     <ul>
       <c:forEach items="${results.groupIds}" var="groupId">
         <c:set var="url">
-          <ww:url action="browseGroup" namespace="/">
-            <ww:param name="groupId" value="%{'${groupId}'}"/>
-          </ww:url>
+          <s:url action="browseGroup" namespace="/">
+            <s:param name="groupId" value="%{'${groupId}'}"/>
+          </s:url>
         </c:set>
         <li><a href="${url}">${groupId}/</a></li>
       </c:forEach>
       <ul>
         <c:forEach items="${results.versions}" var="version">
           <c:set var="url">
-            <ww:url action="browseVersion" namespace="/">
-              <ww:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
-              <ww:param name="version" value="%{'${version}'}"/>
-            </ww:url>
+            <s:url action="browseVersion" namespace="/">
+              <s:param name="groupId" value="%{'${results.selectedGroupId}'}"/>
+              <s:param name="version" value="%{'${version}'}"/>
+            </s:url>
           </c:set>
           <li><a href="${url}">${version}/</a></li>
         </c:forEach>
       <ul>
         <c:forEach items="${results.artifacts}" var="artifactId">
           <c:set var="url">
-            <ww:url action="browseArtifact" namespace="/">
-              <ww:param name="groupId" value="%{'${groupId}'}"/>
-              <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-            </ww:url>
+            <s:url action="browseArtifact" namespace="/">
+              <s:param name="groupId" value="%{'${groupId}'}"/>
+              <s:param name="artifactId" value="%{'${artifactId}'}"/>
+            </s:url>
           </c:set>
           <li><a href="${url}">${artifactId}/</a></li>
         </c:forEach>
index ce3bbe85f3a0027606e11c03f45fe281d3b36f21..204d47f4f3a847397ed76287be031845258b1e94 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <c:if test="${!empty (organisationLogo)}">
-  <ww:set name="organisationUrl" value="organisationUrl"/>
+  <s:set name="organisationUrl" value="organisationUrl"/>
   <c:choose>
     <c:when test="${!empty (organisationUrl)}">
       <a href="${companyUrl}">
index 256e46f6ee2b1f763bcd6e6d4ce2e072fd16bad3..efec28fdd2c2258be4390f95113243c33f2ee177 100644 (file)
@@ -19,7 +19,7 @@
 
 <%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
 <%@ taglib prefix="page"      uri="http://www.opensymphony.com/sitemesh/page" %>
-<%@ taglib prefix="ww"        uri="/webwork" %>
+<%@ taglib prefix="s"        uri="/struts-tags" %>
 <%@ taglib prefix="c"         uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="redback"   uri="http://plexus.codehaus.org/redback/taglib-1.0"  %>
 <%@ taglib prefix="my"        tagdir="/WEB-INF/tags" %>
 <html>
 <head>
   <title>Browse Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
-<ww:set name="model" value="model"/>
+<s:set name="model" value="model"/>
 <c:choose>
   <c:when test="${model.packaging == 'maven-plugin'}">
     <c:url var="imageUrl" value="/images/mavenplugin.gif"/>
   <div id="tabs">
     <span>
       <c:set var="url">
-        <ww:url action="showArtifact">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifact">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Info</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependencies">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependencies">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Dependencies</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependencyTree">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependencyTree">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Dependency Tree</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependees">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependees">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Used By</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactMailingLists">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactMailingLists">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Mailing Lists</my:currentWWUrl>
       <%-- POSTPONED to 1.0-alpha-2
       <redback:ifAnyAuthorized permissions="archiva-access-reports">
         <c:set var="url">
-        <ww:url action="showArtifactReports">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactReports">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Reports</my:currentWWUrl>
       </redback:ifAnyAuthorized>
index 41f165b70a3c4861f02be23b71cdc13644847736..095841dbe00575d84770839c9491c89a5ec3dd74 100644 (file)
@@ -20,7 +20,7 @@
   --%>
 
 <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
-<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
@@ -52,7 +52,7 @@
     </my:currentWWUrl>
   </span>
   <span id="bannerRight">
-    <ww:action namespace="/components" name="companyInfo" executeResult="true"/>
+    <s:action namespace="/components" name="companyInfo" executeResult="true"/>
   </span>
 
   <div class="clear">
         <my:currentWWUrl action="index" namespace="/">Search</my:currentWWUrl>
       </li>
 
-      <ww:if test="${applicationScope.uiOptions.showFindArtifacts}">
+      <s:if test="%{applicationScope.uiOptions.showFindArtifacts}">
         <li class="none">
           <my:currentWWUrl action="findArtifact" namespace="/">Find Artifact</my:currentWWUrl>
         </li>
-      </ww:if>
+      </s:if>
 
       <li class="none">
         <my:currentWWUrl action="browse" namespace="/">Browse</my:currentWWUrl>
index c325c22868278b53a3e9b710e11265e041aec2d2..36139b75c7475a7514cb391ab1507b6ea9e2c119 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Find Artifact</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body onload="document.checksumSearch.file.disabled = false">
@@ -31,7 +31,7 @@
 
 <div id="contentArea">
   <div id="searchBox">
-    <ww:if test="${applicationScope.uiOptions.appletFindEnabled}">
+    <s:if test="${applicationScope.uiOptions.appletFindEnabled}">
       <script type="text/javascript">
         function generateMd5( file, defVal )
         {
         <span class="errorMessage">JavaScript is disabled: using the file browser will not work.</span>
       </noscript>
 
-      <ww:form method="POST" action="checksumSearch" namespace="/"
+      <s:form method="POST" action="checksumSearch" namespace="/"
                onsubmit="this.q.value = generateMd5(this.file.value,this.md5.value); this.file.disabled = true;">
-        <ww:hidden name="q"/>
+        <s:hidden name="q"/>
         <tr>
           <td class="tdLabel"><label for="checksumSearch_file" class="label">Search for:</label></td>
           <td>
             <input type="file" name="file" size="50" value="" id="checksumSearch_file"/>
           </td>
         </tr>
-        <ww:textfield label="Checksum" size="50" name="md5"/>
-        <ww:submit value="Search"/>
-      </ww:form>
+        <s:textfield label="Checksum" size="50" name="md5"/>
+        <s:submit value="Search"/>
+      </s:form>
 
       <p>
         This allows you to search the repository using the checksum of an artifact that you are trying to identify.
@@ -79,7 +79,7 @@
         <b>not</b>
         be uploaded to the server. See the progress bar below for progress of
         locally creating a checksum that is uploaded to the server after you hit "Search".
-        <ww:actionerror/>
+        <s:actionerror/>
       </p>
 
       <p>
                 width="400" height="20" name="ChecksumApplet">
         </applet>
       </p>
-    </ww:if>
-    <ww:else>
-      <ww:form method="POST" action="checksumSearch" namespace="/">
-        <ww:textfield label="Checksum" size="50" name="q"/>
-        <ww:submit value="Search"/>
-      </ww:form>
+    </s:if>
+    <s:else>
+      <s:form method="POST" action="checksumSearch" namespace="/">
+        <s:textfield label="Checksum" size="50" name="q"/>
+        <s:submit value="Search"/>
+      </s:form>
 
       <p>
-        <ww:actionerror/>
+        <s:actionerror/>
       </p>
-    </ww:else>
+    </s:else>
   </div>
 </div>
 
index 49a6c1abf5534af249dae25d48ad1dceb84d3eed..9493113a5ff9bb3722989e8e4e9298aa09f4c8fc 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Error Occurred</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <h1>Error Occurred</h1>
 
-<ww:actionerror/>
+<s:actionerror/>
 
 </body>
 </html>
index 45a435e75b897eaf07a0406c4ff6488adfae4975..0f0beafa24cd2218b66e908310b75f22d383791f 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <html>
 <head>
   <title>Quick Search</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
-<ww:if test="%{infoMessage != null}">
+<s:if test="%{infoMessage != null}">
   <p>${infoMessage}</p>
-</ww:if>
+</s:if>
 
 <body>
 
 
 <div id="contentArea">
 <div id="searchBox">
-  <ww:form method="get" action="quickSearch" validate="true">
-    <ww:textfield label="Search for" size="50" name="q"/>
-    <ww:hidden name="completeQueryString" value="${completeQueryString}"/>        
-    <ww:submit label="Go!"/>
-  </ww:form>
+  <s:form method="get" action="quickSearch" validate="true">
+    <s:textfield label="Search for" size="50" name="q"/>
+    <s:hidden name="completeQueryString" value="%{completeQueryString}"/>        
+    <s:submit label="Go!"/>
+  </s:form>
 
   <script type="text/javascript">
     document.getElementById("quickSearch_q").focus();
   </script>
 
-  <ww:url id="filteredSearchUrl" action="advancedSearch"/>
-  <ww:a href="%{filteredSearchUrl}">
+  <s:url id="filteredSearchUrl" action="advancedSearch"/>
+  <s:a href="%{filteredSearchUrl}">
     Advanced Search
-  </ww:a>
+  </s:a>
 
   <p>
-    <ww:actionerror/>
+    <s:actionerror/>
   </p>
 </div>
 
index f6f16364fc58414a3d373af34bed9daa52bd8dc9..8364cf1d74ea2a48907fb556aece3476000e10b5 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
 
 <html>
 <head>
   <title>Reports</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
@@ -32,7 +32,7 @@
 
 <div id="contentArea">
 
-  <ww:set name="reports" value="reports"/>  
+  <s:set name="reports" value="reports"/>  
     
   <c:forEach var="repository" items="${repositoriesMap}">
        <strong>Repository: ${repository.key}</strong>
            <p>
        <archiva:groupIdLink var="${report.groupId}" includeTop="true"/>
        <c:set var="url">
-        <ww:url action="browseArtifact" namespace="/">
-          <ww:param name="groupId" value="%{'${report.groupId}'}"/>
-          <ww:param name="artifactId" value="%{'${report.artifactId}'}"/>
-        </ww:url>
+        <s:url action="browseArtifact" namespace="/">
+          <s:param name="groupId" value="%{'${report.groupId}'}"/>
+          <s:param name="artifactId" value="%{'${report.artifactId}'}"/>
+        </s:url>
        </c:set>
        <a href="${url}">${report.artifactId}</a> /
        <strong>${report.version}</strong>
        </c:forEach>
   </c:forEach>
 
-  <ww:set name="page" value="page"/>
-  <c:if test="${page > 1}"><a href="<ww:property value='prev' />">&lt;&lt;</a></c:if>
+  <s:set name="page" value="page"/>
+  <c:if test="${page > 1}"><a href="<s:property value='prev' />">&lt;&lt;</a></c:if>
   Page: ${page}
-  <ww:set name="isLastPage" value="isLastPage"/>
-  <c:if test="${!isLastPage}"><a href="<ww:property value='next' />">&gt;&gt;</a></c:if>
+  <s:set name="isLastPage" value="isLastPage"/>
+  <c:if test="${!isLastPage}"><a href="<s:property value='next' />">&gt;&gt;</a></c:if>
 
 </div>
 </body>
index 14cf9a385948586490057e7defba2f6cc09d9c89..5ef5a32a53b20274b2fb04546de3d27d44de70ca 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Reports</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
@@ -30,7 +30,7 @@
 
 <div id="contentArea">
 
-  <ww:text name="The operation generated an empty report."/>
+  <s:text name="The operation generated an empty report."/>
 
 </div>
 </body>
index 117db55ebd2530163a2847550d36de7dba444c4e..62535c64460fe5d440bdf8d9f687f770c9e51a5d 100644 (file)
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 
 <html>
 <head>
   <title>Reports</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-  <ww:form action="generateReport" namespace="/report" validate="true">
-    <ww:textfield label="Row Count" name="rowCount" />
-    <ww:textfield label="Group ID" name="groupId"/>
-    <ww:select label="Repository ID" name="repositoryId" list="repositoryIds"/>
-    <ww:submit value="Show Report"/>
-  </ww:form>
+  <s:form action="generateReport" namespace="/report" validate="true">
+    <s:textfield label="Row Count" name="rowCount" />
+    <s:textfield label="Group ID" name="groupId"/>
+    <s:select label="Repository ID" name="repositoryId" list="repositoryIds"/>
+    <s:submit value="Show Report"/>
+  </s:form>
 
 </div>
 
index 9104945401a6f97bbc75aabfc6dc957aed16d1ad..f7afd051d8e5e3cba87a677f9ec25f674fa4781d 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
@@ -25,7 +25,7 @@
 <html>
 <head>
   <title>Search Results</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
   <div id="searchBox">
 
     <c:if test="${fromFilterSearch == true}">
-      <ww:form method="get" action="filteredSearch" validate="true">
-        <ww:textfield label="Row Count" size="50" name="rowCount"/>
-        <ww:textfield label="Group Id" size="50" name="groupId"/>
-        <ww:textfield label="Artifact Id" size="50" name="artifactId"/>
-        <ww:textfield label="Version" size="50" name="version"/>
-        <ww:textfield label="Class / Package" size="50" name="className"/>
-        <ww:select name="repositoryId" label="Repository ID" list="managedRepositoryList"/>
-        <ww:hidden name="completeQueryString" value="${completeQueryString}"/>
-        <ww:hidden name="fromFilterSearch" value="${fromFilterSearch}"/>
-        <ww:submit label="Go!"/>
-      </ww:form>
+      <s:form method="get" action="filteredSearch" validate="true">
+        <s:textfield label="Row Count" size="50" name="rowCount"/>
+        <s:textfield label="Group Id" size="50" name="groupId"/>
+        <s:textfield label="Artifact Id" size="50" name="artifactId"/>
+        <s:textfield label="Version" size="50" name="version"/>
+        <s:textfield label="Class / Package" size="50" name="className"/>
+        <s:select name="repositoryId" label="Repository ID" list="managedRepositoryList"/>
+        <s:hidden name="completeQueryString" value="${completeQueryString}"/>
+        <s:hidden name="fromFilterSearch" value="${fromFilterSearch}"/>
+        <s:submit label="Go!"/>
+      </s:form>
   
-      <ww:url id="indexUrl" action="index"/>
-      <ww:a href="%{indexUrl}">
+      <s:url id="indexUrl" action="index"/>
+      <s:a href="%{indexUrl}">
         Quick Search Page
-      </ww:a>
+      </s:a>
       <script type="text/javascript">
         document.getElementById("filteredSearch_groupId").focus();
       </script>
       </c:if>
     <c:if test="${fromFilterSearch == false}">
-      <ww:form method="get" action="quickSearch" validate="true">
-        <ww:textfield label="Search for" size="50" name="q"/>
-        <ww:checkbox label="Search within results" name="searchResultsOnly"/>        
-        <ww:hidden name="completeQueryString" value="${completeQueryString}"/>        
-        <ww:submit label="Go!"/>
-      </ww:form> 
+      <s:form method="get" action="quickSearch" validate="true">
+        <s:textfield label="Search for" size="50" name="q"/>
+        <s:checkbox label="Search within results" name="searchResultsOnly"/>        
+        <s:hidden name="completeQueryString" value="${completeQueryString}"/>        
+        <s:submit label="Go!"/>
+      </s:form> 
       <script type="text/javascript">
         document.getElementById("quickSearch_q").focus();
       </script>
     </c:if>
 
   <p>
-    <ww:actionerror/>
+    <s:actionerror/>
   </p>
 
   </div>
             <%-- Prev & Next icons --%>
               <c:if test="${fromFilterSearch == false}">
                <c:set var="prevPageUrl">
-                 <ww:url action="quickSearch" namespace="/">
-                   <ww:param name="q" value="%{'${q}'}"/>                
-                   <ww:param name="currentPage" value="%{'${currentPage - 1}'}"/>
-                 </ww:url>
+                 <s:url action="quickSearch" namespace="/">
+                   <s:param name="q" value="%{'${q}'}"/>                
+                   <s:param name="currentPage" value="%{'${currentPage - 1}'}"/>
+                 </s:url>
                      </c:set>
                      <c:set var="nextPageUrl">
-                 <ww:url action="quickSearch" namespace="/">
-                   <ww:param name="q" value="%{'${q}'}"/>                
-                   <ww:param name="currentPage" value="%{'${currentPage + 1}'}"/>
-                 </ww:url>
+                 <s:url action="quickSearch" namespace="/">
+                   <s:param name="q" value="%{'${q}'}"/>                
+                   <s:param name="currentPage" value="%{'${currentPage + 1}'}"/>
+                 </s:url>
                      </c:set>    
               </c:if>
 
               <c:if test="${fromFilterSearch == true}">
                <c:set var="prevPageUrl">
-                 <ww:url action="filteredSearch" namespace="/">
- <%--            <ww:param name="q" value="%{'${q}'}"/>   --%>
-                   <ww:param name="rowCount" value="%{'${rowCount}'}"/>  
-                   <ww:param name="groupId" value="%{'${groupId}'}"/>
-                   <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-                   <ww:param name="version" value="%{'${version}'}"/>
-                   <ww:param name="className" value="%{'${className}'}"/>
-                   <ww:param name="repositoryId" value="%{'${repositoryId}'}"/>
-                   <ww:param name="filterSearch" value="%{'${filterSearch}'}"/>
-                  <ww:param name="fromResultsPage" value="true"/>
-                   <ww:param name="currentPage" value="%{'${currentPage - 1}'}"/>
-                 <ww:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
-                 <ww:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
-                 </ww:url>
+                 <s:url action="filteredSearch" namespace="/">
+ <%--            <s:param name="q" value="%{'${q}'}"/>   --%>
+                   <s:param name="rowCount" value="%{'${rowCount}'}"/>  
+                   <s:param name="groupId" value="%{'${groupId}'}"/>
+                   <s:param name="artifactId" value="%{'${artifactId}'}"/>
+                   <s:param name="version" value="%{'${version}'}"/>
+                   <s:param name="className" value="%{'${className}'}"/>
+                   <s:param name="repositoryId" value="%{'${repositoryId}'}"/>
+                   <s:param name="filterSearch" value="%{'${filterSearch}'}"/>
+                  <s:param name="fromResultsPage" value="true"/>
+                   <s:param name="currentPage" value="%{'${currentPage - 1}'}"/>
+                 <s:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
+                 <s:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
+                 </s:url>
                      </c:set>
                      <c:set var="nextPageUrl">
-                <ww:url action="filteredSearch" namespace="/">
-<%--            <ww:param name="q" value="%{'${q}'}"/> --%>
-                  <ww:param name="rowCount" value="%{'${rowCount}'}"/>  
-                  <ww:param name="groupId" value="%{'${groupId}'}"/>
-                  <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-                  <ww:param name="version" value="%{'${version}'}"/>
-                  <ww:param name="className" value="%{'${className}'}"/>
-                  <ww:param name="repositoryId" value="%{'${repositoryId}'}"/>
-                  <ww:param name="filterSearch" value="%{'${filterSearch}'}"/>
-                 <ww:param name="fromResultsPage" value="true"/>
-                  <ww:param name="currentPage" value="%{'${currentPage + 1}'}"/>
-                 <ww:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
-                 <ww:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
-                </ww:url>
+                <s:url action="filteredSearch" namespace="/">
+<%--            <s:param name="q" value="%{'${q}'}"/> --%>
+                  <s:param name="rowCount" value="%{'${rowCount}'}"/>  
+                  <s:param name="groupId" value="%{'${groupId}'}"/>
+                  <s:param name="artifactId" value="%{'${artifactId}'}"/>
+                  <s:param name="version" value="%{'${version}'}"/>
+                  <s:param name="className" value="%{'${className}'}"/>
+                  <s:param name="repositoryId" value="%{'${repositoryId}'}"/>
+                  <s:param name="filterSearch" value="%{'${filterSearch}'}"/>
+                 <s:param name="fromResultsPage" value="true"/>
+                  <s:param name="currentPage" value="%{'${currentPage + 1}'}"/>
+                 <s:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
+                 <s:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
+                </s:url>
              </c:set>    
              </c:if>
             
                             <c:choose>                                             
                              <c:when test="${i != currentPage}">
                                <c:set var="specificPageUrl">
-                                 <ww:url action="quickSearch" namespace="/">
-                                   <ww:param name="q" value="%{'${q}'}"/>
-                                   <ww:param name="currentPage" value="%{'${i}'}"/>
-                                   <ww:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
-                                   <ww:param name="completeQueryString" value="%{'${completeQueryString}'}"/>  
-                                 </ww:url>
+                                 <s:url action="quickSearch" namespace="/">
+                                   <s:param name="q" value="%{'${q}'}"/>
+                                   <s:param name="currentPage" value="%{'${i}'}"/>
+                                   <s:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
+                                   <s:param name="completeQueryString" value="%{'${completeQueryString}'}"/>  
+                                 </s:url>
                                </c:set>
                                  <a href="${specificPageUrl}">${i + 1}</a>
                              </c:when>
                             <c:choose>                                             
                              <c:when test="${i != currentPage}">
                                <c:set var="specificPageUrl">
-                                 <ww:url action="filteredSearch" namespace="/">
-<%--                               <ww:param name="q" value="%{'${q}'}"/>   --%>
-                                    <ww:param name="rowCount" value="%{'${rowCount}'}"/>  
-                                    <ww:param name="groupId" value="%{'${groupId}'}"/>
-                                    <ww:param name="artifactId" value="%{'${artifactId}'}"/>
-                                    <ww:param name="version" value="%{'${version}'}"/>
-                                    <ww:param name="className" value="%{'${className}'}"/>
-                                    <ww:param name="repositoryId" value="%{'${repositoryId}'}"/>
-                                    <ww:param name="filterSearch" value="%{'${filterSearch}'}"/>
-                                   <ww:param name="fromResultsPage" value="true"/>
-                                   <ww:param name="currentPage" value="%{'${i}'}"/>
-                                   <ww:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
-                                   <ww:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
-                                 </ww:url>
+                                 <s:url action="filteredSearch" namespace="/">
+<%--                               <s:param name="q" value="%{'${q}'}"/>   --%>
+                                    <s:param name="rowCount" value="%{'${rowCount}'}"/>  
+                                    <s:param name="groupId" value="%{'${groupId}'}"/>
+                                    <s:param name="artifactId" value="%{'${artifactId}'}"/>
+                                    <s:param name="version" value="%{'${version}'}"/>
+                                    <s:param name="className" value="%{'${className}'}"/>
+                                    <s:param name="repositoryId" value="%{'${repositoryId}'}"/>
+                                    <s:param name="filterSearch" value="%{'${filterSearch}'}"/>
+                                   <s:param name="fromResultsPage" value="true"/>
+                                   <s:param name="currentPage" value="%{'${i}'}"/>
+                                   <s:param name="searchResultsOnly" value="%{'${searchResultsOnly}'}"/>
+                                   <s:param name="completeQueryString" value="%{'${completeQueryString}'}"/>
+                                 </s:url>
                                </c:set>
                                <a href="${specificPageUrl}">${i + 1}</a>
                              </c:when>
index 8960e1cba9662da3f77087dbc890b30ca9f66b8f..ace10b9d84f9c43f45dd7be8a49dd39e7f0bc53b 100644 (file)
@@ -17,7 +17,7 @@
   ~ under the License.
   --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
 <html>
 <head>
   <title>Browse Repository</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
-<ww:set name="model" value="model"/>
+<s:set name="model" value="model"/>
 <c:choose>
   <c:when test="${model.packaging == 'maven-plugin'}">
     <c:url var="imageUrl" value="/images/mavenplugin.gif"/>
   <div id="tabs">
     <span>
       <c:set var="url">
-        <ww:url action="showArtifact">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifact">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Info</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependencies">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependencies">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Dependencies</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependencyTree">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependencyTree">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Dependency Tree</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactDependees">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactDependees">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Used By</my:currentWWUrl>
       <c:set var="url">
-        <ww:url action="showArtifactMailingLists">
-          <ww:param name="groupId" value="%{groupId}"/>
-          <ww:param name="artifactId" value="%{artifactId}"/>
-          <ww:param name="version" value="%{version}"/>
-        </ww:url>
+        <s:url action="showArtifactMailingLists">
+          <s:param name="groupId" value="%{groupId}"/>
+          <s:param name="artifactId" value="%{artifactId}"/>
+          <s:param name="version" value="%{version}"/>
+        </s:url>
       </c:set>
       <my:currentWWUrl url="${url}">Mailing Lists</my:currentWWUrl>
       <%-- POSTPONED to 1.0-alpha-2
       <redback:ifAnyAuthorized permissions="archiva-access-reports">
         <c:set var="url">
-             <ww:url action="showArtifactReports">
-               <ww:param name="groupId" value="%{groupId}"/>
-               <ww:param name="artifactId" value="%{artifactId}"/>
-               <ww:param name="version" value="%{version}"/>
-             </ww:url>
+             <s:url action="showArtifactReports">
+               <s:param name="groupId" value="%{groupId}"/>
+               <s:param name="artifactId" value="%{artifactId}"/>
+               <s:param name="version" value="%{version}"/>
+             </s:url>
            </c:set>
            <my:currentWWUrl url="${url}">Reports</my:currentWWUrl>
       </redback:ifAnyAuthorized>
index c22bccc9733f45594b1c306ea846d38289510d9f..ea907a0642d81028fcfa752da9f9c2d031f1d75c 100644 (file)
 
 <%-- http://www.opensymphony.com/webwork/wikidocs/File%20Upload%20Interceptor.html --%>
 
-<%@ taglib prefix="ww" uri="/webwork" %>
+<%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <head>
   <title>Upload Artifact</title>
-  <ww:head/>
+  <s:head/>
 </head>
 
 <body>
 
 <div id="contentArea">
 
-  <ww:actionerror/>
-  <ww:actionmessage/>
+  <s:actionerror/>
+  <s:actionmessage/>
 
-  <ww:form action="upload!doUpload" method="post" enctype="multipart/form-data" validate="true">    
+  <s:form action="upload!doUpload" method="post" enctype="multipart/form-data" validate="true">    
     <%@ include file="/WEB-INF/jsp/include/uploadForm.jspf" %>
-    <ww:submit/>
-  </ww:form>
+    <s:submit/>
+  </s:form>
 </div>
 
 </body>
index d3e738b43224f45400a25347ebcdca53c6748f90..8bcd489f4f048bc04327315412c2c8a43871d66a 100644 (file)
   ~ under the License.\r
   --%>\r
 \r
-<%@ taglib uri="/webwork" prefix="ww" %>\r
+<%@ taglib uri="/struts-tags" prefix="s" %>\r
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>\r
 <%@ attribute name="action" %>\r
 <%@ attribute name="namespace" %>\r
 <%@ attribute name="url" %>\r
 \r
 <c:set var="currentUrl">\r
-  <ww:url/>\r
+  <s:url/>\r
 </c:set>\r
 <c:if test="${!empty (action) && !empty (namespace)}">\r
   <c:set var="url">\r
-    <ww:url action="${action}" namespace="${namespace}"/>\r
+    <s:url action="%{action}" namespace="%{namespace}"/>\r
   </c:set>\r
 </c:if>\r
 <c:set var="text">\r
index e9127bda2edd413949b6a63eda19d179a9ff6263..d002c0fb56d73f1f5247c5c44bf282af046428ef 100644 (file)
@@ -26,7 +26,7 @@
 
   <filter>
     <filter-name>webwork-cleanup</filter-name>
-    <filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
+    <filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
   </filter>
 
   <filter>
@@ -36,7 +36,7 @@
 
   <filter>
     <filter-name>webwork</filter-name>
-    <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
+    <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
   </filter>
 
   <!-- this must be before the sitemesh filter -->
index 75d8c6d8229d994d254e5e424c7ff337416e87f1..7bfad75948e17303e7756d0815b64cb907321ad4 100644 (file)
@@ -1,4 +1,4 @@
-<@ww.iterator value="parameters.list">
+<@s.iterator value="parameters.list">
     <#if parameters.listKey?exists>
         <#assign itemKey = stack.findValue(parameters.listKey)/>
     <#else>
@@ -36,4 +36,4 @@
 <label for="${parameters.id?html}${itemKey?html}"><#rt/>
     ${itemValue}<#t/>
 </label><br/>
-</@ww.iterator>
+</@s.iterator>
index 89ef578d120f2b56a88b4ec5bdf18e598e44a81b..64796bc5274068873cee02e473c5890e70e1021c 100644 (file)
@@ -1,4 +1,4 @@
-<@ww.iterator value="parameters.list">
+<@s.iterator value="parameters.list">
     <#if parameters.listKey?exists>
         <#assign itemKey = stack.findValue(parameters.listKey)/>
     <#else>
@@ -36,4 +36,4 @@
 <label for="${parameters.id?html}${itemKey?html}"><#rt/>
     ${itemValue}<#t/>
 </label><br/>
-</@ww.iterator>
+</@s.iterator>
index c97423fe9b22d6c231cccf5737a5b5c88363627f..2755cb3fe4fc1b1aef9de4c9b56e013c82b29d01 100644 (file)
@@ -1,7 +1,7 @@
 <input type="hidden"<#rt/>
  name="${parameters.name?default("")?html}"<#rt/>
 <#if parameters.nameValue?exists>
- value="<@ww.property value="parameters.nameValue"/>"<#rt/>
+ value="<@s.property value="parameters.nameValue"/>"<#rt/>
 </#if>
 <#if parameters.id?exists>
  id="${parameters.id?html}"<#rt/>
index 35f526e4ff4bd88cdd9d49b4c637b6b62955a38e..d5cefc224b56b4fff2e71671a086c3c227a64884 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action;
  * under the License.
  */
 
-import com.opensymphony.xwork.ActionSupport;
+import com.opensymphony.xwork2.ActionSupport;
 import org.apache.commons.lang.StringUtils;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 
index 66ca872c21ac0ed061cbd22acee0238376bb1428..4a8b0eabe80326aee82af7f22d664f145934369d 100644 (file)
@@ -19,12 +19,8 @@ package org.apache.maven.archiva.web.action.admin.appearance;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
-import org.apache.maven.archiva.configuration.ArchivaConfiguration;
-import org.apache.maven.archiva.configuration.Configuration;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.OrganisationInformation;
-import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.easymock.MockControl;
 
 /**
  * @author <a href="mailto:james@atlassian.com">James William Dumay</a>
index fec9e8f815512307f093043750d33490a980e038..42b7525cdbb364f9341da627bf886cff56293066 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.appearance;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.OrganisationInformation;
 import org.apache.maven.archiva.configuration.Configuration;
index 213ce9fbb051847f16ac653bf5229576d43773d9..8f35ec74cc8d0bb40bea80235252a9812f4666a0 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
@@ -33,7 +33,7 @@ import org.apache.maven.archiva.policies.PropagateErrorsOnUpdateDownloadPolicy;
 import org.apache.maven.archiva.policies.ReleasesPolicy;
 import org.apache.maven.archiva.policies.SnapshotsPolicy;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index d3d30f19076fd5331f0a876c3c709d2cf1e66457..b92e8e2971f518abb40e9a61e48f026e49a26df6 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -28,7 +28,7 @@ import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index b8b900666caf011c55b7b937ad65f58ddb223440..451c02366ad546a15751f8eef1b07ff51b58cedf 100644 (file)
@@ -17,7 +17,7 @@
 
 package org.apache.maven.archiva.web.action.admin.connectors.proxy;
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
@@ -25,7 +25,7 @@ import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index 31364f4b8a558ce9dee485f2c855c53ad081a7fd..cafc8ebc5d345673465db97896db0a2e3d6e55e2 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
@@ -33,7 +33,7 @@ import org.apache.maven.archiva.policies.PropagateErrorsOnUpdateDownloadPolicy;
 import org.apache.maven.archiva.policies.ReleasesPolicy;
 import org.apache.maven.archiva.policies.SnapshotsPolicy;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index 16544fd107b6e0c1ba1fe416669869486611e573..5afbb7b2934e0dbb99b3f3dc36438aa309e70eed 100644 (file)
@@ -17,7 +17,7 @@
 
 package org.apache.maven.archiva.web.action.admin.connectors.proxy;
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
@@ -25,7 +25,7 @@ import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index fd54661ee74b42221ebd94e4516f181e349d2edf..ad37f07afef457f0ca6d8ca541865a1a99385ef3 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
@@ -28,7 +28,7 @@ import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index 1e1d6b3351654a6a8aa50e5534c6fd2ae75bb666..2f5615dc9e756a7d91eaf74884a9570b8350234d 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.connectors.proxy;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 
 import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
@@ -30,7 +30,7 @@ import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.functors.ProxyConnectorConfigurationOrderComparator;
 import org.apache.maven.archiva.web.action.AbstractWebworkTestCase;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
 import org.codehaus.plexus.registry.RegistryException;
 import org.easymock.MockControl;
 
index beaafba67a83c789e532f154d61ac6942a0e80bd..2c7e9be5f2dfcc44162c8b9902da8cc9bfe4b61b 100644 (file)
@@ -19,15 +19,15 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.commons.io.FileUtils;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.codehaus.plexus.redback.role.RoleManager;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
@@ -63,6 +63,7 @@ public class AddManagedRepositoryActionTest
         return AbstractManagedRepositoriesAction.class.getName().replace( '.', '/' ) + "Test.xml";
     }
     
+    @Override
     protected void setUp()
         throws Exception
     {
index 8656ebe5a6182595819d1e5b9c4a47390200ef43..263efe7156672379833ae2991aab5a764199e654 100644 (file)
@@ -19,12 +19,12 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
index 41536c1c726cb62dd18f1c2ff37095e657914a67..a18374692767b9ab408ea00545ff078e74e7e1db 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
@@ -31,8 +31,8 @@ import org.apache.maven.archiva.model.ArchivaProjectModel;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.codehaus.plexus.redback.role.RoleManager;
 import org.codehaus.plexus.redback.role.RoleManagerException;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.registry.RegistryException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
index 1457f5952bf0a75a97e81d67ea61a83fe88ba1b1..2cdd83a0d2117a18bc396ccce1694fa2636dc5c6 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.IndeterminateConfigurationException;
index 46efd31aea438ed80dbea726e495e4c8d28487d3..ffcac5dc22d4595bf7813c4b2d5603464c16c561 100644 (file)
@@ -21,12 +21,12 @@ package org.apache.maven.archiva.web.action.admin.repositories;
 
 import java.util.Collections;
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.RepositoryGroupConfiguration;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
index 5c944f8d6ce0ea40f16f854bf9c39eb06b3863bf..b02afc47bdc35fe735365b386bcecbe5c63a7cc6 100644 (file)
@@ -19,14 +19,14 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.security.ArchivaRoleConstants;
 import org.codehaus.plexus.redback.role.RoleManager;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
index eb8a9292064c390dd7d82d1d76999da31a40de15..85f8909f31ca2b8623b916f367fd28b2f9383953 100644 (file)
@@ -19,12 +19,12 @@ package org.apache.maven.archiva.web.action.admin.repositories;
  * under the License.
  */
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.RemoteRepositoryConfiguration;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
index 1b372a1dab3a78bf83be3081545d3d28a967a14b..5440d23d7bbe21b7b1b28714ac95dcf7a9ea9c83 100644 (file)
@@ -21,9 +21,9 @@ package org.apache.maven.archiva.web.action.admin.repositories;
 
 import com.meterware.servletunit.ServletRunner;
 import com.meterware.servletunit.ServletUnitClient;
-import com.opensymphony.xwork.Action;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import com.opensymphony.xwork2.Action;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 
 /**
index 5b12e8ea2e30eddf7a66480cbee91322cf490660..5918b336ef0352aa6b549b18bad37135e8915cf5 100644 (file)
@@ -25,14 +25,14 @@ import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.RepositoryGroupConfiguration;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
 import com.meterware.servletunit.ServletRunner;
 import com.meterware.servletunit.ServletUnitClient;
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 
 /**
  * RepositoryGroupsActionTest
index 9cd3606406bd6c9e35a34ed4b290660ab89c4d41..e5783d42a324a81d29bd420823405f9d380ab42a 100644 (file)
@@ -22,12 +22,12 @@ package org.apache.maven.archiva.web.action.admin.repositories;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.Configuration;
 import org.apache.maven.archiva.configuration.RepositoryGroupConfiguration;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionBundle;
-import org.codehaus.plexus.redback.xwork.interceptor.SecureActionException;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionBundle;
+import org.codehaus.plexus.redback.struts2.interceptor.SecureActionException;
 import org.codehaus.plexus.spring.PlexusInSpringTestCase;
 import org.easymock.MockControl;
 
-import com.opensymphony.xwork.Action;
+import com.opensymphony.xwork2.Action;
 
 /**
  * SortRepositoriesActionTest
index ba213da8e764b85d88dba3bd02badafd14e9f1d9..5feec48ed7d2c6a5c0a6969c3a54bff1c5f6f827 100644 (file)
@@ -26,7 +26,7 @@
     </component>
 
     <component>
-      <role>com.opensymphony.xwork.Action</role>
+      <role>com.opensymphony.xwork2.Action</role>
       <role-hint>addManagedRepositoryAction</role-hint>
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.AddManagedRepositoryAction</implementation>
       <instantiation-strategy>per-lookup</instantiation-strategy>
@@ -34,7 +34,7 @@
     </component>
     
     <component>
-      <role>com.opensymphony.xwork.Action</role>
+      <role>com.opensymphony.xwork2.Action</role>
       <role-hint>deleteManagedRepositoryAction</role-hint>
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.DeleteManagedRepositoryAction</implementation>
       <instantiation-strategy>per-lookup</instantiation-strategy>
@@ -48,7 +48,7 @@
     </component>
     
     <component>
-      <role>com.opensymphony.xwork.Action</role>
+      <role>com.opensymphony.xwork2.Action</role>
       <role-hint>editManagedRepositoryAction</role-hint>
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.EditManagedRepositoryAction</implementation>
       <instantiation-strategy>per-lookup</instantiation-strategy>
index 43c1eae5436d065522c6fc674432d0aebcf9883c..40c33e0139094446f1c77a02180f53904376c5a1 100644 (file)
@@ -30,7 +30,7 @@
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.RoleManagerStub</implementation>
     </component>
     <component>
-      <role>com.opensymphony.xwork.Action</role>
+      <role>com.opensymphony.xwork2.Action</role>
       <role-hint>deleteManagedRepositoryAction</role-hint>
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.DeleteManagedRepositoryAction</implementation>
       <instantiation-strategy>per-lookup</instantiation-strategy>
index d6c868254d4f7854d91f6f112297b28698238bff..bffa4169950ad85f1b7cfe53ebfe944080adea69 100644 (file)
@@ -25,7 +25,7 @@
       <lifecycle-handler>basic</lifecycle-handler>
     </component>
     <component>
-      <role>com.opensymphony.xwork.Action</role>
+      <role>com.opensymphony.xwork2.Action</role>
       <role-hint>repositoriesAction</role-hint>
       <implementation>org.apache.maven.archiva.web.action.admin.repositories.RepositoriesAction</implementation>
       <instantiation-strategy>per-lookup</instantiation-strategy>
index 9c95ff00d373b108dd514dc800edb82db9ce13dd..2a825f08a08f39829761c391cc73988b18219856 100644 (file)
@@ -81,7 +81,7 @@
     </dependency>
     <dependency>
       <groupId>org.codehaus.redback</groupId>
-      <artifactId>redback-xwork-integration</artifactId>
+      <artifactId>redback-struts2-integration</artifactId>
     </dependency>
     <dependency>
       <groupId>org.codehaus.redback</groupId>
index fb47038b3c0f3bfde4fe420d953cb6692e05a290..332462a1e261c99096eb8d9c9ac4c3055cf8be98 100644 (file)
@@ -64,7 +64,7 @@ import org.joda.time.DateTime;
 import org.joda.time.format.DateTimeFormatter;
 import org.joda.time.format.ISODateTimeFormat;
 
-import com.opensymphony.xwork.ActionContext;
+import com.opensymphony.xwork2.ActionContext;
 
 /**
  * @author <a href="mailto:james@atlassian.com">James William Dumay</a> Portions from the Apache Jackrabbit Project
index 032f614fdbe1214fed3b31a479e7c6c7fe44409b..c7b381daa40a13fb9056511bfcd6212b49458ace 100644 (file)
@@ -85,12 +85,12 @@ import org.codehaus.plexus.redback.policy.AccountLockedException;
 import org.codehaus.plexus.redback.policy.MustChangePasswordException;
 import org.codehaus.plexus.redback.system.SecuritySession;
 import org.codehaus.plexus.redback.system.SecuritySystemConstants;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
+import org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator;
 import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import com.opensymphony.xwork.ActionContext;
+import com.opensymphony.xwork2.ActionContext;
 
 /**
  * @author <a href="mailto:james@atlassian.com">James William Dumay</a>
index 2c5a39d357e872711ef2bbcab14b1c1b752d16bb..5af2a8c193878322496460378555a84ea67a20d0 100644 (file)
@@ -31,7 +31,7 @@ import org.codehaus.plexus.redback.authentication.AuthenticationResult;
 import org.codehaus.plexus.redback.authorization.UnauthorizedException;
 import org.codehaus.plexus.redback.policy.MustChangePasswordException;
 import org.codehaus.plexus.redback.policy.AccountLockedException;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
+import org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
index a73e72d5e948186302211ab58bc5bc99dcc1815c..d8b1d98e8d8bdebcb56e8d8a781b682ad46b0f80 100644 (file)
@@ -46,7 +46,7 @@ import org.apache.maven.archiva.configuration.ConfigurationListener;
 import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.maven.archiva.security.ArchivaXworkUser;
 import org.apache.maven.archiva.security.ServletAuthenticator;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
+import org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator;
 import org.codehaus.plexus.spring.PlexusToSpringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index e882c5ad65ba4fa53478c81d6205024653eda4f6..ef55e7624bf23bc7d41418ff7d63fe93c3c5d39c 100644 (file)
@@ -46,7 +46,7 @@ import org.codehaus.plexus.redback.policy.AccountLockedException;
 import org.codehaus.plexus.redback.policy.MustChangePasswordException;
 import org.codehaus.plexus.redback.system.SecuritySession;
 import org.codehaus.plexus.redback.users.User;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
+import org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator;
 
 public class ArchivaDavSessionProviderTest extends TestCase
 {
index c691ee037ca362e6a98048182dc9f0889650de39..fd67257efad24f09a31ab474842dbc6ad99f622d 100644 (file)
           <field-name>mimeTypes</field-name>
         </requirement>
         <requirement>
-          <role>org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator</role>
+          <role>org.codehaus.plexus.redback.struts2.filter.authentication.HttpAuthenticator</role>
           <role-hint>basic</role-hint>
           <field-name>httpAuth</field-name>
         </requirement>
index 7d311138b243b8f62ab50938b1c95c519e9649a6..b850fa627c4e80d50693cf9c711d89e08f7c39b6 100644 (file)
@@ -83,6 +83,7 @@
                     <exclude>ant:ant-optional</exclude>
                     <!-- exclude>org.apache.maven.wagon:wagon-http-lightweight</exclude -->
                     <exclude>xom:xom</exclude>
+                    <exclude>org.codehaus.plexus:plexus-xwork-integration</exclude>
                   </excludes>
                 </bannedDependencies>
               </rules>
       <dependency>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-spring</artifactId>
-        <version>1.0</version>
+        <version>1.2-SNAPSHOT</version>
         <exclusions>
           <exclusion>
             <groupId>org.codehaus.plexus</groupId>
           </exclusion>
         </exclusions>
       </dependency>
+      
+      <!-- redback -->
+      
       <dependency>
         <groupId>org.codehaus.redback</groupId>
         <artifactId>redback-rbac-memory</artifactId>
         <scope>test</scope>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <scope>test</scope>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <scope>test</scope>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
       <dependency>
         <groupId>org.codehaus.redback</groupId>
-        <artifactId>redback-taglib</artifactId>
+        <artifactId>redback-struts2-taglib</artifactId>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
       <dependency>
         <groupId>org.codehaus.redback</groupId>
-        <artifactId>redback-xwork-content</artifactId>
+        <artifactId>redback-struts2-content</artifactId>
         <version>${redback.version}</version>
         <type>war</type>
         <exclusions>
             <groupId>classworlds</groupId>
             <artifactId>classworlds</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
         </exclusions>
       </dependency>
       <dependency>
         <groupId>org.codehaus.redback</groupId>
-        <artifactId>redback-xwork-integration</artifactId>
+        <artifactId>redback-struts2-integration</artifactId>
         <version>${redback.version}</version>
         <exclusions>
           <exclusion>
           <exclusion>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
-          </exclusion>
-          <exclusion>
-            <groupId>org.codehaus.plexus</groupId>
-            <artifactId>plexus-container-default</artifactId>
-          </exclusion>
+          </exclusion> 
         </exclusions>
       </dependency>
+      
+      <!-- redback -->
+      
       <dependency>
         <groupId>org.codehaus.plexus.registry</groupId>
         <artifactId>plexus-registry-api</artifactId>
         <version>${wagon.version}</version>
       </dependency>
       <dependency>
-        <groupId>com.opensymphony</groupId>
-        <artifactId>webwork</artifactId>
-        <version>2.2.6</version>
+        <groupId>org.apache.struts</groupId>
+        <artifactId>struts2-core</artifactId>
+        <version>2.0.11.2</version>
+        <exclusions>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.struts</groupId>
+        <artifactId>struts2-spring-plugin</artifactId>
+        <version>2.0.11.2</version>
         <exclusions>
           <exclusion>
             <groupId>commons-logging</groupId>
       <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-context</artifactId>
-        <version>2.5.1</version>
+        <version>2.5.5</version>
         <exclusions>
           <exclusion>
             <groupId>commons-logging</groupId>
       <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-web</artifactId>
-        <version>2.5.1</version>
+        <version>2.5.5</version>
+        <exclusions>
+          <exclusion>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>2.5.5</version>
         <exclusions>
           <exclusion>
             <groupId>commons-logging</groupId>
           </exclusion>
         </exclusions>
       </dependency>
-      <dependency>
-        <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-xwork-integration</artifactId>
-        <version>1.0-alpha-7</version>
-        <exclusions>
-          <exclusion>
-            <groupId>velocity</groupId>
-            <artifactId>velocity-dep</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
       <dependency>
         <groupId>net.sf.ehcache</groupId>
         <artifactId>ehcache</artifactId>
   <properties>
     <maven.version>2.0.8</maven.version>
     <wagon.version>1.0-beta-4</wagon.version>
-    <redback.version>1.1.1</redback.version>
+    <redback.version>1.2-SNAPSHOT</redback.version>
     <jetty.version>6.1.6</jetty.version>
   </properties>
   <profiles>