source: trunk/quest-test/pom.xml @ 761

Last change on this file since 761 was 761, checked in by pharms, 12 years ago
  • created a parent pom test project
File size: 4.3 KB
Line 
1<project
2    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/xsd/maven-4.0.0.xsd"
5>
6    <modelVersion>4.0.0</modelVersion>
7    <groupId>de.ugoe.cs.quest</groupId>
8    <artifactId>quest-test</artifactId>
9    <version>0.0.1-SNAPSHOT</version>
10    <packaging>pom</packaging>
11    <name>${tested-artifact-id}-test</name>
12    <properties>
13        <quest-scm-trunk-dir>https://quest.informatik.uni-goettingen.de/svn/quest/trunk</quest-scm-trunk-dir>
14        <tested-artifactId>quest</tested-artifactId>
15        <tested-quest-version>0.0.1-SNAPSHOT</tested-quest-version>
16    </properties>
17    <scm>
18        <url>${quest-scm-trunk-dir}/${tested-artifact-id}-test</url>
19    </scm>
20    <dependencies>
21        <dependency>
22            <groupId>${project.groupId}</groupId>
23            <artifactId>${tested-artifactId}</artifactId>
24            <version>${tested-quest-version}</version>
25            <scope>test</scope>
26        </dependency>
27        <dependency>
28            <groupId>de.ugoe.cs.quest</groupId>
29            <artifactId>quest-test-utils</artifactId>
30            <version>${project.version}</version>
31            <scope>test</scope>
32        </dependency>
33        <dependency>
34            <groupId>junit</groupId>
35            <artifactId>junit</artifactId>
36            <version>4.8.1</version>
37            <scope>test</scope>
38        </dependency>
39    </dependencies>
40    <build>
41        <pluginManagement>
42            <plugins>
43                <plugin>
44                    <groupId>org.eclipse.m2e</groupId>
45                    <artifactId>lifecycle-mapping</artifactId>
46                    <version>1.0.0</version>
47                    <configuration>
48                        <lifecycleMappingMetadata>
49                            <pluginExecutions>
50                                <pluginExecution>
51                                    <pluginExecutionFilter>
52                                        <groupId>org.apache.maven.plugins</groupId>
53                                        <artifactId>maven-dependency-plugin</artifactId>
54                                        <versionRange>[1.0.0,)</versionRange>
55                                        <goals>
56                                            <goal>unpack</goal>
57                                        </goals>
58                                    </pluginExecutionFilter>
59                                    <action>
60                                        <ignore />
61                                    </action>
62                                </pluginExecution>
63                            </pluginExecutions>
64                        </lifecycleMappingMetadata>
65                    </configuration>
66                </plugin>
67            </plugins>
68        </pluginManagement>
69        <plugins>
70            <plugin>
71                <groupId>org.apache.maven.plugins</groupId>
72                <artifactId>maven-dependency-plugin</artifactId>
73                <version>2.4</version>
74                <executions>
75                    <execution>
76                        <id>unpack</id>
77                        <phase>process-classes</phase>
78                        <goals>
79                            <goal>unpack</goal>
80                        </goals>
81                        <configuration>
82                            <artifactItems>
83                                <artifactItem>
84                                    <groupId>${project.groupId}</groupId>
85                                    <artifactId>${tested-artifactId}</artifactId>
86                                    <version>${tested-quest-version}</version>
87                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
88                                </artifactItem>
89                            </artifactItems>
90                        </configuration>
91                    </execution>
92                </executions>
93            </plugin>
94            <plugin>
95                <artifactId>maven-compiler-plugin</artifactId>
96                <version>2.3.2</version>
97                <configuration>
98                    <source>1.6</source>
99                    <target>1.6</target>
100                </configuration>
101            </plugin>
102        </plugins>
103    </build>
104</project>
Note: See TracBrowser for help on using the repository browser.