]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
e457d350bca1e537c653534e6c67d409afcc4ef5
[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.15" />
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 <ref bean="bitronix.tm" />
42 <ref bean="misc/org.w3c.css.sac"/>
43 <ref bean="com.steadystate.css"/>
44
45 <!-- Apache Commons -->
46 <ref bean="apache/org.apache.commons.io" />
47 <ref bean="apache/org.apache.commons.fileupload" />
48 <ref bean="apache/org.apache.commons.collections" />
49 <ref bean="apache/org.apache.commons.dbcp" />
50 <ref bean="apache/org.apache.commons.pool" />
51 <ref bean="apache/org.apache.commons.codec" />
52 <ref bean="apache/org.apache.commons.httpclient" />
53 <ref bean="apache/org.apache.commons.vfs" />
54 <ref bean="apache/org.apache.commons.net" />
55 <ref bean="apache/org.apache.commons.exec" />
56 <ref bean="apache/org.apache.commons.jci" />
57 <ref bean="apache/org.apache.commons.compress" />
58
59 <!-- Google -->
60 <ref bean="com.google.guava" />
61 <ref bean="com.google.gson" />
62
63 <!-- Eclipse -->
64 <ref bean="eclipse/org.argeo.tp.jetty" />
65 <ref bean="eclipse/org.argeo.tp.equinox" />
66 <ref bean="eclipse/org.argeo.tp.gemini" />
67
68 <!-- Eclipse RAP -->
69 <ref bean="eclipse/org.argeo.tp.rap.platform" />
70 <ref bean="eclipse/org.argeo.tp.rap.addons" />
71
72 <!-- Jackrabbit -->
73 <ref bean="apache/org.apache.tika" />
74 <ref bean="apache/org.apache.lucene" />
75 <ref bean="apache/org.apache.jackrabbit" />
76
77 <!-- Spring -->
78 <ref bean="spring/org.springframework" />
79
80 <!-- Document generation and management -->
81 <ref bean="net.sf.jxl" />
82 <ref bean="apache/org.apache.pdfbox" />
83 <!-- Databases -->
84 <ref bean="org.postgresql.postgresql" />
85 <ref bean="org.dbunit" />
86 <!-- ALM -->
87 <ref bean="eclipse/org.eclipse.aether" />
88 <ref bean="org.redline-rpm" />
89 <!-- Needs https://code.google.com/p/javaewah/ -->
90 <!-- <ref bean="org.eclipse.jgit" /> -->
91 <ref bean="misc/org.tmatesoft.svnkit" />
92 </list>
93 </property>
94 </bean>
95
96 <!-- Factory -->
97 <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
98 init-method="init" destroy-method="destroy">
99 <property name="workspace" value="argeo-2.1" />
100 <property name="nodeIndexers">
101 <list>
102 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
103 <bean class="org.argeo.slc.repo.JarFileIndexer" />
104 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
105 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
106 </list>
107 </property>
108 <property name="mirrors">
109 <map>
110 <entry key="http://archive.apache.org/dist">
111 <list>
112 <value>http://mirror.netcologne.de/apache.org</value>
113 <value>http://archive.apache.org/dist</value>
114 </list>
115 </entry>
116 <entry key="http://www.eclipse.org/downloads">
117 <list>
118 <value>http://mirror.netcologne.de/eclipse</value>
119 <value>http://mirror.selfnet.de/eclipse</value>
120 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
121 </list>
122 </entry>
123 </map>
124 </property>
125 <property name="mavenRepositories">
126 <list>
127 <value>http://repo1.maven.org/maven2/</value>
128 <value>http://download.eclipse.org/gemini/mvn/</value>
129 </list>
130 </property>
131 <property name="javaRepository" ref="javaRepository" />
132 <property name="distRepository" ref="distRepository" />
133 </bean>
134
135 <flow:flow name="processDistribution">
136 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
137 <property name="osgiDistribution" ref="argeo-tp" />
138 <property name="osgiFactory" ref="osgiFactory" />
139 </bean>
140 </flow:flow>
141
142 <!-- Security -->
143 <bean
144 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
145 <!-- <property name="beanNames"> -->
146 <!-- <list> -->
147 <!-- <value>osgiFactory</value> -->
148 <!-- <value>argeo-tp</value> -->
149 <!-- </list> -->
150 <!-- </property> -->
151 </bean>
152 </beans>