]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/eclipse.jetty.xml
Make RAP version configurable from SLC UI
[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" parent="template.importJettyZip">
11 <flow:arg name="jettyVersion" value="8.1.16.v20140903" />
12 </flow:flow>
13
14 <!-- Jetty specs and templates -->
15 <flow:spec id="jettyVersion.spec">
16 <flow:primitive name="jettyVersion" isParameter="true" />
17 </flow:spec>
18
19 <flow:flow id="template.importJettyZip" spec="jettyVersion.spec"
20 abstract="true">
21 <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
22 <property name="uri"
23 value="http://www.eclipse.org/downloads/jetty/@{jettyVersion}/dist/jetty-distribution-@{jettyVersion}.zip" />
24 <property name="license">
25 <util:constant static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
26 </property>
27 <property name="includes">
28 <map>
29 <entry
30 key="jetty-distribution-@{jettyVersion}/lib/jetty-continuation.jar"
31 value="org.argeo.tp.jetty" />
32 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-http.jar"
33 value="org.argeo.tp.jetty" />
34 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-io.jar"
35 value="org.argeo.tp.jetty" />
36 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-jmx.jar"
37 value="org.argeo.tp.jetty" />
38 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-security.jar"
39 value="org.argeo.tp.jetty" />
40 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-server.jar"
41 value="org.argeo.tp.jetty" />
42 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-servlet.jar"
43 value="org.argeo.tp.jetty" />
44 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-servlets.jar"
45 value="org.argeo.tp.jetty" />
46 <entry key="jetty-distribution-@{jettyVersion}/lib/jetty-util.jar"
47 value="org.argeo.tp.jetty" />
48 <!-- Javax -->
49 <entry key="jetty-distribution-@{jettyVersion}/lib/servlet-api-*.jar"
50 value="org.argeo.tp.javax" />
51 <entry
52 key="jetty-distribution-@{jettyVersion}/lib/annotations/javax.annotation-*.jar"
53 value="org.argeo.tp.javax" />
54 <entry
55 key="jetty-distribution-@{jettyVersion}/lib/annotations/org.objectweb.asm-*.jar"
56 value="org.argeo.tp" />
57 <entry
58 key="jetty-distribution-@{jettyVersion}/lib/jndi/javax.activation-*.jar"
59 value="org.argeo.tp.javax" />
60 <entry
61 key="jetty-distribution-@{jettyVersion}/lib/jta/javax.transaction-*.jar"
62 value="org.argeo.tp.javax" />
63 </map>
64 </property>
65 <property name="excludes">
66 <list>
67 <value><![CDATA[jetty-distribution-@{jettyVersion}/lib/jetty-overlay-deployer-*.jar]]></value>
68 </list>
69 </property>
70 <property name="sourcesProvider">
71 <bean class="org.argeo.slc.repo.osgi.ArchiveSourcesProvider">
72 <property name="uri"
73 value="http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/@{jettyVersion}/jetty-all-@{jettyVersion}-sources.jar" />
74 <property name="osgiFactory" ref="osgiFactory" />
75 </bean>
76 </property>
77 <property name="osgiFactory" ref="osgiFactory" />
78 </bean>
79 </flow:flow>
80
81 </beans>