233 lines
9.5 KiB
Plaintext
233 lines
9.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||
|
contributor license agreements. See the NOTICE file distributed with
|
||
|
this work for additional information regarding copyright ownership.
|
||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||
|
(the "License"); you may not use this file except in compliance with
|
||
|
the License. You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
-->
|
||
|
<!--
|
||
|
This POM has been created manually by the Ant Development Team.
|
||
|
Please contact us if you are not satisfied with the data contained in this POM.
|
||
|
URL : http://ant.apache.org
|
||
|
-->
|
||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||
|
<parent>
|
||
|
<groupId>org.apache.ant</groupId>
|
||
|
<artifactId>ant-parent</artifactId>
|
||
|
<relativePath>../pom.xml</relativePath>
|
||
|
<version>1.7.1</version>
|
||
|
</parent>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<groupId>org.apache.ant</groupId>
|
||
|
<artifactId>ant</artifactId>
|
||
|
<version>1.7.1</version>
|
||
|
<name>org.apache.tools.ant</name>
|
||
|
<description>Apache Ant</description>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.ant</groupId>
|
||
|
<artifactId>ant-launcher</artifactId>
|
||
|
<version>1.7.1</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<!-- the implementation jar of the xerces jar will be used by ant to parse
|
||
|
XML files, particularly the build files, if the JDK does not provide a parser
|
||
|
xercesImpl.jar is provided with ant -->
|
||
|
<groupId>xerces</groupId>
|
||
|
<artifactId>xercesImpl</artifactId>
|
||
|
<version>2.9.0</version>
|
||
|
<optional>true</optional>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<!-- xml-apis contains the org.w3c.dom package
|
||
|
since ant is using DOM APIS to parse the XML build file and do other XML related activities
|
||
|
xml-apis is a compile time dependency
|
||
|
a version of xml-apis.jar is delivered with ant -->
|
||
|
<groupId>xml-apis</groupId>
|
||
|
<artifactId>xml-apis</artifactId>
|
||
|
<version>1.3.04</version>
|
||
|
<optional>true</optional>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<filters>
|
||
|
<filter>../../../../target/ant/.build.timestamp.properties</filter>
|
||
|
</filters>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<configuration> </configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>create-timestamp-file</id>
|
||
|
<phase>generate-resources</phase>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<tasks>
|
||
|
<tstamp/>
|
||
|
<mkdir dir="${project.build.directory}"/>
|
||
|
<touch file="${project.build.directory}/.build.timestamp.properties"/>
|
||
|
<echo file="${project.build.directory}/.build.timestamp.properties" append="false"
|
||
|
message="TODAY=${TODAY}"/>
|
||
|
</tasks>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>delete-timestamp-file</id>
|
||
|
<phase>clean</phase>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<tasks>
|
||
|
<delete file="${project.build.directory}/.build.timestamp.properties"/>
|
||
|
</tasks>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<source>1.2</source>
|
||
|
<target>1.2</target>
|
||
|
<excludes>
|
||
|
<exclude>org/apache/tools/ant/taskdefs/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude>
|
||
|
<exclude>org/apache/tools/ant/types/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/types/resolver/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/depend/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/Script*</exclude>
|
||
|
<exclude>org/apache/tools/ant/listener/Log4jListener*</exclude>
|
||
|
<exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/Jdk14Regexp*</exclude>
|
||
|
<exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude>
|
||
|
<exclude>org/apache/tools/ant/launch/**</exclude>
|
||
|
</excludes>
|
||
|
<testExcludes>
|
||
|
<exclude>org/apache/tools/ant/taskdefs/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/filters/util/JavaClassHelper*</exclude>
|
||
|
<exclude>org/apache/tools/ant/types/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/types/resolver/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/depend/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/optional/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/Script*</exclude>
|
||
|
<exclude>org/apache/tools/ant/listener/Log4jListener*</exclude>
|
||
|
<exclude>org/apache/tools/ant/listener/CommonsLoggingListener*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/JakartaRegexp*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/JakartaOro*</exclude>
|
||
|
<exclude>org/apache/tools/ant/util/regexp/Jdk14Regexp*</exclude>
|
||
|
<exclude>org/apache/tools/ant/taskdefs/email/MimeMailer*</exclude>
|
||
|
<exclude>org/apache/tools/ant/launch/**</exclude>
|
||
|
<exclude>org/apache/tools/ant/taskdefs/StyleTest*</exclude>
|
||
|
</testExcludes>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<omitBasedir>true</omitBasedir>
|
||
|
<systemProperties>
|
||
|
<property>
|
||
|
<name>ant.home</name>
|
||
|
<value>${env.ANT_HOME}</value>
|
||
|
</property>
|
||
|
<property>
|
||
|
<name>build.tests</name>
|
||
|
<value>../../../../target/ant/testcases</value>
|
||
|
</property>
|
||
|
<property>
|
||
|
<name>build.tests.value</name>
|
||
|
<value>../../../../target/ant/testcases</value>
|
||
|
</property>
|
||
|
<property>
|
||
|
<name>offline</name>
|
||
|
<value>true</value>
|
||
|
</property>
|
||
|
<property>
|
||
|
<name>root</name>
|
||
|
<value>../../../..</value>
|
||
|
</property>
|
||
|
</systemProperties>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>../../../../src/main</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<includes>
|
||
|
<include>org/apache/tools/ant/taskdefs/default.properties</include>
|
||
|
<include>org/apache/tools/ant/types/default.properties</include>
|
||
|
<include>org/apache/tools/ant/taskdefs/default.properties</include>
|
||
|
<include>org/apache/tools/ant/types/conditions/antlib.xml</include>
|
||
|
<include>org/apache/tools/ant/defaultManifest.mf</include>
|
||
|
<include>org/apache/tools/ant/version.txt</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>../../../../src/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<includes>
|
||
|
<include>**/antlib.xml</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>../../../../docs</directory>
|
||
|
<filtering>false</filtering>
|
||
|
<includes>
|
||
|
<include>images/ant_logo_large.gif</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<testResources>
|
||
|
<testResource>
|
||
|
<directory>../../../../src/etc/testcases</directory>
|
||
|
<filtering>true</filtering>
|
||
|
</testResource>
|
||
|
<testResource>
|
||
|
<directory>../../../../src/main</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<excludes>
|
||
|
<exclude>**/*.java</exclude>
|
||
|
</excludes>
|
||
|
</testResource>
|
||
|
</testResources>
|
||
|
<sourceDirectory>../../../../src/main</sourceDirectory>
|
||
|
<testSourceDirectory>../../../../src/tests/junit</testSourceDirectory>
|
||
|
<outputDirectory>../../../../target/ant/classes</outputDirectory>
|
||
|
<testOutputDirectory>../../../../target/ant/testcases</testOutputDirectory>
|
||
|
<directory>../../../../target/ant</directory>
|
||
|
</build>
|
||
|
</project>
|