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=
"argeo-tp" class=
"org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
12 init-method=
"init" destroy-method=
"destroy">
13 <constructor-arg value=
"org.argeo.tp: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.aopalliance" />
20 <ref bean=
"org.argeo.tp/org.aspectj" />
21 <ref bean=
"org.argeo.tp.spring/org.springframework" />
22 <ref bean=
"org.argeo.tp.apache.ant/org.apache.ant" />
24 <ref bean=
"org.apache.felix.framework" />
25 <ref bean=
"org.apache.felix.bundlerepository" />
26 <ref bean=
"org.apache.felix.gogo.command" />
27 <ref bean=
"org.apache.felix.gogo.runtime" />
28 <ref bean=
"org.apache.felix.gogo.shell" />
34 <bean id=
"osgiFactory" class=
"org.argeo.slc.repo.osgi.OsgiFactoryImpl"
35 init-method=
"init" destroy-method=
"destroy">
36 <property name=
"workspace" value=
"argeo-tp-2.1" />
37 <property name=
"nodeIndexers">
39 <bean class=
"org.argeo.slc.repo.JarFileIndexer" />
40 <bean class=
"org.argeo.slc.repo.ModularDistributionIndexer" />
41 <bean class=
"org.argeo.slc.repo.PdeSourcesIndexer" />
42 <bean class=
"org.argeo.slc.repo.ArtifactIndexer" />
45 <property name=
"mirrors">
47 <entry key=
"http://archive.apache.org/dist">
49 <value>http://mirror.derwebwolf.net/apache
</value>
50 <value>http://archive.apache.org/dist
</value>
53 <entry key=
"http://www.eclipse.org/downloads">
55 <value>http://mirror.netcologne.de/eclipse
</value>
56 <value>http://mirror.selfnet.de/eclipse
</value>
57 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]
></value>
62 <property name=
"javaRepository" ref=
"javaRepository" />
63 <property name=
"distRepository" ref=
"distRepository" />
66 <flow:flow name=
"processDistribution">
67 <bean class=
"org.argeo.slc.repo.osgi.ProcessDistribution">
68 <property name=
"osgiDistribution" ref=
"argeo-tp" />
69 <property name=
"osgiFactory" ref=
"osgiFactory" />
75 class=
"org.argeo.security.core.AuthenticatedApplicationContextInitialization">
76 <property name=
"authenticationManager" ref=
"authenticationManager" />
77 <property name=
"beanNames">
79 <value>osgiFactory
</value>