mirror of https://github.com/apache/archiva.git
ensure spring context is added to archetype
This commit is contained in:
parent
c1e27fbd05
commit
30db1698ea
|
@ -26,6 +26,9 @@
|
||||||
<fileSet filtered="true" packaged="true">
|
<fileSet filtered="true" packaged="true">
|
||||||
<directory>src/main/java</directory>
|
<directory>src/main/java</directory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet filtered="true" packaged="false">
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
</fileSet>
|
||||||
<fileSet filtered="true" packaged="true">
|
<fileSet filtered="true" packaged="true">
|
||||||
<directory>src/test/java</directory>
|
<directory>src/test/java</directory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
http://www.springframework.org/schema/context
|
http://www.springframework.org/schema/context
|
||||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
|
||||||
default-lazy-init="true">
|
default-lazy-init="true">
|
||||||
<context:annotation-config/>
|
|
||||||
<context:component-scan base-package="$package"/>
|
|
||||||
|
|
||||||
<bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">
|
<bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">
|
||||||
<constructor-arg value="${appserver.base}/conf/foo.xml"/>
|
<constructor-arg value="${appserver.base}/conf/foo.xml"/>
|
||||||
|
|
Loading…
Reference in New Issue