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