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.8.0</version> 31 </parent> 32 <modelVersion>4.0.0</modelVersion> 33 <groupId>org.apache.ant</groupId> 34 <artifactId>ant</artifactId> 35 <version>1.8.0</version> 36 <name>org.apache.tools.ant</name> 37 <description>Apache Ant</description> 38 <dependencies> 39 <dependency> 40 <groupId>org.apache.ant</groupId> 41 <artifactId>ant-launcher</artifactId> 42 <version>1.8.0</version> 43 <scope>compile</scope> 44 </dependency> 45 <dependency> 46 <!-- the implementation jar of the xerces jar will be used by ant to parse 47 XML files, particularly the build files, if the JDK does not provide a parser 48 xercesImpl.jar is provided with ant --> 49 <groupId>xerces</groupId> 50 <artifactId>xercesImpl</artifactId> 51 <version>2.9.0</version> 52 <optional>true</optional> 53 <scope>runtime</scope> 54 </dependency> 55 <dependency> 56 <!-- xml-apis contains the org.w3c.dom package 57 since ant is using DOM APIS to parse the XML build file and do other XML related activities 58 xml-apis is a compile time dependency 59 a version of xml-apis.jar is delivered with ant --> 60 <groupId>xml-apis</groupId> 61 <artifactId>xml-apis</artifactId> 62 <version>1.3.04</version> 63 <optional>true</optional> 64 <scope>compile</scope> 65 </dependency> 66 </dependencies> 67 <build> 68 <filters> 69 <filter>../../../../target/ant/.build.timestamp.properties</filter> 70 </filters> 71 <plugins> 72 <plugin> 73 <groupId>org.apache.maven.plugins</groupId> 74 <artifactId>maven-jar-plugin</artifactId> 75 <configuration> </configuration> 76 </plugin> 77 <plugin> 78 <artifactId>maven-antrun-plugin</artifactId> 79 <executions> 80 <execution> 81 <id>create-timestamp-file</id> 82 <phase>generate-resources</phase> 83 <goals> 84 <goal>run</goal> 85 </goals> 86 <configuration> 87 <tasks> 88 <tstamp/> 89 <mkdir dir="${project.build.directory}"/> 90 <touch file="${project.build.directory}/.build.timestamp.properties"/> 91 <echo file="${project.build.directory}/.build.timestamp.properties" append="false" 92 message="TODAY=${TODAY}"/> 93 </tasks> 94 </configuration> 95 </execution> 96 <execution> 97 <id>delete-timestamp-file</id> 98 <phase>clean</phase> 99 <goals> 100 <goal>run</goal> 101 </goals> 102 <configuration> 103 <tasks> 104 <delete file="${project.build.directory}/.build.timestamp.properties"/> 105 </tasks> 106 </configuration> 107 </execution> 108 </executions> 109 </plugin> 110 <plugin> 111 <groupId>org.apache.maven.plugins</groupId> 112 <artifactId>maven-compiler-plugin</artifactId> 113 <configuration> 114 <source>1.4</source> 115 <target>1.4</target> 116 <excludes> 117 <exclude>org/apache/tools/ant/taskdefs/optional/**</exclude> 118 <exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude> 119 <exclude>org/apache/tools/ant/types/optional/**</exclude> 120 <exclude>org/apache/tools/ant/types/resolver/**</exclude> 121 <exclude>org/apache/tools/ant/util/ScriptRunner.java</exclude> 122 <exclude>org/apache/tools/ant/util/depend/**</exclude> 123 <exclude>org/apache/tools/ant/util/optional/**</exclude> 124 <exclude>org/apache/tools/ant/listener/Log4jListener*</exclude> 125 <exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude> 126 <exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude> 127 <exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude> 128 <exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude> 129 <exclude>org/apache/tools/ant/launch/**</exclude> 130 </excludes> 131 <testExcludes> 132 <exclude>org/apache/tools/ant/taskdefs/optional/**</exclude> 133 <exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude> 134 <exclude>org/apache/tools/ant/types/optional/**</exclude> 135 <exclude>org/apache/tools/ant/types/resolver/**</exclude> 136 <exclude>org/apache/tools/ant/util/depend/**</exclude> 137 <exclude>org/apache/tools/ant/util/optional/**</exclude> 138 <exclude>org/apache/tools/ant/util/Script*</exclude> 139 <exclude>org/apache/tools/ant/listener/Log4jListener*</exclude> 140 <exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude> 141 <exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude> 142 <exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude> 143 <exclude>org/apache/tools/ant/util/regexp/Jdk14Regexp*</exclude> 144 <exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude> 145 <exclude>org/apache/tools/ant/launch/**</exclude> 146 <exclude>org/apache/tools/ant/taskdefs/StyleTest*</exclude> 147 </testExcludes> 148 </configuration> 149 </plugin> 150 <plugin> 151 <groupId>org.apache.maven.plugins</groupId> 152 <artifactId>maven-surefire-plugin</artifactId> 153 <configuration> 154 <omitBasedir>true</omitBasedir> 155 <systemProperties> 156 <property> 157 <name>ant.home</name> 158 <value>${env.ANT_HOME}</value> 159 </property> 160 <property> 161 <name>build.tests</name> 162 <value>../../../../target/ant/testcases</value> 163 </property> 164 <property> 165 <name>build.tests.value</name> 166 <value>../../../../target/ant/testcases</value> 167 </property> 168 <property> 169 <name>offline</name> 170 <value>true</value> 171 </property> 172 <property> 173 <name>root</name> 174 <value>../../../..</value> 175 </property> 176 </systemProperties> 177 </configuration> 178 </plugin> 179 <plugin> 180 <groupId>org.apache.maven.plugins</groupId> 181 <artifactId>maven-surefire-report-plugin</artifactId> 182 </plugin> 183 </plugins> 184 <resources> 185 <resource> 186 <directory>../../../../src/main</directory> 187 <filtering>true</filtering> 188 <includes> 189 <include>org/apache/tools/ant/taskdefs/default.properties</include> 190 <include>org/apache/tools/ant/types/default.properties</include> 191 <include>org/apache/tools/ant/taskdefs/default.properties</include> 192 <include>org/apache/tools/ant/types/conditions/antlib.xml</include> 193 <include>org/apache/tools/ant/defaultManifest.mf</include> 194 <include>org/apache/tools/ant/version.txt</include> 195 </includes> 196 </resource> 197 <resource> 198 <directory>../../../../src/resources</directory> 199 <filtering>true</filtering> 200 <includes> 201 <include>**/antlib.xml</include> 202 </includes> 203 </resource> 204 <resource> 205 <directory>../../../../docs</directory> 206 <filtering>false</filtering> 207 <includes> 208 <include>images/ant_logo_large.gif</include> 209 </includes> 210 </resource> 211 </resources> 212 <testResources> 213 <testResource> 214 <directory>../../../../src/etc/testcases</directory> 215 <filtering>true</filtering> 216 </testResource> 217 <testResource> 218 <directory>../../../../src/main</directory> 219 <filtering>true</filtering> 220 <excludes> 221 <exclude>**/*.java</exclude> 222 </excludes> 223 </testResource> 224 </testResources> 225 <sourceDirectory>../../../../src/main</sourceDirectory> 226 <testSourceDirectory>../../../../src/tests/junit</testSourceDirectory> 227 <outputDirectory>../../../../target/ant/classes</outputDirectory> 228 <testOutputDirectory>../../../../target/ant/testcases</testOutputDirectory> 229 <directory>../../../../target/ant</directory> 230 </build> 231 </project> 232