~ubuntu-branches/ubuntu/wily/maven-antrun-plugin/wily

« back to all changes in this revision

Viewing changes to src/it/test1/pom.xml

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-07-19 19:38:53 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110719193853-4umqiv4uwqcbrdd0
Tags: 1.6-1
* Team upload.
* New upstream release.
* Bump Standards-Version to 3.9.2. No changes were required.
* Migrate to source package format 3.0 (quilt).
* Allow package to build twice in a row.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<project xmlns="http://maven.apache.org/POM/4.0.0"
3
 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
 
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
 
  <modelVersion>4.0.0</modelVersion>
6
 
  
7
 
  <groupId>org.apache.maven.plugins.antrun</groupId>
8
 
  <artifactId>test1</artifactId>
9
 
  <version>1.0-SNAPSHOT</version>
10
 
  <name>Test for compile and plugin classpath references</name>
11
 
  <description>Ensure that maven.compile.classpath and maven.plugin.classpath referencies are set</description>
12
 
 
13
 
  <dependencies>
14
 
    <dependency>
15
 
      <groupId>junit</groupId>
16
 
      <artifactId>junit</artifactId>
17
 
      <version>3.8.2</version>
18
 
    </dependency>
19
 
  </dependencies>
20
 
 
21
 
  <build>
22
 
    <plugins>
23
 
      <plugin>
24
 
        <groupId>org.apache.maven.plugins</groupId>
25
 
        <artifactId>maven-antrun-plugin</artifactId>
26
 
        <version>@pom.version@</version>
27
 
        <executions>
28
 
          <execution>
29
 
            <id>compile</id>
30
 
            <phase>compile</phase>
31
 
            <configuration>
32
 
              <sourceRoot>target/generated/src/main/java</sourceRoot>
33
 
              <tasks>
34
 
 
35
 
                <path id="classpath">
36
 
                  <path refid="maven.compile.classpath"/>
37
 
                  <path refid="maven.plugin.classpath"/>
38
 
                </path>
39
 
                <ant antfile="${basedir}/build.xml" inheritRefs="true">
40
 
                  <target name="test"/>
41
 
                </ant>
42
 
 
43
 
                <path id="classpath">
44
 
                  <path refid="maven.dependency.classpath"/>
45
 
                </path>
46
 
                <ant antfile="${basedir}/build.xml" inheritRefs="true">
47
 
                  <target name="test"/>
48
 
                </ant>
49
 
 
50
 
              </tasks>
51
 
            </configuration>
52
 
            <goals>
53
 
              <goal>run</goal>
54
 
            </goals>
55
 
          </execution>
56
 
        </executions>
57
 
      </plugin>
58
 
    </plugins>
59
 
  </build>
60
 
 
61
 
</project>