mirror of https://github.com/apache/archiva.git
get RID of org.apache.maven.archiva packages : validator package in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30e0e0a01f
commit
54eed9ca99
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.archiva.web.validator;
|
package org.apache.archiva.web.validator;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.archiva.web.validator;
|
package org.apache.archiva.web.validator;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.archiva.web.validator;
|
package org.apache.archiva.web.validator;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -37,8 +37,8 @@
|
||||||
<validator name="conversion" class="com.opensymphony.xwork2.validator.validators.ConversionErrorFieldValidator"/>
|
<validator name="conversion" class="com.opensymphony.xwork2.validator.validators.ConversionErrorFieldValidator"/>
|
||||||
<validator name="stringlength" class="com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator"/>
|
<validator name="stringlength" class="com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator"/>
|
||||||
<validator name="regex" class="com.opensymphony.xwork2.validator.validators.RegexFieldValidator"/>
|
<validator name="regex" class="com.opensymphony.xwork2.validator.validators.RegexFieldValidator"/>
|
||||||
<validator name="interval" class="org.apache.maven.archiva.web.validator.IntervalValidator"/>
|
<validator name="interval" class="org.apache.archiva.web.validator.IntervalValidator"/>
|
||||||
<validator name="syncedrepo" class="org.apache.maven.archiva.web.validator.SyncedRepositoryValidator"/>
|
<validator name="syncedrepo" class="org.apache.archiva.web.validator.SyncedRepositoryValidator"/>
|
||||||
<validator name="crontab" class="org.apache.maven.archiva.web.validator.CronExpressionValidator"/>
|
<validator name="crontab" class="org.apache.archiva.web.validator.CronExpressionValidator"/>
|
||||||
</validators>
|
</validators>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.archiva.web.validator.utils;
|
package org.apache.archiva.web.validator.utils;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -22,7 +22,7 @@ package org.apache.maven.archiva.web.action.admin.appearance;
|
||||||
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
||||||
import org.apache.maven.archiva.configuration.OrganisationInformation;
|
import org.apache.maven.archiva.configuration.OrganisationInformation;
|
||||||
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
||||||
import org.apache.maven.archiva.web.validator.utils.ValidatorUtil;
|
import org.apache.archiva.web.validator.utils.ValidatorUtil;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
|
@ -19,18 +19,16 @@ package org.apache.maven.archiva.web.action.admin.legacy;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import com.opensymphony.xwork2.ObjectFactory;
|
|
||||||
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.opensymphony.xwork2.validator.DefaultActionValidatorManager;
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import org.apache.maven.archiva.configuration.LegacyArtifactPath;
|
import org.apache.maven.archiva.configuration.LegacyArtifactPath;
|
||||||
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
||||||
import org.apache.maven.archiva.web.validator.utils.ValidatorUtil;
|
import org.apache.archiva.web.validator.utils.ValidatorUtil;
|
||||||
|
|
||||||
public class AddLegacyArtifactPathActionTest extends TestCase
|
public class AddLegacyArtifactPathActionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,18 +19,16 @@ package org.apache.maven.archiva.web.action.admin.networkproxies;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import com.opensymphony.xwork2.ObjectFactory;
|
|
||||||
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
import com.opensymphony.xwork2.validator.ActionValidatorManager;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.opensymphony.xwork2.validator.DefaultActionValidatorManager;
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import org.apache.maven.archiva.configuration.NetworkProxyConfiguration;
|
import org.apache.maven.archiva.configuration.NetworkProxyConfiguration;
|
||||||
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
import org.apache.maven.archiva.web.action.admin.repositories.DefaultActionValidatorManagerFactory;
|
||||||
import org.apache.maven.archiva.web.validator.utils.ValidatorUtil;
|
import org.apache.archiva.web.validator.utils.ValidatorUtil;
|
||||||
|
|
||||||
public class ConfigureNetworkProxyActionTest extends TestCase
|
public class ConfigureNetworkProxyActionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.apache.commons.io.FileUtils;
|
||||||
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
||||||
import org.apache.maven.archiva.configuration.Configuration;
|
import org.apache.maven.archiva.configuration.Configuration;
|
||||||
import org.apache.maven.archiva.security.ArchivaRoleConstants;
|
import org.apache.maven.archiva.security.ArchivaRoleConstants;
|
||||||
import org.apache.maven.archiva.web.validator.utils.ValidatorUtil;
|
import org.apache.archiva.web.validator.utils.ValidatorUtil;
|
||||||
import org.codehaus.plexus.redback.role.RoleManager;
|
import org.codehaus.plexus.redback.role.RoleManager;
|
||||||
import org.codehaus.plexus.registry.Registry;
|
import org.codehaus.plexus.registry.Registry;
|
||||||
import org.codehaus.redback.integration.interceptor.SecureActionBundle;
|
import org.codehaus.redback.integration.interceptor.SecureActionBundle;
|
||||||
|
|
|
@ -35,7 +35,7 @@ import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
||||||
import org.apache.maven.archiva.configuration.Configuration;
|
import org.apache.maven.archiva.configuration.Configuration;
|
||||||
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
|
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
|
||||||
import org.apache.maven.archiva.security.ArchivaRoleConstants;
|
import org.apache.maven.archiva.security.ArchivaRoleConstants;
|
||||||
import org.apache.maven.archiva.web.validator.utils.ValidatorUtil;
|
import org.apache.archiva.web.validator.utils.ValidatorUtil;
|
||||||
import org.codehaus.plexus.redback.role.RoleManager;
|
import org.codehaus.plexus.redback.role.RoleManager;
|
||||||
import org.codehaus.plexus.registry.Registry;
|
import org.codehaus.plexus.registry.Registry;
|
||||||
import org.codehaus.redback.integration.interceptor.SecureActionBundle;
|
import org.codehaus.redback.integration.interceptor.SecureActionBundle;
|
||||||
|
|
Loading…
Reference in New Issue