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