Move legacy
[gpl/argeo-tp.git] / org.argeo.tp.factory.core / META-INF / spring / distribution.xml
diff --git a/org.argeo.tp.factory.core/META-INF/spring/distribution.xml b/org.argeo.tp.factory.core/META-INF/spring/distribution.xml
deleted file mode 100644 (file)
index 3b85dc4..0000000
+++ /dev/null
@@ -1,233 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:p="http://www.springframework.org/schema/p"
-       xmlns:util="http://www.springframework.org/schema/util"
-       xmlns:flow="http://www.argeo.org/schema/slc-flow"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
-       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
-
-       <!-- REGISTER -->
-       <bean id="argeo-tp"
-               class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
-               init-method="init" destroy-method="destroy">
-               <constructor-arg
-                       value="org.argeo.tp:argeo-tp:2.1.28-SNAPSHOT" />
-               <property name="modules">
-                       <list>
-                               <!-- Javax -->
-                               <ref bean="javax.jcr" />
-                               <ref bean="javax.el-api" />
-                               <ref bean="javax.interceptor-api" />
-                               <ref bean="javax.enterprise.cdi-api" />
-                               <ref bean="javax.transaction-api" />
-                               <ref bean="javax.activation" />
-                               <ref bean="javax.mail" />
-                               <!-- Javax4hipsters -->
-                               <ref bean="javax.websocket" />
-                               <!-- <ref bean="javax.persistence" /> -->
-                               <ref bean="javax.xml.bind" />
-                               <!-- <ref bean="javax.ws.rs" /> -->
-                               <!-- <ref bean="javax.annotation" /> -->
-
-                               <!-- Standalone projects -->
-                               <ref bean="misc/org.slf4j" />
-                               <ref bean="slf4j.osgi" />
-                               <ref bean="org.aopalliance" />
-                               <ref bean="com.jcraft.jsch" />
-                               <ref bean="EDU.oswego.cs.dl.util.concurrent" />
-                               <ref bean="org.objectweb.asm" />
-                               <ref bean="org.aspectj.weaver" />
-                               <ref bean="misc/org.bouncycastle" />
-                               <ref bean="bitronix.tm" />
-                               <ref bean="com.googlecode.javaewah.JavaEWAH" />
-                               <!-- <ref bean="org.w3c.dom.svg" /> -->
-                               <ref bean="org.tukaani.xz" />
-                               <ref bean="net.i2p.crypto.eddsa" />
-                               <ref bean="org.yaml.snakeyaml" />
-
-                               <!-- Apache -->
-                               <ref bean="apache/org.apache.log4j" />
-                               <!-- <ref bean="apache/org.apache.xmlgraphics" /> -->
-                               <!-- <ref bean="apache/org.apache.batik" /> -->
-                               <ref bean="apache/org.apache.httpcomponents.httpcore" />
-                               <ref bean="apache/org.apache.httpcomponents.httpclient" />
-                               <ref bean="org.apache.mina.core" />
-                               <ref bean="apache/org.apache.sshd" />
-                               <ref bean="org.apache.tomcat.jni" />
-
-                               <!-- Apache Commons -->
-                               <ref bean="apache/org.apache.commons.io" />
-                               <ref bean="apache/org.apache.commons.fileupload" />
-                               <ref bean="apache/org.apache.commons.collections" />
-                               <ref bean="apache/org.apache.commons.collections4" />
-                               <ref bean="apache/org.apache.commons.dbcp" />
-                               <ref bean="apache/org.apache.commons.pool" />
-                               <ref bean="apache/org.apache.commons.codec" />
-                               <ref bean="apache/org.apache.commons.httpclient" />
-                               <ref bean="apache/org.apache.commons.vfs" />
-                               <ref bean="apache/org.apache.commons.net" />
-                               <ref bean="apache/org.apache.commons.exec" />
-                               <ref bean="apache/org.apache.commons.math3" />
-                               <ref bean="apache/org.apache.commons.cli" />
-                               <ref bean="apache/org.apache.commons.compress" />
-                               <ref bean="apache/org.apache.commons.lang3" />
-
-                               <!-- Web services -->
-                               <ref bean="ws/jackson" />
-                               <!-- <ref bean="ws/hk2" /> -->
-                               <!-- <ref bean="ws/jersey" /> -->
-
-                               <!-- Google -->
-                               <ref bean="com.google.guava" />
-                               <ref bean="com.google.guava.failureaccess" />
-                               <ref bean="com.google.gson" />
-
-                               <!-- Eclipse -->
-                               <ref bean="eclipse/org.argeo.tp.jetty" />
-                               <ref bean="eclipse/org.argeo.tp.equinox" />
-
-                               <!-- Jackrabbit -->
-                               <ref bean="apache/org.apache.tika" />
-                               <ref bean="apache/org.apache.lucene" />
-                               <ref bean="apache/org.apache.jackrabbit" />
-                               <ref bean="apache/org.apache.jackrabbit.vault" />
-
-                               <!-- Document generation and management -->
-                               <ref bean="net.sf.jxl" />
-                               <ref bean="apache/org.apache.pdfbox" />
-                               <ref bean="org.apache.xml.security" />
-                               <ref bean="org.apache.xmlbeans" />
-                               <ref bean="org.apache.xalan" />
-                               <ref bean="org.apache.xalan.serializer" />
-                               <ref bean="org.apache.xml.resolver" />
-                               <ref bean="org.apache.xerces" />
-                               <ref bean="apache/org.apache.poi" />
-                               <ref bean="org.jsoup" />
-                               <ref bean="misc/com.vladsch.flexmark" />
-                               <ref bean="org.freemarker" />
-
-                               <!-- Databases -->
-                               <ref bean="org.postgresql.jdbc42" />
-                               <ref bean="org.h2" />
-
-                               <!-- ALM -->
-                               <ref bean="org.junit" />
-                               <ref bean="org.hamcrest" />
-                               <ref bean="osgi.annotation" />
-                               <ref bean="org.osgi.service.metatype.annotations" />
-                               <ref bean="org.osgi.service.component.annotations" />
-                               <ref bean="biz.aQute.bndlib" />
-                               <ref bean="org.redline-rpm" />
-                               <ref bean="org.eclipse.jgit" />
-                       </list>
-               </property>
-       </bean>
-
-       <bean id="argeo-tp-rap-e4"
-               class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
-               init-method="init" destroy-method="destroy">
-               <constructor-arg
-                       value="org.argeo.tp:argeo-tp-rap-e4:2.1.28-SNAPSHOT" />
-               <property name="modules">
-                       <list>
-                               <ref bean="eclipse/org.argeo.tp.rap.e4" />
-                       </list>
-               </property>
-       </bean>
-
-       <bean id="argeo-tp-rcp-e4"
-               class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
-               init-method="init" destroy-method="destroy">
-               <constructor-arg
-                       value="org.argeo.tp:argeo-tp-rcp-e4:2.1.28-SNAPSHOT" />
-               <property name="modules">
-                       <list>
-                               <ref bean="eclipse/org.argeo.tp.rcp.e4" />
-                               <ref bean="org.eclipse.text" />
-                               <ref bean="org.eclipse.jface.text" />
-                       </list>
-               </property>
-       </bean>
-
-       <bean id="argeo-tp-rap-e3"
-               class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
-               init-method="init" destroy-method="destroy">
-               <constructor-arg
-                       value="org.argeo.tp:argeo-tp-rap-e3:2.1.28-SNAPSHOT" />
-               <property name="modules">
-                       <list>
-                               <ref bean="eclipse/org.argeo.tp.rap.platform" />
-                       </list>
-               </property>
-       </bean>
-
-       <!-- Factory -->
-       <bean id="osgiFactory"
-               class="org.argeo.slc.repo.osgi.OsgiFactoryImpl" init-method="init"
-               destroy-method="destroy">
-               <property name="workspace" value="argeo-2.1" />
-               <property name="nodeIndexers">
-                       <list>
-                               <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
-                               <bean class="org.argeo.slc.repo.JarFileIndexer" />
-                               <bean class="org.argeo.slc.repo.ArtifactIndexer" />
-                               <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />
-                       </list>
-               </property>
-               <property name="mirrors">
-                       <map>
-                               <entry key="http://archive.apache.org/dist">
-                                       <list>
-                                               <value>http://mirror.netcologne.de/apache.org</value>
-                                               <value>http://archive.apache.org/dist</value>
-                                       </list>
-                               </entry>
-                               <entry key="http://www.eclipse.org/downloads">
-                                       <list>
-                                               <value>https://archive.eclipse.org/</value>
-                                               <value>http://ftp-stud.hs-esslingen.de/Mirrors/eclipse/</value>
-                                               <value>http://ftp.fau.de/eclipse/</value>
-                                               <!-- <value>http://eclipse.mirror.garr.it/mirrors/eclipse</value> -->
-                                               <!-- <value>http://mirror.netcologne.de/eclipse</value> -->
-                                               <!-- <value>http://mirror.selfnet.de/eclipse</value> -->
-                                               <!-- <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
-                                       </list>
-                               </entry>
-                       </map>
-               </property>
-               <property name="mavenRepositories">
-                       <list>
-                               <value>https://repo1.maven.org/maven2/</value>
-                               <value>http://download.eclipse.org/gemini/mvn/</value>
-                       </list>
-               </property>
-               <property name="javaRepository" ref="javaRepository" />
-               <property name="distRepository" ref="distRepository" />
-       </bean>
-
-       <flow:flow name="processDistribution">
-               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
-                       <property name="osgiDistribution" ref="argeo-tp" />
-                       <property name="osgiFactory" ref="osgiFactory" />
-               </bean>
-               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
-                       <property name="osgiDistribution" ref="argeo-tp-rap-e4" />
-                       <property name="osgiFactory" ref="osgiFactory" />
-               </bean>
-               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
-                       <property name="osgiDistribution" ref="argeo-tp-rcp-e4" />
-                       <property name="osgiFactory" ref="osgiFactory" />
-               </bean>
-               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
-                       <property name="osgiDistribution" ref="argeo-tp-rap-e3" />
-                       <property name="osgiFactory" ref="osgiFactory" />
-               </bean>
-       </flow:flow>
-
-       <!-- Security -->
-       <bean
-               class="org.argeo.slc.spring.auth.AuthenticatedApplicationContextInitialization" />
-</beans>
\ No newline at end of file