diff --git a/pom.xml b/pom.xml index a6849a14..21174c23 100644 --- a/pom.xml +++ b/pom.xml @@ -83,6 +83,7 @@ 1.5.2 5.5.2 + 4.12 ${openjpa.version} + + commons-logging + commons-logging + ${commons.logging.version} + diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml index d9adc5d1..b3f6f7ea 100644 --- a/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml +++ b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml @@ -107,6 +107,11 @@ ${openjpa.version} + + commons-logging + commons-logging + ${commons.logging.version} + diff --git a/redback-users/redback-users-providers/redback-users-cached/pom.xml b/redback-users/redback-users-providers/redback-users-cached/pom.xml index 7d605af8..a70b0392 100644 --- a/redback-users/redback-users-providers/redback-users-cached/pom.xml +++ b/redback-users/redback-users-providers/redback-users-cached/pom.xml @@ -34,10 +34,7 @@ Redback :: Users Provider :: Cached - - org.apache.archiva.redback - redback-policy - + org.apache.archiva.components.cache archiva-components-spring-cache-api @@ -46,31 +43,68 @@ org.apache.archiva.components.cache archiva-components-spring-cache-ehcache + - org.apache.archiva.components.registry - archiva-components-spring-registry-commons - test + javax.inject + javax.inject - net.sf.ehcache - ehcache - - - org.springframework - spring-context-support + org.slf4j + slf4j-api org.springframework - spring-aop - - - javax.annotation - jsr250-api + spring-context org.apache.archiva.redback redback-users-jpa + + org.apache.archiva.redback + redback-common-jpa + + + net.sf.ehcache + ehcache + + + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.vintage + junit-vintage-engine + test + + + junit + junit + test + + + + + org.apache.archiva.components.registry + archiva-components-spring-registry-commons + test + + + + org.springframework + spring-context-support + test + + org.apache.archiva.redback redback-users-tests @@ -82,8 +116,13 @@ test - org.slf4j - slf4j-simple + org.apache.logging.log4j + log4j-slf4j-impl + test + + + org.apache.logging.log4j + log4j-jcl test diff --git a/redback-users/redback-users-providers/redback-users-cached/src/test/resources/log4j2-test.xml b/redback-users/redback-users-providers/redback-users-cached/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..91af3f0e --- /dev/null +++ b/redback-users/redback-users-providers/redback-users-cached/src/test/resources/log4j2-test.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/redback-users/redback-users-providers/redback-users-jpa/pom.xml b/redback-users/redback-users-providers/redback-users-jpa/pom.xml index 6c3b5055..020b7696 100644 --- a/redback-users/redback-users-providers/redback-users-jpa/pom.xml +++ b/redback-users/redback-users-providers/redback-users-jpa/pom.xml @@ -34,14 +34,6 @@ Redback :: Users Provider :: JPA - - org.springframework - spring-context-support - - - javax.annotation - jsr250-api - org.apache.archiva.redback redback-policy @@ -50,6 +42,40 @@ org.apache.archiva.redback redback-common-jpa + + org.slf4j + slf4j-api + + + javax.inject + javax.inject + + + javax.persistence + javax.persistence-api + + + javax.transaction + javax.transaction-api + + + org.apache.commons + commons-lang3 + + + + org.springframework + spring-context + + + commons-logging + commons-logging + + + + + + org.apache.archiva.components.registry archiva-components-spring-registry-commons @@ -69,17 +95,73 @@ junit junit + + org.apache.geronimo.specs + geronimo-jpa_2.0_spec + + + org.apache.geronimo.specs + geronimo-jms_1.1_spec + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + org.springframework spring-tx ${springVersion} + org.springframework spring-orm ${springVersion} + test + + + + org.springframework + spring-context-support + test + + + + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.vintage + junit-vintage-engine + test + + + junit + junit + test + + + + org.apache.logging.log4j + log4j-slf4j-impl + + + org.apache.logging.log4j + log4j-jcl + + + commons-logging + commons-logging @@ -119,6 +201,11 @@ ${openjpa.version} + + commons-logging + commons-logging + ${commons.logging.version} + diff --git a/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/log4j2-test.xml b/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8a13bc55 --- /dev/null +++ b/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/log4j2-test.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + diff --git a/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/spring-context.xml b/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/spring-context.xml index aedda06b..9c886285 100644 --- a/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/spring-context.xml +++ b/redback-users/redback-users-providers/redback-users-jpa/src/test/resources/spring-context.xml @@ -62,7 +62,7 @@ - +