source: trunk/autoquest-test/pom.xml @ 1011

Last change on this file since 1011 was 1011, checked in by pharms, 12 years ago
  • harmonized formatting of all POMs
File size: 5.0 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.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    <licenses>
13        <license>
14            <name>The Apache Software License, Version 2.0</name>
15            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
16        </license>
17    </licenses>
18    <properties>
19        <autoquest-scm-trunk-dir>https://autoquest.informatik.uni-goettingen.de/svn/autoquest/trunk</autoquest-scm-trunk-dir>
20        <tested-artifactId>autoquest</tested-artifactId>
21        <tested-autoquest-version>0.0.1-SNAPSHOT</tested-autoquest-version>
22    </properties>
23    <scm>
24        <url>${autoquest-scm-trunk-dir}/${tested-artifact-id}-test</url>
25    </scm>
26    <dependencies>
27        <dependency>
28            <groupId>${project.groupId}</groupId>
29            <artifactId>${tested-artifactId}</artifactId>
30            <version>${tested-autoquest-version}</version>
31            <scope>test</scope>
32        </dependency>
33        <dependency>
34            <groupId>de.ugoe.cs.autoquest</groupId>
35            <artifactId>autoquest-test-utils</artifactId>
36            <version>${project.version}</version>
37            <scope>test</scope>
38        </dependency>
39        <dependency>
40            <groupId>junit</groupId>
41            <artifactId>junit</artifactId>
42            <version>4.8.1</version>
43            <scope>test</scope>
44        </dependency>
45    </dependencies>
46    <build>
47        <pluginManagement>
48            <plugins>
49                <plugin>
50                    <groupId>org.eclipse.m2e</groupId>
51                    <artifactId>lifecycle-mapping</artifactId>
52                    <version>1.0.0</version>
53                    <configuration>
54                        <lifecycleMappingMetadata>
55                            <pluginExecutions>
56                                <pluginExecution>
57                                    <pluginExecutionFilter>
58                                        <groupId>org.apache.maven.plugins</groupId>
59                                        <artifactId>maven-dependency-plugin</artifactId>
60                                        <versionRange>[1.0.0,)</versionRange>
61                                        <goals>
62                                            <goal>unpack</goal>
63                                        </goals>
64                                    </pluginExecutionFilter>
65                                    <action>
66                                        <ignore />
67                                    </action>
68                                </pluginExecution>
69                            </pluginExecutions>
70                        </lifecycleMappingMetadata>
71                    </configuration>
72                </plugin>
73            </plugins>
74        </pluginManagement>
75        <plugins>
76            <plugin>
77                <artifactId>maven-compiler-plugin</artifactId>
78                <version>2.3.2</version>
79                <configuration>
80                    <source>1.6</source>
81                    <target>1.6</target>
82                </configuration>
83            </plugin>
84        </plugins>
85    </build>
86    <profiles>
87        <profile>
88            <id>test execution</id>
89            <activation>
90                <file>
91                    <exists>src</exists>
92                </file>
93            </activation>
94            <build>
95                <plugins>
96                    <plugin>
97                        <groupId>org.apache.maven.plugins</groupId>
98                        <artifactId>maven-dependency-plugin</artifactId>
99                        <version>2.4</version>
100                        <executions>
101                            <execution>
102                                <id>unpack</id>
103                                <phase>process-classes</phase>
104                                <goals>
105                                    <goal>unpack</goal>
106                                </goals>
107                                <configuration>
108                                    <artifactItems>
109                                        <artifactItem>
110                                            <groupId>${project.groupId}</groupId>
111                                            <artifactId>${tested-artifactId}</artifactId>
112                                            <version>${tested-autoquest-version}</version>
113                                            <outputDirectory>${project.build.directory}/classes</outputDirectory>
114                                        </artifactItem>
115                                    </artifactItems>
116                                </configuration>
117                            </execution>
118                        </executions>
119                    </plugin>
120                </plugins>
121            </build>
122        </profile>
123    </profiles>
124</project>
Note: See TracBrowser for help on using the repository browser.