]> git.argeo.org Git - gpl/argeo-tp.git/blob - org.argeo.tp.factory.extras/META-INF/spring/apache.ant.xml
Prepare next development cycle
[gpl/argeo-tp.git] / org.argeo.tp.factory.extras / META-INF / spring / apache.ant.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-1.2.xsd">
9
10 <flow:flow name="apache/org.apache.ant" spec="spec.version">
11 <flow:arg name="version" value="1.9.2" />
12 <bean parent="template.archiveWrapper">
13 <property name="uri"
14 value="http://archive.apache.org/dist/ant/binaries/apache-ant-@{version}-bin.zip" />
15 <property name="license">
16 <util:constant static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
17 </property>
18 <property name="wrappers">
19 <map>
20 <entry key="apache-ant-@{version}/lib/ant.jar">
21 <bean id="org.apache.ant" parent="template.org.apache.ant" />
22 </entry>
23 <entry key="apache-ant-@{version}/lib/ant-launcher.jar">
24 <bean id="org.apache.ant.launch" parent="template.org.apache.ant" />
25 </entry>
26 </map>
27 </property>
28 <property name="sourcesProvider">
29 <bean class="org.argeo.slc.repo.osgi.ArchiveSourcesProvider">
30 <property name="uri"
31 value="http://archive.apache.org/dist/ant/source/apache-ant-@{version}-src.zip" />
32 <property name="base" value="apache-ant-@{version}/src/main/" />
33 <property name="osgiFactory" ref="osgiFactory" />
34 </bean>
35 </property>
36 </bean>
37 </flow:flow>
38
39 <!-- Specs and templates -->
40 <bean id="template.org.apache.ant" parent="template.bndWrapper"
41 abstract="true">
42 <property name="groupId" value="org.argeo.tp.apache.ant" />
43 </bean>
44 </beans>