<?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"
+ 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-0.12.xsd">
+ http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
- <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
+ <!-- REGISTER -->
+ <bean id="argeo-tp"
+ class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
init-method="init" destroy-method="destroy">
- <property name="workspace" value="org.argeo.tp-2.1.x" />
- <property name="nodeIndexers">
+ <constructor-arg
+ value="org.argeo.tp:argeo-tp:2.1.25-SNAPSHOT" />
+ <property name="modules">
<list>
- <bean class="org.argeo.slc.repo.ArtifactIndexer" />
- <bean class="org.argeo.slc.repo.JarFileIndexer" />
+ <!-- Javax -->
+ <ref bean="javax.jcr" />
+ <ref bean="javax.transaction" />
+ <ref bean="javax.mail" />
+ <ref bean="javax.websocket" />
+
+ <!-- Standalone projects -->
+ <ref bean="misc/org.slf4j" />
+ <ref bean="slf4j.osgi" />
+ <ref bean="org.aopalliance" />
+ <ref bean="org.junit" />
+ <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" />
+
+ <!-- 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" />
+
+ <!-- Google -->
+ <ref bean="com.google.guava" />
+ <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.osgi.annotation.bundle" />
+ <ref bean="biz.aQute.bndlib" />
+ <ref bean="org.redline-rpm" />
+ <ref bean="org.eclipse.jgit" />
</list>
</property>
- <property name="javaRepository" ref="javaRepository" />
- <property name="distRepository" ref="distRepository" />
</bean>
- <bean name="org.argeo.tp/org.slf4j" parent="template.wrapDistribution">
- <constructor-arg>
+ <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.25-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.25-SNAPSHOT" />
+ <property name="modules">
+ <list>
+ <ref bean="eclipse/org.argeo.tp.rcp.e4" />
+ </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.25-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="version" value="1.7.5" />
+ <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>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>
- </constructor-arg>
+ </property>
+ <property name="mavenRepositories">
+ <list>
+ <value>http://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>
- <!-- Specs and templates -->
- <flow:spec id="wrapDistribution.spec">
- <flow:primitive name="version" isParameter="true" />
- </flow:spec>
-
- <flow:flow id="template.wrapDistribution" spec="wrapDistribution.spec"
- abstract="true">
- <bean class="org.argeo.slc.repo.osgi.DistributionWrapper">
- <property name="groupId" value="org.argeo.tp" />
- <property name="uri"
- value="http://www.slf4j.org/dist/slf4j-@{version}.zip" />
- <property name="wrappers">
- <map>
- <entry key="slf4j-@{version}/slf4j-api-@{version}.jar">
- <bean class="org.argeo.slc.repo.osgi.BndWrapper">
- <property name="bsn" value="org.slf4j.api" />
- <property name="version" value="@{version}" />
- </bean>
- </entry>
- </map>
- </property>
+ <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.security.core.AuthenticatedApplicationContextInitialization">
- <property name="authenticationManager" ref="authenticationManager" />
- <property name="beanNames">
- <list>
- <value>osgiFactory</value>
- </list>
- </property>
- </bean>
-
+ class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
</beans>
\ No newline at end of file