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.5</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-junit</artifactId>
|
---|
35 | <version>1.9.5</version>
|
---|
36 | <name>Apache Ant + JUnit</name>
|
---|
37 | <description>contains the junit and junirreport tasks</description>
|
---|
38 | <dependencies>
|
---|
39 | <dependency>
|
---|
40 | <groupId>org.apache.ant</groupId>
|
---|
41 | <artifactId>ant</artifactId>
|
---|
42 | <version>1.9.5</version>
|
---|
43 | <scope>compile</scope>
|
---|
44 | </dependency>
|
---|
45 | <dependency>
|
---|
46 | <groupId>junit</groupId>
|
---|
47 | <artifactId>junit</artifactId>
|
---|
48 | <version>4.11</version>
|
---|
49 | <scope>compile</scope>
|
---|
50 | </dependency>
|
---|
51 | </dependencies>
|
---|
52 | <build>
|
---|
53 | <plugins>
|
---|
54 | <plugin>
|
---|
55 | <artifactId>maven-antrun-plugin</artifactId>
|
---|
56 | <executions>
|
---|
57 | <execution>
|
---|
58 | <id>create-timestamp-file</id>
|
---|
59 | <phase>generate-resources</phase>
|
---|
60 | <goals>
|
---|
61 | <goal>run</goal>
|
---|
62 | </goals>
|
---|
63 | <configuration>
|
---|
64 | <tasks>
|
---|
65 | <mkdir dir="${project.build.outputDirectory}"/>
|
---|
66 | <copy todir="${project.build.outputDirectory}/org/apache/tools/ant/taskdefs/optional/junit/xsl">
|
---|
67 | <fileset dir="${project.build.sourceDirectory}/../etc">
|
---|
68 | <include name="junit-frames.xsl"/>
|
---|
69 | <include name="junit-noframes.xsl"/>
|
---|
70 | </fileset>
|
---|
71 | </copy>
|
---|
72 | </tasks>
|
---|
73 | </configuration>
|
---|
74 | </execution>
|
---|
75 |
|
---|
76 | </executions>
|
---|
77 | </plugin>
|
---|
78 | <plugin>
|
---|
79 | <groupId>org.apache.maven.plugins</groupId>
|
---|
80 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
81 | <configuration>
|
---|
82 | <includes>
|
---|
83 | <include>org/apache/tools/ant/taskdefs/optional/junit/*</include>
|
---|
84 | </includes>
|
---|
85 | <excludes>
|
---|
86 | <exclude>org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter*</exclude>
|
---|
87 | <exclude>org/apache/tools/ant/taskdefs/optional/junit/CustomJUnit4TestAdapterCache*</exclude>
|
---|
88 | </excludes>
|
---|
89 | <testIncludes>
|
---|
90 | <include>org/apache/tools/ant/taskdefs/optional/junit/</include>
|
---|
91 | </testIncludes>
|
---|
92 | </configuration>
|
---|
93 | </plugin>
|
---|
94 | </plugins>
|
---|
95 | <sourceDirectory>../../../../src/main</sourceDirectory>
|
---|
96 | <testSourceDirectory>../../../../src/testcases</testSourceDirectory>
|
---|
97 | <outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
---|
98 | <testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
---|
99 | <directory>../../../../target/${project.artifactId}</directory>
|
---|
100 | </build>
|
---|
101 | </project>
|
---|