]> source.dussan.org Git - archiva.git/commitdiff
use o.a.a package namespace for spring-quartz component
authorOlivier Lamy <olamy@apache.org>
Wed, 11 Apr 2012 22:26:10 +0000 (22:26 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 11 Apr 2012 22:26:10 +0000 (22:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68

24 files changed:
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/resources/spring-context.xml
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml
archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml
archiva-modules/archiva-base/archiva-indexer/src/test/resources/spring-context.xml
archiva-modules/archiva-base/archiva-proxy/src/test/resources/spring-context.xml
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/DefaultRepositoryCommonValidator.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml
archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml
archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryArchivaTaskScheduler.java
archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryTaskJob.java
archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/resources/META-INF/spring-context.xml
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultCommonServices.java
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml
archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml
archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/applicationContext.xml
archiva-modules/archiva-web/archiva-webapp-js/src/test/resources/META-INF/spring-context-test.xml
archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/action/admin/repositories/AddManagedRepositoryAction.java
archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java
archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/validator/CronExpressionValidator.java
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
archiva-modules/archiva-web/archiva-webapp/src/test/resources/META-INF/spring-context.xml
archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml
archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml

index e042a41fd702c125366c7b386b820ae6e474da90..5de5840fdb8e79e9de487a3e6ef32b8220ddf39b 100644 (file)
@@ -38,7 +38,7 @@
     <constructor-arg ref="jcr-config"/>
   </bean>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 5c8a72210ed8947e036db6d876e9fee8b1b53e03..c365d765ed3043143321246bf8bc2093f40fff68 100644 (file)
@@ -26,7 +26,7 @@
            http://www.springframework.org/schema/context 
            http://www.springframework.org/schema/context/spring-context-3.0.xsd" default-lazy-init="true">
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 8e55004c2f7d6a45d0d3f0382a7c1220496af79b..488c06db837392bf78cbf70ca87855091a2b6335 100644 (file)
@@ -45,7 +45,7 @@
     </property>
   </bean>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 1b4d96dc68fdcb7af42fd420ddf2a882067b06a7..88c18352a4467e3fffb6f9cbeb81c7adf6dfcdaf 100644 (file)
@@ -33,7 +33,7 @@
   <context:annotation-config/>
   <context:component-scan base-package="org.apache.archiva.indexer.search.mock"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 3e46fc4737aeb6dccd10d9f8e12633df1dd197bf..1c765caa8eb62c8bacde65132ee8e92e5f16f04b 100755 (executable)
@@ -33,7 +33,7 @@
   <alias name="archivaConfiguration#mock" alias="archivaConfiguration#default"/>
   <alias name="archivaConfiguration#mock" alias="archivaConfiguration"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 5ee256b97f3323f2dd869b690fb5288649205986..daaa3a8380c90bf58947520b93d55ee47f5317fc 100644 (file)
@@ -25,10 +25,10 @@ import org.apache.archiva.admin.model.beans.ManagedRepository;
 import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin;
 import org.apache.archiva.configuration.ArchivaConfiguration;
 import org.apache.archiva.configuration.Configuration;
+import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
 import org.apache.commons.lang.StringUtils;
 import org.apache.commons.validator.GenericValidator;
 import org.codehaus.plexus.registry.Registry;
-import org.codehaus.redback.components.scheduler.CronExpressionValidator;
 import org.springframework.stereotype.Service;
 
 import javax.inject.Inject;
index 6eebfe03f26cc107ce008cb5912ab863b503d260..584296383f922d3ba123bb4488f5c58c4ed3cca4 100644 (file)
@@ -29,7 +29,7 @@
   <context:annotation-config/>
   <context:component-scan base-package="org.apache.archiva.admin.mock"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index cbc039cdf867bb4b1a3b81dda14d1e6a071fa197..46a9593c95b1bbb3633c0081a5c8a84b8555705e 100644 (file)
@@ -23,7 +23,7 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" default-lazy-init="true">
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index eeaafed1e389d57a6abdf479f412a55516d98ce3..35daba906f0de8ce82703e7ec51690e2c119f9ca 100644 (file)
@@ -24,6 +24,7 @@ import org.apache.archiva.metadata.repository.MetadataRepositoryException;
 import org.apache.archiva.metadata.repository.RepositorySession;
 import org.apache.archiva.metadata.repository.RepositorySessionFactory;
 import org.apache.archiva.metadata.repository.stats.RepositoryStatisticsManager;
+import org.apache.archiva.redback.components.scheduler.Scheduler;
 import org.apache.archiva.scheduler.ArchivaTaskScheduler;
 import org.apache.archiva.common.ArchivaException;
 import org.apache.archiva.configuration.ArchivaConfiguration;
@@ -32,8 +33,7 @@ import org.apache.archiva.configuration.ConfigurationListener;
 import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
 import org.codehaus.plexus.taskqueue.TaskQueue;
 import org.codehaus.plexus.taskqueue.TaskQueueException;
-import org.codehaus.redback.components.scheduler.CronExpressionValidator;
-import org.codehaus.redback.components.scheduler.Scheduler;
+import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
 import org.quartz.SchedulerException;
 import org.quartz.impl.JobDetailImpl;
 import org.quartz.impl.triggers.CronTriggerImpl;
index 9417ff68639c9f8d189ae8a6a8ff5497cb213acc..63ac0eae97efe786e2d7c4c54cb7d27d69b5e6df 100644 (file)
@@ -19,9 +19,9 @@ package org.apache.archiva.scheduler.repository;
  * under the License.
  */
 
+import org.apache.archiva.redback.components.scheduler.AbstractJob;
 import org.codehaus.plexus.taskqueue.TaskQueue;
 import org.codehaus.plexus.taskqueue.TaskQueueException;
-import org.codehaus.redback.components.scheduler.AbstractJob;
 import org.quartz.JobDataMap;
 import org.quartz.JobExecutionContext;
 import org.quartz.JobExecutionException;
index 702cf13a09b4c0a0299d5c52bc620ec72f660180..a59b0ea404455827f52e1f6c922f92d524534a7d 100755 (executable)
@@ -44,7 +44,7 @@
   <!--
   olamy we can use this if one day we move away from the old plexus stuff :-)
   btw comment this as it breaks unit tests in web as depending on classloader loading
-  it override beans with same name but with type org.codehaus.redback.components.scheduler.DefaultScheduler
+  it override beans with same name but with type org.apache.archiva.redback.components.scheduler.DefaultScheduler
   <task:scheduler id="scheduler" pool-size="10"/>
   -->
 </beans>
\ No newline at end of file
index a2c039f76030271da60ba3a8c49b62b0962acebb..31a777491bb07347e80b8f0d058d5e1caa482c70 100644 (file)
@@ -22,7 +22,7 @@ import org.apache.archiva.rest.api.services.ArchivaRestServiceException;
 import org.apache.archiva.rest.api.services.CommonServices;
 import org.apache.commons.io.IOUtils;
 import org.apache.commons.lang.StringUtils;
-import org.codehaus.redback.components.scheduler.CronExpressionValidator;
+import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
 import org.apache.archiva.redback.rest.api.services.RedbackServiceException;
 import org.apache.archiva.redback.rest.api.services.UtilServices;
 import org.slf4j.Logger;
index 364578022545b58a729e539cde8154184c09cbc9..1253dfd831f327ff3ccea6bedfd38fd774d2b612 100644 (file)
@@ -33,7 +33,7 @@
   <context:component-scan
       base-package="org.apache.archiva.rest.services.utils"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 969f4be0169d29ca95487ecbf12161c0559cd9ec..3197db72c65144c957a499fb329a097d204b5dd1 100644 (file)
     </property>
   </bean>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 46aca0bb75c572b67d6c1bdc03296239946ab300..a15e45523fdd245c5074d6ac3e5be624b978170f 100644 (file)
@@ -22,12 +22,12 @@ package org.apache.archiva.web.startup;
 import org.apache.archiva.common.ArchivaException;
 import org.apache.archiva.common.plexusbridge.PlexusSisuBridge;
 import org.apache.archiva.common.plexusbridge.PlexusSisuBridgeException;
+import org.apache.archiva.redback.components.scheduler.DefaultScheduler;
 import org.apache.archiva.scheduler.repository.RepositoryArchivaTaskScheduler;
 import org.apache.maven.index.NexusIndexer;
 import org.apache.maven.index.context.IndexingContext;
 import org.codehaus.plexus.taskqueue.Task;
 import org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor;
-import org.codehaus.redback.components.scheduler.DefaultScheduler;
 import org.quartz.SchedulerException;
 import org.springframework.web.context.WebApplicationContext;
 import org.springframework.web.context.support.WebApplicationContextUtils;
index ee1ba31a021548dccb3b0707a453a1c17ad56843..c6ebabeae9c6179999329a7a87c4422a8f4f8ce5 100644 (file)
   </bean>
 
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 364578022545b58a729e539cde8154184c09cbc9..1253dfd831f327ff3ccea6bedfd38fd774d2b612 100644 (file)
@@ -33,7 +33,7 @@
   <context:component-scan
       base-package="org.apache.archiva.rest.services.utils"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 488db6c68707374cc066f0c67443f7b711d6ce9d..2c94b647414a4a8cb9ce2d7b6d264d74621daa7a 100644 (file)
@@ -23,8 +23,8 @@ import com.opensymphony.xwork2.Preparable;
 import com.opensymphony.xwork2.Validateable;
 import org.apache.archiva.admin.model.RepositoryAdminException;
 import org.apache.archiva.admin.model.beans.ManagedRepository;
+import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
 import org.apache.commons.lang.StringUtils;
-import org.codehaus.redback.components.scheduler.CronExpressionValidator;
 import org.springframework.context.annotation.Scope;
 import org.springframework.stereotype.Controller;
 
index f28047afee462bf659e10aaea06b13d1f714d28c..0b5812a4c521e45c18d7974bb678c59e90b3a355 100644 (file)
@@ -24,7 +24,7 @@ import com.opensymphony.xwork2.Validateable;
 import org.apache.archiva.admin.model.RepositoryAdminException;
 import org.apache.archiva.admin.model.beans.ManagedRepository;
 import org.apache.commons.lang.StringUtils;
-import org.codehaus.redback.components.scheduler.CronExpressionValidator;
+import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
 import org.springframework.context.annotation.Scope;
 import org.springframework.stereotype.Controller;
 
index 2f96beb62bf98589581b8c177872017302fa3dba..1fc75d60ef9e6ba239fc76b3abf08067b2c519a0 100644 (file)
@@ -34,8 +34,8 @@ public class CronExpressionValidator
     {
         String cron = (String) getFieldValue( "cron", obj );
 
-        org.codehaus.redback.components.scheduler.CronExpressionValidator cronExpressionValidator =
-            new org.codehaus.redback.components.scheduler.CronExpressionValidator();
+        org.apache.archiva.redback.components.scheduler.CronExpressionValidator cronExpressionValidator =
+            new org.apache.archiva.redback.components.scheduler.CronExpressionValidator();
 
         ValidatorContext ctxt = getValidatorContext();
         if ( !cronExpressionValidator.validate( String.valueOf( cron ) ) )
index b5c4e433de52e96e5153984f8cc837800da88952..d61f7681924162be164539454849cd9a5e4afe9c 100644 (file)
   </bean>
 
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index b5890469fbb1e6eca8617a920b383845fb60d1e3..5fe8e3d0269b436a8d94ae93ce92cb29da9814de 100644 (file)
@@ -23,7 +23,7 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 2e69792f9943abe0cf922b57a91ebc043eba52f3..f5b143c6b723f41eedf3189a1d0e209291fc0c81 100644 (file)
@@ -33,7 +33,7 @@
   <context:component-scan
       base-package="org.apache.archiva.webdav,org.apache.archiva.metadata.repository,org.apache.archiva.webdav.util,org.apache.archiva.common.plexusbridge"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>
index 5f23fe716447ab2a7337f6d6a3423ba22dd027d9..95c5302feafe03eb55dafaa49abb30420fefb037 100644 (file)
@@ -32,7 +32,7 @@
   <context:annotation-config/>
   <context:component-scan base-package="org.apache.archiva.webdav,org.apache.archiva.metadata.repository"/>
 
-  <bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
+  <bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
     <property name="properties">
       <props>
         <prop key="org.quartz.scheduler.instanceName">scheduler1</prop>