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.autoquest</groupId> |
---|
8 | <artifactId>autoquest-test</artifactId> |
---|
9 | <version>0.0.1-SNAPSHOT</version> |
---|
10 | <packaging>pom</packaging> |
---|
11 | <name>${tested-artifact-id}-test</name> |
---|
12 | <properties> |
---|
13 | <autoquest-scm-trunk-dir>https://autoquest.informatik.uni-goettingen.de/svn/autoquest/trunk</autoquest-scm-trunk-dir> |
---|
14 | <tested-artifactId>autoquest</tested-artifactId> |
---|
15 | <tested-autoquest-version>0.0.1-SNAPSHOT</tested-autoquest-version> |
---|
16 | </properties> |
---|
17 | <scm> |
---|
18 | <url>${autoquest-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-autoquest-version}</version> |
---|
25 | <scope>test</scope> |
---|
26 | </dependency> |
---|
27 | <dependency> |
---|
28 | <groupId>de.ugoe.cs.autoquest</groupId> |
---|
29 | <artifactId>autoquest-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 | <artifactId>maven-compiler-plugin</artifactId> |
---|
72 | <version>2.3.2</version> |
---|
73 | <configuration> |
---|
74 | <source>1.6</source> |
---|
75 | <target>1.6</target> |
---|
76 | </configuration> |
---|
77 | </plugin> |
---|
78 | </plugins> |
---|
79 | </build> |
---|
80 | <profiles> |
---|
81 | <profile> |
---|
82 | <id>test execution</id> |
---|
83 | <activation> |
---|
84 | <file> |
---|
85 | <exists>src</exists> |
---|
86 | </file> |
---|
87 | </activation> |
---|
88 | <build> |
---|
89 | <plugins> |
---|
90 | <plugin> |
---|
91 | <groupId>org.apache.maven.plugins</groupId> |
---|
92 | <artifactId>maven-dependency-plugin</artifactId> |
---|
93 | <version>2.4</version> |
---|
94 | <executions> |
---|
95 | <execution> |
---|
96 | <id>unpack</id> |
---|
97 | <phase>process-classes</phase> |
---|
98 | <goals> |
---|
99 | <goal>unpack</goal> |
---|
100 | </goals> |
---|
101 | <configuration> |
---|
102 | <artifactItems> |
---|
103 | <artifactItem> |
---|
104 | <groupId>${project.groupId}</groupId> |
---|
105 | <artifactId>${tested-artifactId}</artifactId> |
---|
106 | <version>${tested-autoquest-version}</version> |
---|
107 | <outputDirectory>${project.build.directory}/classes</outputDirectory> |
---|
108 | </artifactItem> |
---|
109 | </artifactItems> |
---|
110 | </configuration> |
---|
111 | </execution> |
---|
112 | </executions> |
---|
113 | </plugin> |
---|
114 | </plugins> |
---|
115 | </build> |
---|
116 | </profile> |
---|
117 | </profiles> |
---|
118 | </project> |
---|