]> git.argeo.org Git - gpl/argeo-tp.git/blob - distribution.xml
90623c00013e13ef064e00cfb6a7b96023abc365
[gpl/argeo-tp.git] / 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"
4 xmlns:p="http://www.springframework.org/schema/p"
5 xmlns:util="http://www.springframework.org/schema/util"
6 xmlns:flow="http://www.argeo.org/schema/slc-flow"
7 xsi:schemaLocation="
8 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
10 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
11
12 <!-- REGISTER -->
13 <bean id="argeo-tp-extras"
14 class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
15 init-method="init" destroy-method="destroy">
16 <constructor-arg
17 value="org.argeo.tp.extras:argeo-tp-extras:2.1.14-SNAPSHOT" />
18 <property name="modules">
19 <list>
20 <!-- Standalone -->
21 <ref bean="javassist" />
22 <ref bean="org.reflections" />
23
24 <!-- Apache -->
25 <ref bean="apache/org.apache.ant" />
26
27 <!-- Spring -->
28 <ref bean="spring/org.springframework" />
29 <ref bean="org.springframework.ldap" />
30 <ref bean="spring/org.springframework.security" />
31 <ref bean="eclipse/org.argeo.tp.gemini" />
32
33 <!-- Web services -->
34 <!-- <ref bean="org.atmosphere.runtime" /> -->
35 <!-- <ref bean="org.atmosphere.socketio" /> -->
36 <ref bean="ws/swagger" />
37
38 <!-- Payment providers -->
39 <ref bean="com.stripe" />
40
41 <!-- Scripting -->
42 <ref bean="black.ninia.jep" />
43 <ref bean="org.jython" />
44 <ref bean="org.graalvm.sdk" />
45 </list>
46 </property>
47 </bean>
48
49 <!-- Factory -->
50 <bean id="osgiFactory"
51 class="org.argeo.slc.repo.osgi.OsgiFactoryImpl" init-method="init"
52 destroy-method="destroy">
53 <property name="workspace" value="argeo-extras-2.1" />
54 <property name="nodeIndexers">
55 <list>
56 <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
57 <bean class="org.argeo.slc.repo.JarFileIndexer" />
58 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
59 <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
60 </list>
61 </property>
62 <property name="mirrors">
63 <map>
64 <entry key="http://archive.apache.org/dist">
65 <list>
66 <value>http://mirror.netcologne.de/apache.org</value>
67 <value>http://archive.apache.org/dist</value>
68 </list>
69 </entry>
70 <entry key="http://www.eclipse.org/downloads">
71 <list>
72 <value>http://ftp-stud.hs-esslingen.de/Mirrors/eclipse/</value>
73 <value>http://ftp.fau.de/eclipse/</value>
74 <!-- <value>http://eclipse.mirror.garr.it/mirrors/eclipse</value> -->
75 <!-- <value>http://mirror.netcologne.de/eclipse</value> -->
76 <!-- <value>http://mirror.selfnet.de/eclipse</value> -->
77 <!-- <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
78 </list>
79 </entry>
80 </map>
81 </property>
82 <property name="mavenRepositories">
83 <list>
84 <value>https://repo1.maven.org/maven2/</value>
85 <value>http://download.eclipse.org/gemini/mvn/</value>
86 </list>
87 </property>
88 <property name="javaRepository" ref="javaRepository" />
89 <property name="distRepository" ref="distRepository" />
90 </bean>
91
92 <flow:flow name="processDistribution">
93 <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
94 <property name="osgiDistribution" ref="argeo-tp-extras" />
95 <property name="osgiFactory" ref="osgiFactory" />
96 </bean>
97 </flow:flow>
98
99 <!-- Security -->
100 <bean
101 class="org.argeo.slc.spring.auth.AuthenticatedApplicationContextInitialization">
102 <property name="beanNames">
103 <list>
104 <value>osgiFactory</value>
105 </list>
106 </property>
107 </bean>
108 </beans>