1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
p=
"http://www.springframework.org/schema/p"
4 xmlns:
util=
"http://www.springframework.org/schema/util" xmlns:
flow=
"http://www.argeo.org/schema/slc-flow"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
8 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
11 <bean id=
"org.argeo.tp" class=
"org.argeo.slc.repo.osgi.ArgeoOsgiDistribution"
12 init-method=
"init" destroy-method=
"destroy">
13 <constructor-arg value=
"org.argeo.tp:org.argeo.tp:2.1.1" />
14 <property name=
"modules">
16 <ref bean=
"org.argeo.tp/org.apache.log4j" />
17 <ref bean=
"org.argeo.tp/org.slf4j" />
18 <ref bean=
"org.argeo.tp.apache.tomcat/org.apache.tomcat" />
19 <ref bean=
"org.argeo.tp/org.aopalliance" />
20 <ref bean=
"org.argeo.tp.spring/org.springframework" />
26 <bean id=
"osgiFactory" class=
"org.argeo.slc.repo.osgi.OsgiFactoryImpl"
27 init-method=
"init" destroy-method=
"destroy">
28 <property name=
"workspace" value=
"org.argeo.tp-2.1.x" />
29 <property name=
"nodeIndexers">
31 <bean class=
"org.argeo.slc.repo.ArtifactIndexer" />
32 <bean class=
"org.argeo.slc.repo.JarFileIndexer" />
35 <property name=
"mirrors">
37 <entry key=
"http://archive.apache.org/dist">
39 <value>http://mirror.derwebwolf.net/apache
</value>
40 <value>http://archive.apache.org/dist
</value>
43 <entry key=
"http://www.eclipse.org/downloads">
45 <value>http://mirror.netcologne.de/eclipse
</value>
46 <value>http://mirror.selfnet.de/eclipse
</value>
47 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]
></value>
52 <property name=
"javaRepository" ref=
"javaRepository" />
53 <property name=
"distRepository" ref=
"distRepository" />
57 class=
"org.argeo.security.core.AuthenticatedApplicationContextInitialization">
58 <property name=
"authenticationManager" ref=
"authenticationManager" />
59 <property name=
"beanNames">
61 <value>osgiFactory
</value>
66 <!-- Specs and templates -->
67 <flow:spec id=
"spec.version">
68 <flow:primitive name=
"version" isParameter=
"true" />
71 <bean id=
"template.archiveWrapper" class=
"org.argeo.slc.repo.osgi.ArchiveWrapper"
72 init-method=
"init" destroy-method=
"destroy" abstract=
"true">
73 <property name=
"version" value=
"@{version}" />
74 <property name=
"osgiFactory" ref=
"osgiFactory" />
77 <!-- Must be a prototype since wrapper are stateful objects, properties
78 such as version can be set by caller. -->
79 <bean id=
"template.bndWrapper" class=
"org.argeo.slc.repo.osgi.BndWrapper"
80 abstract=
"true" scope=
"prototype">
81 <property name=
"groupId" value=
"org.argeo.tp" />
82 <property name=
"bndProperties">
84 <prop key=
"Export-Package">*
</prop>
88 <bean id=
"template.mavenWrapper" class=
"org.argeo.slc.repo.osgi.MavenWrapper"
89 abstract=
"true" scope=
"prototype">
90 <property name=
"groupId" value=
"org.argeo.tp" />
91 <property name=
"bndProperties">
93 <prop key=
"Export-Package">*
</prop>
96 <property name=
"osgiFactory" ref=
"osgiFactory" />