]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/distribution.xml
Remove Jackrabbit tests
[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.2" />
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="joda-time" />
22 <!-- This has been defined as optional via bnd -->
23 <!-- <ref bean="com.jcraft.jzlib" /> -->
24 <ref bean="com.jcraft.jsch" />
25 <ref bean="EDU.oswego.cs.dl.util.concurrent" />
26 <ref bean="javax.el" />
27 <ref bean="javax.inject" />
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 <!-- <ref bean="org.argeo.tp.gemini/org.gemini.web" /> -->
55 <!-- <ref bean="org.eclipse.gemini.web.core" /> -->
56 <!-- <ref bean="org.eclipse.gemini.web.extender" /> -->
57 <!-- <ref bean="org.eclipse.gemini.web.tomcat" /> -->
58 <!-- Jackrabbit -->
59 <ref bean="javax/javax.jcr" />
60 <ref bean="apache/org.apache.tika" />
61 <ref bean="apache/org.apache.lucene" />
62 <ref bean="apache/org.apache.jackrabbit" />
63 </list>
64 </property>
65 </bean>
66
67 <!-- Factory -->
68 <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
69 init-method="init" destroy-method="destroy">
70 <property name="workspace" value="argeo-tp-2.1" />
71 <property name="nodeIndexers">
72 <list>
73 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
74 <bean class="org.argeo.slc.repo.JarFileIndexer" />
75 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
76 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
77 </list>
78 </property>
79 <property name="mirrors">
80 <map>
81 <entry key="http://archive.apache.org/dist">
82 <list>
83 <value>http://mirror.netcologne.de/apache.org</value>
84 <value>http://archive.apache.org/dist</value>
85 </list>
86 </entry>
87 <entry key="http://www.eclipse.org/downloads">
88 <list>
89 <value>http://mirror.netcologne.de/eclipse</value>
90 <value>http://mirror.selfnet.de/eclipse</value>
91 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
92 </list>
93 </entry>
94 </map>
95 </property>
96 <property name="mavenRepositories">
97 <list>
98 <value>http://repo1.maven.org/maven2/</value>
99 <value>http://download.eclipse.org/gemini/mvn/</value>
100 </list>
101 </property>
102 <property name="javaRepository" ref="javaRepository" />
103 <property name="distRepository" ref="distRepository" />
104 </bean>
105
106 <flow:flow name="processDistribution">
107 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
108 <property name="osgiDistribution" ref="argeo-tp" />
109 <property name="osgiFactory" ref="osgiFactory" />
110 </bean>
111 </flow:flow>
112
113 <!-- Security -->
114 <bean
115 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
116 <property name="authenticationManager" ref="authenticationManager" />
117 <property name="beanNames">
118 <list>
119 <value>osgiFactory</value>
120 </list>
121 </property>
122 </bean>
123 </beans>