]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
Argeo TP v2.1.2
[gpl/argeo-tp.git] / META-INF / spring / distribution.xml
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"
5 xsi:schemaLocation="
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">
9
10 <!-- REGISTER -->
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.2" />
14 <property name="modules">
15 <list>
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.junit" />
21 <ref bean="org.argeo.tp/org.aspectj" />
22 <ref bean="org.argeo.tp.spring/org.springframework" />
23 <ref bean="org.argeo.tp.apache.ant/org.apache.ant" />
24 <ref bean="org.argeo.tp.apache.commons/org.apache.commons.io" />
25 <ref bean="org.argeo.tp.apache.commons/org.apache.commons.fileupload" />
26 <!-- Felix -->
27 <ref bean="org.apache.felix.framework" />
28 <ref bean="org.apache.felix.bundlerepository" />
29 <ref bean="org.apache.felix.gogo.command" />
30 <ref bean="org.apache.felix.gogo.runtime" />
31 <ref bean="org.apache.felix.gogo.shell" />
32 <!-- Gemini -->
33 <ref bean="org.argeo.tp.gemini/org.gemini.blueprint" />
34 <!-- <ref bean="org.argeo.tp.gemini/org.gemini.web" /> -->
35 <ref bean="org.eclipse.gemini.web.core" />
36 <ref bean="org.eclipse.gemini.web.extender" />
37 <ref bean="org.eclipse.gemini.web.tomcat" />
38 <!-- Jackrabbit -->
39 <ref bean="org.argeo.tp.javax/javax.jcr" />
40 </list>
41 </property>
42 </bean>
43
44 <!-- Factory -->
45 <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
46 init-method="init" destroy-method="destroy">
47 <property name="workspace" value="argeo-tp-2.1" />
48 <property name="nodeIndexers">
49 <list>
50 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
51 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
52 <bean class="org.argeo.slc.repo.JarFileIndexer" />
53 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
54 </list>
55 </property>
56 <property name="mirrors">
57 <map>
58 <entry key="http://archive.apache.org/dist">
59 <list>
60 <value>http://mirror.derwebwolf.net/apache</value>
61 <value>http://archive.apache.org/dist</value>
62 </list>
63 </entry>
64 <entry key="http://www.eclipse.org/downloads">
65 <list>
66 <value>http://mirror.netcologne.de/eclipse</value>
67 <value>http://mirror.selfnet.de/eclipse</value>
68 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
69 </list>
70 </entry>
71 </map>
72 </property>
73 <property name="mavenRepositories">
74 <list>
75 <value>http://repo1.maven.org/maven2/</value>
76 <value>http://download.eclipse.org/gemini/mvn/</value>
77 </list>
78 </property>
79 <property name="javaRepository" ref="javaRepository" />
80 <property name="distRepository" ref="distRepository" />
81 </bean>
82
83 <flow:flow name="processDistribution">
84 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
85 <property name="osgiDistribution" ref="argeo-tp" />
86 <property name="osgiFactory" ref="osgiFactory" />
87 </bean>
88 </flow:flow>
89
90 <!-- Security -->
91 <bean
92 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
93 <property name="authenticationManager" ref="authenticationManager" />
94 <property name="beanNames">
95 <list>
96 <value>osgiFactory</value>
97 </list>
98 </property>
99 </bean>
100 </beans>