]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
Work on Argeo TP v2.1.19
[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.19" />
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="misc/org.slf4j" />
28 <ref bean="org.aopalliance" />
29 <ref bean="org.junit" />
30 <!-- <ref bean="org.joda.time" /> -->
31 <ref bean="com.jcraft.jsch" />
32 <ref bean="EDU.oswego.cs.dl.util.concurrent" />
33 <ref bean="org.objectweb.asm" />
34 <ref bean="org.aspectj.weaver" />
35 <ref bean="misc/org.bouncycastle" />
36 <!-- <ref bean="org.quartz-scheduler.quartz" /> -->
37 <!-- <ref bean="org.quartz-scheduler.quartz.jobs" /> -->
38 <ref bean="bitronix.tm" />
39 <!-- <ref bean="misc/org.w3c.css.sac" /> -->
40 <!-- <ref bean="com.steadystate.css" /> -->
41 <ref bean="com.googlecode.javaewah.JavaEWAH" />
42 <ref bean="org.w3c.dom.svg" />
43
44 <!-- Apache -->
45 <ref bean="apache/org.apache.log4j" />
46 <ref bean="apache/org.apache.ant" />
47 <ref bean="apache/org.apache.xmlgraphics" />
48 <ref bean="apache/org.apache.batik" />
49 <ref bean="apache/org.apache.httpcomponents.httpcore" />
50 <ref bean="apache/org.apache.httpcomponents.httpclient" />
51
52 <!-- Apache Commons -->
53 <ref bean="apache/org.apache.commons.io" />
54 <ref bean="apache/org.apache.commons.fileupload" />
55 <ref bean="apache/org.apache.commons.collections" />
56 <ref bean="apache/org.apache.commons.dbcp" />
57 <ref bean="apache/org.apache.commons.pool" />
58 <ref bean="apache/org.apache.commons.codec" />
59 <ref bean="apache/org.apache.commons.httpclient" />
60 <ref bean="apache/org.apache.commons.vfs" />
61 <ref bean="apache/org.apache.commons.net" />
62 <ref bean="apache/org.apache.commons.exec" />
63 <ref bean="apache/org.apache.commons.jxpath" />
64 <!-- <ref bean="apache/org.apache.commons.jci" /> -->
65 <ref bean="apache/org.apache.commons.compress" />
66 <ref bean="apache/org.apache.commons.lang3" />
67
68 <!-- Google -->
69 <ref bean="com.google.guava" />
70 <ref bean="com.google.gson" />
71
72 <!-- Eclipse -->
73 <ref bean="eclipse/org.argeo.tp.jetty" />
74 <ref bean="eclipse/org.argeo.tp.equinox" />
75 <ref bean="eclipse/org.argeo.tp.gemini" />
76
77 <!-- Eclipse RAP -->
78 <ref bean="eclipse/org.argeo.tp.rap.platform" />
79
80 <!-- Jackrabbit -->
81 <ref bean="apache/org.apache.tika" />
82 <ref bean="apache/org.apache.lucene" />
83 <ref bean="apache/org.apache.jackrabbit" />
84
85 <!-- Spring -->
86 <ref bean="spring/org.springframework" />
87
88 <!-- Document generation and management -->
89 <ref bean="net.sf.jxl" />
90 <ref bean="apache/org.apache.pdfbox" />
91 <!-- Databases -->
92 <ref bean="org.postgresql.jdbc42" />
93 <ref bean="org.h2" />
94 <ref bean="org.dbunit" />
95 <!-- ALM -->
96 <ref bean="org.redline-rpm" />
97 <ref bean="org.eclipse.jgit" />
98 <!-- <ref bean="misc/org.tmatesoft.svnkit" /> -->
99 </list>
100 </property>
101 </bean>
102
103 <!-- Factory -->
104 <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
105 init-method="init" destroy-method="destroy">
106 <property name="workspace" value="argeo-2.1" />
107 <property name="nodeIndexers">
108 <list>
109 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
110 <bean class="org.argeo.slc.repo.JarFileIndexer" />
111 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
112 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
113 </list>
114 </property>
115 <property name="mirrors">
116 <map>
117 <entry key="http://archive.apache.org/dist">
118 <list>
119 <value>http://mirror.netcologne.de/apache.org</value>
120 <value>http://archive.apache.org/dist</value>
121 </list>
122 </entry>
123 <entry key="http://www.eclipse.org/downloads">
124 <list>
125 <value>http://ftp-stud.hs-esslingen.de/Mirrors/eclipse/</value>
126 <value>http://ftp.fau.de/eclipse/</value>
127 <!-- <value>http://eclipse.mirror.garr.it/mirrors/eclipse</value> -->
128 <!-- <value>http://mirror.netcologne.de/eclipse</value> -->
129 <!-- <value>http://mirror.selfnet.de/eclipse</value> -->
130 <!-- <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
131 </list>
132 </entry>
133 </map>
134 </property>
135 <property name="mavenRepositories">
136 <list>
137 <value>http://repo1.maven.org/maven2/</value>
138 <value>http://download.eclipse.org/gemini/mvn/</value>
139 </list>
140 </property>
141 <property name="javaRepository" ref="javaRepository" />
142 <property name="distRepository" ref="distRepository" />
143 </bean>
144
145 <flow:flow name="processDistribution">
146 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
147 <property name="osgiDistribution" ref="argeo-tp" />
148 <property name="osgiFactory" ref="osgiFactory" />
149 </bean>
150 </flow:flow>
151
152 <!-- Security -->
153 <bean
154 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
155 </beans>