]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/eclipse.jetty.xml
Remote Jackrabbit
[gpl/argeo-tp.git] / META-INF / spring / eclipse.jetty.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-0.12.xsd">
9
10 <flow:flow name="eclipse/org.argeo.tp.jetty"
11 parent="template.importJettyZip">
12 <flow:arg name="jettyVersion" value="8.1.16.v20140903" />
13 </flow:flow>
14
15 <!-- Jetty specs and templates -->
16 <flow:spec id="jettyVersion.spec">
17 <flow:primitive name="jettyVersion" isParameter="true" />
18 </flow:spec>
19
20 <flow:flow id="template.importJettyZip" spec="jettyVersion.spec"
21 abstract="true">
22 <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
23 <property name="uri"
24 value="http://www.eclipse.org/downloads/jetty/@{jettyVersion}/dist/jetty-distribution-@{jettyVersion}.zip" />
25 <property name="license">
26 <util:constant static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
27 </property>
28 <property name="includes">
29 <map>
30 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-*.jar"
31 value="org.argeo.tp.jetty" />
32 <entry key="jetty-distribution-@{jettyVersion}/lib/servlet-api-*.jar"
33 value="org.argeo.tp.javax" />
34 </map>
35 </property>
36 <property name="excludes">
37 <list>
38 <value><![CDATA[jetty-distribution-@{jettyVersion}/lib/jetty-overlay-deployer-*.jar]]></value>
39 </list>
40 </property>
41 <property name="sourcesProvider">
42 <bean class="org.argeo.slc.repo.osgi.ArchiveSourcesProvider">
43 <property name="uri"
44 value="http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/@{jettyVersion}/jetty-all-@{jettyVersion}-sources.jar" />
45 <property name="osgiFactory" ref="osgiFactory" />
46 </bean>
47 </property>
48 <property name="osgiFactory" ref="osgiFactory" />
49 </bean>
50 </flow:flow>
51
52 </beans>