]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
Prepare next development cycle
[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.10" />
14 <property name="modules">
15 <list>
16 <!-- Javax -->
17 <ref bean="javax.inject" />
18 <ref bean="javax.jcr" />
19 <ref bean="javax.mail" />
20 <ref bean="javax.transaction" />
21
22 <!-- Builder -->
23 <ref bean="biz.aQute.bnd" />
24 <ref bean="eclipse/org.eclipse.jdt.core.compiler.batch" />
25
26 <!-- Standalone projects -->
27 <ref bean="apache/org.apache.log4j" />
28 <ref bean="misc/org.slf4j" />
29 <ref bean="org.aopalliance" />
30 <ref bean="org.junit" />
31 <ref bean="org.h2" />
32 <ref bean="org.joda.time" />
33 <ref bean="com.jcraft.jsch" />
34 <ref bean="EDU.oswego.cs.dl.util.concurrent" />
35 <ref bean="org.objectweb.asm" />
36 <ref bean="org.aspectj.weaver" />
37 <ref bean="misc/org.bouncycastle" />
38 <ref bean="apache/org.apache.ant" />
39 <ref bean="org.quartz-scheduler.quartz" />
40 <ref bean="org.quartz-scheduler.quartz.jobs" />
41
42 <!-- Apache Commons -->
43 <ref bean="apache/org.apache.commons.io" />
44 <ref bean="apache/org.apache.commons.fileupload" />
45 <ref bean="apache/org.apache.commons.collections" />
46 <ref bean="apache/org.apache.commons.dbcp" />
47 <ref bean="apache/org.apache.commons.pool" />
48 <ref bean="apache/org.apache.commons.codec" />
49 <ref bean="apache/org.apache.commons.httpclient" />
50 <ref bean="apache/org.apache.commons.vfs" />
51 <ref bean="apache/org.apache.commons.net" />
52 <ref bean="apache/org.apache.commons.exec" />
53 <ref bean="apache/org.apache.commons.jci" />
54 <ref bean="apache/org.apache.commons.compress" />
55
56 <!-- Eclipse -->
57 <ref bean="eclipse/org.argeo.tp.jetty" />
58 <ref bean="eclipse/org.argeo.tp.equinox" />
59 <ref bean="eclipse/org.argeo.tp.gemini" />
60
61 <!-- Eclipse RAP -->
62 <ref bean="eclipse/org.argeo.tp.rap.platform" />
63 <ref bean="eclipse/org.argeo.tp.rap.addons" />
64
65 <!-- Jackrabbit -->
66 <ref bean="apache/org.apache.tika" />
67 <ref bean="apache/org.apache.lucene" />
68 <ref bean="apache/org.apache.jackrabbit" />
69
70 <!-- Spring -->
71 <ref bean="spring/org.springframework" />
72 <ref bean="org.springframework.ldap" />
73 <ref bean="spring/org.springframework.security" />
74 </list>
75 </property>
76 </bean>
77
78 <!-- Factory -->
79 <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
80 init-method="init" destroy-method="destroy">
81 <property name="workspace" value="argeo-tp-2.1" />
82 <property name="nodeIndexers">
83 <list>
84 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
85 <bean class="org.argeo.slc.repo.JarFileIndexer" />
86 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
87 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
88 </list>
89 </property>
90 <property name="mirrors">
91 <map>
92 <entry key="http://archive.apache.org/dist">
93 <list>
94 <value>http://mirror.netcologne.de/apache.org</value>
95 <value>http://archive.apache.org/dist</value>
96 </list>
97 </entry>
98 <entry key="http://www.eclipse.org/downloads">
99 <list>
100 <value>http://mirror.netcologne.de/eclipse</value>
101 <value>http://mirror.selfnet.de/eclipse</value>
102 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
103 </list>
104 </entry>
105 </map>
106 </property>
107 <property name="mavenRepositories">
108 <list>
109 <value>http://repo1.maven.org/maven2/</value>
110 <value>http://download.eclipse.org/gemini/mvn/</value>
111 </list>
112 </property>
113 <property name="javaRepository" ref="javaRepository" />
114 <property name="distRepository" ref="distRepository" />
115 </bean>
116
117 <flow:flow name="processDistribution">
118 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
119 <property name="osgiDistribution" ref="argeo-tp" />
120 <property name="osgiFactory" ref="osgiFactory" />
121 </bean>
122 </flow:flow>
123
124 <!-- Security -->
125 <bean
126 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
127 <property name="authenticationManager" ref="authenticationManager" />
128 <property name="beanNames">
129 <list>
130 <value>osgiFactory</value>
131 </list>
132 </property>
133 </bean>
134 </beans>