]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
3ac5c65bd91a69901ea6975ce79e18791ef2f20b
[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"
4 xmlns:p="http://www.springframework.org/schema/p"
5 xmlns:util="http://www.springframework.org/schema/util"
6 xmlns:flow="http://www.argeo.org/schema/slc-flow"
7 xsi:schemaLocation="
8 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
10 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
11
12 <!-- REGISTER -->
13 <bean id="argeo-tp"
14 class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
15 init-method="init" destroy-method="destroy">
16 <constructor-arg
17 value="org.argeo.tp:argeo-tp:2.1.21" />
18 <property name="modules">
19 <list>
20 <!-- Javax -->
21 <!-- <ref bean="javax.inject" /> -->
22 <ref bean="javax.jcr" />
23 <ref bean="javax.transaction" />
24 <ref bean="javax.mail" />
25 <!-- <ref bean="javax.annotation" /> -->
26
27 <!-- Builder -->
28 <ref bean="biz.aQute.bnd" />
29 <!-- <ref bean="eclipse/org.eclipse.jdt.core.compiler.batch" /> -->
30
31 <!-- Standalone projects -->
32 <ref bean="misc/org.slf4j" />
33 <ref bean="org.aopalliance" />
34 <ref bean="org.junit" />
35 <!-- <ref bean="org.joda.time" /> -->
36 <ref bean="com.jcraft.jsch" />
37 <ref bean="EDU.oswego.cs.dl.util.concurrent" />
38 <ref bean="org.objectweb.asm" />
39 <ref bean="org.aspectj.weaver" />
40 <ref bean="misc/org.bouncycastle" />
41 <!-- <ref bean="org.quartz-scheduler.quartz" /> -->
42 <!-- <ref bean="org.quartz-scheduler.quartz.jobs" /> -->
43 <ref bean="bitronix.tm" />
44 <!-- <ref bean="misc/org.w3c.css.sac" /> -->
45 <!-- <ref bean="com.steadystate.css" /> -->
46 <ref bean="com.googlecode.javaewah.JavaEWAH" />
47 <ref bean="org.w3c.dom.svg" />
48 <ref bean="org.tukaani.xz" />
49
50 <!-- Apache -->
51 <ref bean="apache/org.apache.log4j" />
52 <ref bean="apache/org.apache.ant" />
53 <ref bean="apache/org.apache.xmlgraphics" />
54 <ref bean="apache/org.apache.batik" />
55 <ref bean="apache/org.apache.httpcomponents.httpcore" />
56 <ref bean="apache/org.apache.httpcomponents.httpclient" />
57 <ref bean="org.apache.mina.core" />
58 <ref bean="org.apache.sshd.core" />
59
60 <!-- Apache Commons -->
61 <ref bean="apache/org.apache.commons.io" />
62 <ref bean="apache/org.apache.commons.fileupload" />
63 <ref bean="apache/org.apache.commons.collections" />
64 <ref bean="apache/org.apache.commons.collections4" />
65 <ref bean="apache/org.apache.commons.dbcp" />
66 <ref bean="apache/org.apache.commons.pool" />
67 <ref bean="apache/org.apache.commons.codec" />
68 <ref bean="apache/org.apache.commons.httpclient" />
69 <ref bean="apache/org.apache.commons.vfs" />
70 <ref bean="apache/org.apache.commons.net" />
71 <ref bean="apache/org.apache.commons.exec" />
72 <ref bean="apache/org.apache.commons.math3" />
73 <!-- <ref bean="apache/org.apache.commons.jxpath" /> -->
74 <!-- <ref bean="apache/org.apache.commons.jci" /> -->
75 <ref bean="apache/org.apache.commons.compress" />
76 <ref bean="apache/org.apache.commons.lang3" />
77
78 <!-- Google -->
79 <ref bean="com.google.guava" />
80 <ref bean="com.google.gson" />
81
82 <!-- Eclipse -->
83 <!-- <ref bean="eclipse/org.argeo.tp.jetty" /> -->
84 <ref bean="eclipse/org.argeo.tp.equinox" />
85 <ref bean="eclipse/org.argeo.tp.gemini" />
86
87 <!-- Eclipse RAP -->
88 <!-- <ref bean="eclipse/org.argeo.tp.rap.platform" /> -->
89
90 <!-- Jackrabbit -->
91 <ref bean="apache/org.apache.tika" />
92 <ref bean="apache/org.apache.lucene" />
93 <ref bean="apache/org.apache.jackrabbit" />
94
95 <!-- Spring -->
96 <ref bean="spring/org.springframework" />
97
98 <!-- Document generation and management -->
99 <ref bean="net.sf.jxl" />
100 <ref bean="apache/org.apache.pdfbox" />
101 <ref bean="org.apache.xml.security" />
102 <ref bean="org.apache.xmlbeans" />
103 <ref bean="org.apache.xalan" />
104 <ref bean="org.apache.xalan.serializer" />
105 <ref bean="org.apache.xml.resolver" />
106 <ref bean="org.apache.xerces" />
107 <ref bean="apache/org.apache.poi" />
108 <!-- Databases -->
109 <ref bean="org.postgresql.jdbc42" />
110 <ref bean="org.h2" />
111 <ref bean="org.dbunit" />
112 <!-- ALM -->
113 <ref bean="org.redline-rpm" />
114 <ref bean="org.eclipse.jgit" />
115 <!-- <ref bean="misc/org.tmatesoft.svnkit" /> -->
116 </list>
117 </property>
118 </bean>
119
120 <bean id="argeo-tp-rap-e4"
121 class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
122 init-method="init" destroy-method="destroy">
123 <constructor-arg
124 value="org.argeo.tp:argeo-tp-rap-e4:2.1.21" />
125 <property name="modules">
126 <list>
127 <ref bean="eclipse/org.argeo.tp.rap.e4" />
128 </list>
129 </property>
130 </bean>
131
132 <bean id="argeo-tp-rcp-e4"
133 class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
134 init-method="init" destroy-method="destroy">
135 <constructor-arg
136 value="org.argeo.tp:argeo-tp-rcp-e4:2.1.21" />
137 <property name="modules">
138 <list>
139 <ref bean="eclipse/org.argeo.tp.rcp.e4" />
140 </list>
141 </property>
142 </bean>
143
144 <bean id="argeo-tp-rap-e3"
145 class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
146 init-method="init" destroy-method="destroy">
147 <constructor-arg
148 value="org.argeo.tp:argeo-tp-rap-e3:2.1.21" />
149 <property name="modules">
150 <list>
151 <ref bean="eclipse/org.argeo.tp.rap.platform" />
152 </list>
153 </property>
154 </bean>
155
156 <!-- Factory -->
157 <bean id="osgiFactory"
158 class="org.argeo.slc.repo.osgi.OsgiFactoryImpl" init-method="init"
159 destroy-method="destroy">
160 <property name="workspace" value="argeo-2.1" />
161 <property name="nodeIndexers">
162 <list>
163 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
164 <bean class="org.argeo.slc.repo.JarFileIndexer" />
165 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
166 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
167 </list>
168 </property>
169 <property name="mirrors">
170 <map>
171 <entry key="http://archive.apache.org/dist">
172 <list>
173 <value>http://mirror.netcologne.de/apache.org</value>
174 <value>http://archive.apache.org/dist</value>
175 </list>
176 </entry>
177 <entry key="http://www.eclipse.org/downloads">
178 <list>
179 <value>http://ftp-stud.hs-esslingen.de/Mirrors/eclipse/</value>
180 <value>http://ftp.fau.de/eclipse/</value>
181 <!-- <value>http://eclipse.mirror.garr.it/mirrors/eclipse</value> -->
182 <!-- <value>http://mirror.netcologne.de/eclipse</value> -->
183 <!-- <value>http://mirror.selfnet.de/eclipse</value> -->
184 <!-- <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
185 </list>
186 </entry>
187 </map>
188 </property>
189 <property name="mavenRepositories">
190 <list>
191 <value>http://repo1.maven.org/maven2/</value>
192 <value>http://download.eclipse.org/gemini/mvn/</value>
193 </list>
194 </property>
195 <property name="javaRepository" ref="javaRepository" />
196 <property name="distRepository" ref="distRepository" />
197 </bean>
198
199 <flow:flow name="processDistribution">
200 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
201 <property name="osgiDistribution" ref="argeo-tp" />
202 <property name="osgiFactory" ref="osgiFactory" />
203 </bean>
204 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
205 <property name="osgiDistribution" ref="argeo-tp-rap-e4" />
206 <property name="osgiFactory" ref="osgiFactory" />
207 </bean>
208 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
209 <property name="osgiDistribution" ref="argeo-tp-rcp-e4" />
210 <property name="osgiFactory" ref="osgiFactory" />
211 </bean>
212 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
213 <property name="osgiDistribution" ref="argeo-tp-rap-e3" />
214 <property name="osgiFactory" ref="osgiFactory" />
215 </bean>
216 </flow:flow>
217
218 <!-- Security -->
219 <bean
220 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
221 </beans>