Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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