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" />
22 <ref bean=
"org.apache.felix.framework" />
23 <ref bean=
"org.apache.felix.bundlerepository" />
24 <ref bean=
"org.apache.felix.gogo.command" />
25 <ref bean=
"org.apache.felix.gogo.runtime" />
26 <ref bean=
"org.apache.felix.gogo.shell" />
32 <bean id=
"osgiFactory" class=
"org.argeo.slc.repo.osgi.OsgiFactoryImpl"
33 init-method=
"init" destroy-method=
"destroy">
34 <property name=
"workspace" value=
"org.argeo.tp-2.1.x" />
35 <property name=
"nodeIndexers">
37 <bean class=
"org.argeo.slc.repo.ArtifactIndexer" />
38 <bean class=
"org.argeo.slc.repo.JarFileIndexer" />
41 <property name=
"mirrors">
43 <entry key=
"http://archive.apache.org/dist">
45 <value>http://mirror.derwebwolf.net/apache
</value>
46 <value>http://archive.apache.org/dist
</value>
49 <entry key=
"http://www.eclipse.org/downloads">
51 <value>http://mirror.netcologne.de/eclipse
</value>
52 <value>http://mirror.selfnet.de/eclipse
</value>
53 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]
></value>
58 <property name=
"javaRepository" ref=
"javaRepository" />
59 <property name=
"distRepository" ref=
"distRepository" />
63 class=
"org.argeo.security.core.AuthenticatedApplicationContextInitialization">
64 <property name=
"authenticationManager" ref=
"authenticationManager" />
65 <property name=
"beanNames">
67 <value>osgiFactory
</value>
72 <flow:flow name=
"processDistribution">
73 <bean class=
"org.argeo.slc.repo.osgi.ProcessDistribution">
74 <property name=
"osgiDistribution" ref=
"org.argeo.tp" />
75 <property name=
"osgiFactory" ref=
"osgiFactory" />
79 <!-- Specs and templates -->
80 <flow:spec id=
"spec.version">
81 <flow:primitive name=
"version" isParameter=
"true" />
84 <bean id=
"template.archiveWrapper" class=
"org.argeo.slc.repo.osgi.ArchiveWrapper"
85 init-method=
"init" destroy-method=
"destroy" abstract=
"true">
86 <property name=
"version" value=
"@{version}" />
87 <property name=
"osgiFactory" ref=
"osgiFactory" />
90 <!-- Must be a prototype since wrapper are stateful objects, properties
91 such as version can be set by caller. -->
92 <bean id=
"template.bndWrapper" class=
"org.argeo.slc.repo.osgi.BndWrapper"
93 abstract=
"true" scope=
"prototype">
94 <property name=
"groupId" value=
"org.argeo.tp" />
95 <property name=
"bndProperties">
97 <prop key=
"Export-Package">*
</prop>
101 <bean id=
"template.mavenWrapper" class=
"org.argeo.slc.repo.osgi.MavenWrapper"
102 abstract=
"true" scope=
"prototype">
103 <property name=
"groupId" value=
"org.argeo.tp" />
104 <property name=
"bndProperties">
106 <prop key=
"Export-Package">*
</prop>
109 <property name=
"osgiFactory" ref=
"osgiFactory" />