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