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