Project

General

Profile

Download (8.39 KB) Statistics
| Branch: | Revision:

git_sitools_idoc / flarecast / cots / ant / apache-ant-1.8.1 / lib / ant.pom @ master

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