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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
25 <parent> |
|
26 <groupId>org.apache.ant</groupId> |
|
27 <artifactId>ant-parent</artifactId> |
|
28 <relativePath>../pom.xml</relativePath> |
|
29 <version>1.8.2</version> |
|
30 </parent> |
|
31 <modelVersion>4.0.0</modelVersion> |
|
32 <groupId>org.apache.ant</groupId> |
|
33 <artifactId>ant-netrexx</artifactId> |
|
34 <version>1.8.2</version> |
|
35 <name>Apache Ant + NetRexx</name> |
|
36 <description>NetRexxC task |
|
37 dependency can be downloaded from http://www.ibm.com/software/awdtools/netrexx/download.html</description> |
|
38 <dependencies> |
|
39 <dependency> |
|
40 <groupId>org.apache.ant</groupId> |
|
41 <artifactId>ant</artifactId> |
|
42 <version>1.8.2</version> |
|
43 <scope>compile</scope> |
|
44 </dependency> |
|
45 <!-- Processed too early, before maven-antrun-plugin gets a chance to work: |
|
46 <dependency> |
|
47 <groupId>com.ibm.netrexx</groupId> |
|
48 <artifactId>netrexx</artifactId> |
|
49 <version>2.0.5</version> |
|
50 <scope>system</scope> |
|
51 <systemPath>${basedir}/../../../../lib/optional/NetRexxC.jar</systemPath> |
|
52 </dependency> |
|
53 --> |
|
54 </dependencies> |
|
55 <build> |
|
56 <plugins> |
|
57 <plugin> |
|
58 <groupId>org.apache.maven.plugins</groupId> |
|
59 <artifactId>maven-compiler-plugin</artifactId> |
|
60 <configuration> |
|
61 <source>1.4</source> |
|
62 <target>1.4</target> |
|
63 <includes> |
|
64 <include>org/apache/tools/ant/taskdefs/optional/NetRexxC*</include> |
|
65 </includes> |
|
66 <!-- Need to use this rather than system scope as above: --> |
|
67 <compilerArguments> |
|
68 <extdirs>${basedir}/../../../../lib/optional</extdirs> |
|
69 </compilerArguments> |
|
70 </configuration> |
|
71 </plugin> |
|
72 <plugin> |
|
73 <groupId>org.apache.maven.plugins</groupId> |
|
74 <artifactId>maven-antrun-plugin</artifactId> |
|
75 <version>1.4</version> |
|
76 <executions> |
|
77 <execution> |
|
78 <phase>validate</phase> |
|
79 <configuration> |
|
80 <tasks> |
|
81 <ant dir="${basedir}/../../../.." antfile="fetch.xml" target="netrexx"> |
|
82 <property name="dest" value="optional"/> |
|
83 </ant> |
|
84 </tasks> |
|
85 </configuration> |
|
86 <goals> |
|
87 <goal>run</goal> |
|
88 </goals> |
|
89 </execution> |
|
90 </executions> |
|
91 </plugin> |
|
92 </plugins> |
|
93 <sourceDirectory>../../../../src/main</sourceDirectory> |
|
94 <testSourceDirectory>../../../../src/testcases</testSourceDirectory> |
|
95 <outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory> |
|
96 <testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory> |
|
97 <directory>../../../../target/${project.artifactId}</directory> |
|
98 </build> |
|
99 </project> |
|