1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more
|
---|
4 | contributor license agreements. See the NOTICE file distributed with
|
---|
5 | this work for additional information regarding copyright ownership.
|
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0
|
---|
7 | (the "License"); you may not use this file except in compliance with
|
---|
8 | the License. You may obtain a copy of the License at
|
---|
9 |
|
---|
10 | http://www.apache.org/licenses/LICENSE-2.0
|
---|
11 |
|
---|
12 | Unless required by applicable law or agreed to in writing, software
|
---|
13 | distributed under the License is distributed on an "AS IS" BASIS,
|
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
15 | See the License for the specific language governing permissions and
|
---|
16 | limitations under the License.
|
---|
17 | -->
|
---|
18 | <!--
|
---|
19 | This POM has been created manually by the Ant Development Team.
|
---|
20 | Please contact us if you are not satisfied with the data contained in this POM.
|
---|
21 | URL : http://ant.apache.org
|
---|
22 | -->
|
---|
23 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
24 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
---|
26 | <parent>
|
---|
27 | <groupId>org.apache.ant</groupId>
|
---|
28 | <artifactId>ant-parent</artifactId>
|
---|
29 | <relativePath>../pom.xml</relativePath>
|
---|
30 | <version>1.9.6</version>
|
---|
31 | </parent>
|
---|
32 | <modelVersion>4.0.0</modelVersion>
|
---|
33 | <url>http://ant.apache.org/</url>
|
---|
34 | <groupId>org.apache.ant</groupId>
|
---|
35 | <artifactId>ant</artifactId>
|
---|
36 | <version>1.9.6</version>
|
---|
37 | <name>Apache Ant Core</name>
|
---|
38 | <dependencies>
|
---|
39 | <dependency>
|
---|
40 | <groupId>org.apache.ant</groupId>
|
---|
41 | <artifactId>ant-launcher</artifactId>
|
---|
42 | <version>1.9.6</version>
|
---|
43 | <scope>compile</scope>
|
---|
44 | </dependency>
|
---|
45 | <dependency>
|
---|
46 | <groupId>junit</groupId>
|
---|
47 | <artifactId>junit</artifactId>
|
---|
48 | <version>4.11</version>
|
---|
49 | <scope>test</scope>
|
---|
50 | </dependency>
|
---|
51 | </dependencies>
|
---|
52 | <build>
|
---|
53 | <filters>
|
---|
54 | <filter>../../../../target/ant/.build.timestamp.properties</filter>
|
---|
55 | </filters>
|
---|
56 | <plugins>
|
---|
57 | <plugin>
|
---|
58 | <groupId>org.apache.maven.plugins</groupId>
|
---|
59 | <artifactId>maven-jar-plugin</artifactId>
|
---|
60 | <configuration> </configuration>
|
---|
61 | </plugin>
|
---|
62 | <plugin>
|
---|
63 | <artifactId>maven-antrun-plugin</artifactId>
|
---|
64 | <executions>
|
---|
65 | <execution>
|
---|
66 | <id>create-timestamp-file</id>
|
---|
67 | <phase>generate-resources</phase>
|
---|
68 | <goals>
|
---|
69 | <goal>run</goal>
|
---|
70 | </goals>
|
---|
71 | <configuration>
|
---|
72 | <tasks>
|
---|
73 | <tstamp/>
|
---|
74 | <mkdir dir="${project.build.directory}"/>
|
---|
75 | <touch file="${project.build.directory}/.build.timestamp.properties"/>
|
---|
76 | <echo file="${project.build.directory}/.build.timestamp.properties" append="false"
|
---|
77 | message="TODAY=${TODAY}"/>
|
---|
78 | </tasks>
|
---|
79 | </configuration>
|
---|
80 | </execution>
|
---|
81 | <execution>
|
---|
82 | <id>delete-timestamp-file</id>
|
---|
83 | <phase>clean</phase>
|
---|
84 | <goals>
|
---|
85 | <goal>run</goal>
|
---|
86 | </goals>
|
---|
87 | <configuration>
|
---|
88 | <tasks>
|
---|
89 | <delete file="${project.build.directory}/.build.timestamp.properties"/>
|
---|
90 | </tasks>
|
---|
91 | </configuration>
|
---|
92 | </execution>
|
---|
93 | </executions>
|
---|
94 | </plugin>
|
---|
95 | <plugin>
|
---|
96 | <groupId>org.apache.maven.plugins</groupId>
|
---|
97 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
98 | <configuration>
|
---|
99 | <excludes>
|
---|
100 | <exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude>
|
---|
101 | <exclude>org/apache/tools/ant/types/resolver/**</exclude>
|
---|
102 | <exclude>org/apache/tools/ant/listener/Log4jListener*</exclude>
|
---|
103 | <exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude>
|
---|
104 | <exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude>
|
---|
105 | <exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude>
|
---|
106 | <exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude>
|
---|
107 | <exclude>org/apache/tools/ant/launch/**</exclude>
|
---|
108 | <exclude>org/apache/tools/ant/taskdefs/optional/net/FTP*</exclude>
|
---|
109 | <exclude>org/apache/tools/ant/taskdefs/optional/net/RExec*</exclude>
|
---|
110 | <exclude>org/apache/tools/ant/taskdefs/optional/net/TelnetTask*</exclude>
|
---|
111 | <exclude>org/apache/tools/ant/taskdefs/optional/junit/*</exclude>
|
---|
112 | <exclude>org/apache/tools/ant/taskdefs/optional/ssh/*</exclude>
|
---|
113 | <exclude>org/apache/tools/ant/taskdefs/optional/image/*</exclude>
|
---|
114 | <exclude>org/apache/tools/ant/types/optional/image/*</exclude>
|
---|
115 | <exclude>org/apache/tools/ant/taskdefs/optional/Script*</exclude>
|
---|
116 | <exclude>org/apache/tools/ant/taskdefs/optional/script/**</exclude>
|
---|
117 | <exclude>org/apache/tools/ant/types/optional/*Script*</exclude>
|
---|
118 | <exclude>org/apache/tools/ant/util/ScriptRunner.java</exclude>
|
---|
119 | <exclude>org/apache/tools/ant/util/optional/ScriptRunner.java</exclude>
|
---|
120 | <exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude>
|
---|
121 | <exclude>org/apache/tools/ant/util/depend/bcel/*</exclude>
|
---|
122 | <exclude>org/apache/tools/ant/taskdefs/optional/NetRexxC*</exclude>
|
---|
123 | <exclude>org/apache/tools/ant/taskdefs/optional/Xalan2TraceSupport*</exclude>
|
---|
124 | <exclude>org/apache/tools/ant/taskdefs/optional/jdepend/*</exclude>
|
---|
125 | </excludes>
|
---|
126 | <testExcludes>
|
---|
127 | <exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude>
|
---|
128 | <exclude>org/apache/tools/ant/types/resolver/**</exclude>
|
---|
129 | <exclude>org/apache/tools/ant/util/Script*</exclude>
|
---|
130 | <exclude>org/apache/tools/ant/listener/Log4jListener*</exclude>
|
---|
131 | <exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude>
|
---|
132 | <exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude>
|
---|
133 | <exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude>
|
---|
134 | <exclude>org/apache/tools/ant/util/regexp/Jdk14Regexp*</exclude>
|
---|
135 | <exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude>
|
---|
136 | <exclude>org/apache/tools/ant/launch/**</exclude>
|
---|
137 | <exclude>org/apache/tools/ant/taskdefs/StyleTest*</exclude>
|
---|
138 | <exclude>org/apache/tools/ant/taskdefs/optional/junit/</exclude>
|
---|
139 | <exclude>org/apache/tools/ant/taskdefs/optional/net/FTP*</exclude>
|
---|
140 | <exclude>org/apache/tools/ant/taskdefs/optional/ssh/*</exclude>
|
---|
141 | </testExcludes>
|
---|
142 | </configuration>
|
---|
143 | </plugin>
|
---|
144 | <plugin>
|
---|
145 | <groupId>org.apache.maven.plugins</groupId>
|
---|
146 | <artifactId>maven-surefire-plugin</artifactId>
|
---|
147 | <configuration>
|
---|
148 | <omitBasedir>true</omitBasedir>
|
---|
149 | <systemProperties>
|
---|
150 | <property>
|
---|
151 | <name>ant.home</name>
|
---|
152 | <value>${env.ANT_HOME}</value>
|
---|
153 | </property>
|
---|
154 | <property>
|
---|
155 | <name>build.tests</name>
|
---|
156 | <value>../../../../target/ant/testcases</value>
|
---|
157 | </property>
|
---|
158 | <property>
|
---|
159 | <name>build.tests.value</name>
|
---|
160 | <value>../../../../target/ant/testcases</value>
|
---|
161 | </property>
|
---|
162 | <property>
|
---|
163 | <name>offline</name>
|
---|
164 | <value>true</value>
|
---|
165 | </property>
|
---|
166 | <property>
|
---|
167 | <name>root</name>
|
---|
168 | <value>../../../..</value>
|
---|
169 | </property>
|
---|
170 | </systemProperties>
|
---|
171 | </configuration>
|
---|
172 | </plugin>
|
---|
173 | <plugin>
|
---|
174 | <groupId>org.apache.maven.plugins</groupId>
|
---|
175 | <artifactId>maven-surefire-report-plugin</artifactId>
|
---|
176 | </plugin>
|
---|
177 | </plugins>
|
---|
178 | <resources>
|
---|
179 | <resource>
|
---|
180 | <directory>../../../../src/main</directory>
|
---|
181 | <filtering>true</filtering>
|
---|
182 | <includes>
|
---|
183 | <include>org/apache/tools/ant/taskdefs/default.properties</include>
|
---|
184 | <include>org/apache/tools/ant/types/default.properties</include>
|
---|
185 | <include>org/apache/tools/ant/taskdefs/default.properties</include>
|
---|
186 | <include>org/apache/tools/ant/types/conditions/antlib.xml</include>
|
---|
187 | <include>org/apache/tools/ant/defaultManifest.mf</include>
|
---|
188 | <include>org/apache/tools/ant/version.txt</include>
|
---|
189 | </includes>
|
---|
190 | </resource>
|
---|
191 | <resource>
|
---|
192 | <directory>../../../../src/resources</directory>
|
---|
193 | <filtering>true</filtering>
|
---|
194 | <includes>
|
---|
195 | <include>**/antlib.xml</include>
|
---|
196 | </includes>
|
---|
197 | </resource>
|
---|
198 | <resource>
|
---|
199 | <directory>../../../../docs</directory>
|
---|
200 | <filtering>false</filtering>
|
---|
201 | <includes>
|
---|
202 | <include>images/ant_logo_large.gif</include>
|
---|
203 | </includes>
|
---|
204 | </resource>
|
---|
205 | </resources>
|
---|
206 | <testResources>
|
---|
207 | <testResource>
|
---|
208 | <directory>../../../../src/etc/testcases</directory>
|
---|
209 | <filtering>true</filtering>
|
---|
210 | </testResource>
|
---|
211 | <testResource>
|
---|
212 | <directory>../../../../src/main</directory>
|
---|
213 | <filtering>true</filtering>
|
---|
214 | <excludes>
|
---|
215 | <exclude>**/*.java</exclude>
|
---|
216 | </excludes>
|
---|
217 | </testResource>
|
---|
218 | </testResources>
|
---|
219 | <sourceDirectory>../../../../src/main</sourceDirectory>
|
---|
220 | <testSourceDirectory>../../../../src/tests/junit</testSourceDirectory>
|
---|
221 | <outputDirectory>../../../../target/ant/classes</outputDirectory>
|
---|
222 | <testOutputDirectory>../../../../target/ant/testcases</testOutputDirectory>
|
---|
223 | <directory>../../../../target/ant</directory>
|
---|
224 | </build>
|
---|
225 | </project>
|
---|