aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r--archiva-modules/plugins/maven2-repository/src/main/resources/META-INF/spring-context.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/main/resources/META-INF/spring-context.xml b/archiva-modules/plugins/maven2-repository/src/main/resources/META-INF/spring-context.xml
index 1eb4daf9d..47125c353 100644
--- a/archiva-modules/plugins/maven2-repository/src/main/resources/META-INF/spring-context.xml
+++ b/archiva-modules/plugins/maven2-repository/src/main/resources/META-INF/spring-context.xml
@@ -31,4 +31,11 @@
<context:component-scan base-package="org.apache.archiva.dependency.tree.maven2,org.apache.archiva.metadata.repository.storage.maven2,
org.apache.archiva.repository.content.maven2,org.apache.archiva.repository.content.legacy"/>
+
+ <bean name="pathParser#legacy" class="org.apache.archiva.repository.content.LegacyPathParser">
+ <constructor-arg>
+ <ref bean="archivaConfiguration#default"/>
+ </constructor-arg>
+ </bean>
+
</beans> \ No newline at end of file