aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-03-31 01:30:16 +0000
committerOlivier Lamy <olamy@apache.org>2014-03-31 01:30:16 +0000
commitddfbb1c41e95333e7f7ddc610951afec26b2ccfe (patch)
tree7568c82d7238bd911d793636db63a46e47193471
parente376eca36276087a59f9d1f7bc43ceec2055293f (diff)
downloadarchiva-ddfbb1c41e95333e7f7ddc610951afec26b2ccfe.tar.gz
archiva-ddfbb1c41e95333e7f7ddc610951afec26b2ccfe.zip
fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583229 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml1
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml2
2 files changed, 1 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml
index c1cea7666..e469d5360 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml
@@ -457,6 +457,7 @@
<org.apache.jackrabbit.maxCacheMemory>1</org.apache.jackrabbit.maxCacheMemory>
<org.apache.jackrabbit.maxMemoryPerCache>1</org.apache.jackrabbit.maxMemoryPerCache>
<!--org.apache.jackrabbit.minMemoryPerCache>1</org.apache.jackrabbit.minMemoryPerCache-->
+ <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id>
</systemPropertyVariables>
</configuration>
</plugin>
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml
index 0604a6ab3..9488526d1 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml
@@ -83,8 +83,6 @@
<constructor-arg value="${appserver.base}/jcr"/>
</bean>
- <alias name="repositorySessionFactory#jcr" alias="repositorySessionFactory"/>
-
<alias name="userConfiguration#redback" alias="userConfiguration#default"/>
<alias name="authorizer#rbac" alias="authorizer#default"/>