use o.a.a package namespace for spring-jdo2 component
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17800b2d55
commit
f4f7866996
|
@ -19,12 +19,12 @@ package org.apache.archiva.redback.common.jdo;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.configuration.UserConfiguration;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.codehaus.plexus.interpolation.InterpolationException;
|
||||
import org.codehaus.plexus.interpolation.PropertiesBasedValueSource;
|
||||
import org.codehaus.plexus.interpolation.StringSearchInterpolator;
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -21,11 +21,10 @@ package org.apache.archiva.redback.integration.mail;
|
|||
|
||||
import junit.framework.TestCase;
|
||||
import net.sf.ehcache.CacheManager;
|
||||
import org.apache.archiva.redback.integration.mail.MailGenerator;
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.keys.AuthenticationKey;
|
||||
import org.apache.archiva.redback.keys.KeyManager;
|
||||
import org.apache.archiva.redback.policy.UserSecurityPolicy;
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.keys.KeyManagerException;
|
||||
import org.jpox.SchemaTool;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<context:property-placeholder system-properties-mode="OVERRIDE"/>
|
||||
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
-->
|
||||
|
||||
<!--
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="persistenceManagerFactoryClass" value="org.jpox.PersistenceManagerFactoryImpl"/>
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:UnitTest"/>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
||||
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -19,11 +19,11 @@ package org.apache.archiva.redback.keys.jdo;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.redback.components.jdo.JdoFactory;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusJdoUtils;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusObjectNotFoundException;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusStoreException;
|
||||
import org.apache.archiva.redback.keys.AuthenticationKey;
|
||||
import org.codehaus.plexus.jdo.JdoFactory;
|
||||
import org.codehaus.plexus.jdo.PlexusJdoUtils;
|
||||
import org.codehaus.plexus.jdo.PlexusObjectNotFoundException;
|
||||
import org.codehaus.plexus.jdo.PlexusStoreException;
|
||||
import org.apache.archiva.redback.keys.AbstractKeyManager;
|
||||
import org.apache.archiva.redback.keys.KeyManagerException;
|
||||
import org.apache.archiva.redback.keys.KeyNotFoundException;
|
||||
|
|
|
@ -19,8 +19,8 @@ package org.apache.archiva.redback.keys.jdo;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.keys.KeyManager;
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.keys.KeyManagerTestCase;
|
||||
import org.jpox.SchemaTool;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -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="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
|
||||
default-lazy-init="false">
|
||||
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.apache.archiva.redback.rbac.RBACManagerListener;
|
|||
import org.apache.archiva.redback.rbac.RbacManagerException;
|
||||
import org.apache.archiva.redback.rbac.RbacObjectNotFoundException;
|
||||
import org.apache.archiva.redback.rbac.Role;
|
||||
import org.codehaus.plexus.jdo.JdoFactory;
|
||||
import org.apache.archiva.redback.components.jdo.JdoFactory;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ package org.apache.archiva.redback.rbac.jdo;
|
|||
*/
|
||||
|
||||
import net.sf.ehcache.CacheManager;
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.rbac.RbacManagerException;
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.common.jdo.test.StoreManagerDebug;
|
||||
import org.apache.archiva.redback.rbac.RBACManager;
|
||||
import org.apache.archiva.redback.tests.AbstractRbacManagerTestCase;
|
||||
|
|
|
@ -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="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -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="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.archiva.redback.role;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.redback.rbac.jdo.JdoRbacManager;
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.junit.Before;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<property name="enableCache" value="false"/>
|
||||
</bean>
|
||||
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-jpox-role-manager-test" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
default-lazy-init="false">
|
||||
|
||||
|
||||
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -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="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
|
||||
<bean name="jdoFactory#users" class="org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory">
|
||||
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
|
||||
<property name="url" value="jdbc:hsqldb:mem:redback-users-tests" />
|
||||
<property name="userName" value="sa"/>
|
||||
|
|
|
@ -19,6 +19,8 @@ package org.apache.archiva.redback.users.jdo;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.redback.components.jdo.JdoFactory;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusJdoUtils;
|
||||
import org.apache.archiva.redback.policy.UserSecurityPolicy;
|
||||
import org.apache.archiva.redback.users.AbstractUserManager;
|
||||
import org.apache.archiva.redback.users.PermanentUserException;
|
||||
|
@ -26,10 +28,8 @@ import org.apache.archiva.redback.users.User;
|
|||
import org.apache.archiva.redback.users.UserManagerException;
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.apache.archiva.redback.users.UserQuery;
|
||||
import org.codehaus.plexus.jdo.JdoFactory;
|
||||
import org.codehaus.plexus.jdo.PlexusJdoUtils;
|
||||
import org.codehaus.plexus.jdo.PlexusObjectNotFoundException;
|
||||
import org.codehaus.plexus.jdo.PlexusStoreException;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusObjectNotFoundException;
|
||||
import org.apache.archiva.redback.components.jdo.PlexusStoreException;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
import org.jpox.JDOClassLoaderResolver;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.apache.archiva.redback.users.jdo;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.components.jdo.DefaultConfigurableJdoFactory;
|
||||
import org.apache.archiva.redback.common.jdo.test.StoreManagerDebug;
|
||||
import org.apache.archiva.redback.users.provider.test.AbstractUserManagerTestCase;
|
||||
import org.jpox.AbstractPersistenceManagerFactory;
|
||||
|
|
Loading…
Reference in New Issue