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