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"
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">
10 <flow:flow name=
"org.argeo.tp.eclipse/org.argeo.tp.jetty"
11 parent=
"template.importJettyZip">
12 <flow:arg name=
"jettyVersion" value=
"8.1.16.v20140903" />
15 <!-- Jetty specs and templates -->
16 <flow:spec id=
"jettyVersion.spec">
17 <flow:primitive name=
"jettyVersion" isParameter=
"true" />
20 <flow:flow id=
"template.importJettyZip" spec=
"jettyVersion.spec"
22 <bean class=
"org.argeo.slc.repo.osgi.ArchiveWrapper">
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" />
28 <property name=
"includes">
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" />
36 <property name=
"excludes">
38 <value><![CDATA[jetty-distribution-@{jettyVersion}/lib/jetty-overlay-deployer-*.jar]]
></value>
41 <property name=
"sourcesProvider">
42 <bean class=
"org.argeo.slc.repo.osgi.ArchiveSourcesProvider">
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" />
48 <property name=
"osgiFactory" ref=
"osgiFactory" />