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

Last change on this file since 2260 was 2260, checked in by pharms, 5 years ago

Update to java 11

File size: 5.8 KB
Line 
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2    <modelVersion>4.0.0</modelVersion>
3    <groupId>de.ugoe.cs.autoquest</groupId>
4    <artifactId>autoquest-test</artifactId>
5    <version>0.2.4-SNAPSHOT</version>
6    <packaging>pom</packaging>
7    <name>autoquest-test</name>
8    <licenses>
9        <license>
10            <name>The Apache Software License, Version 2.0</name>
11            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
12        </license>
13    </licenses>
14    <properties>
15        <autoquest-scm-trunk-dir>https://autoquest.informatik.uni-goettingen.de/svn/autoquest/trunk</autoquest-scm-trunk-dir>
16        <tested-artifactId>autoquest</tested-artifactId>
17    </properties>
18    <scm>
19        <url>${autoquest-scm-trunk-dir}/${project.artifactId}</url>
20        <connection>scm:svn:${autoquest-scm-trunk-dir}/${project.artifactId}</connection>
21    </scm>
22    <distributionManagement>
23        <snapshotRepository>
24            <id>autoquest-snapshots</id>
25            <url>https://nexus.informatik.uni-goettingen.de/content/repositories/autoquest-snapshots</url>
26        </snapshotRepository>
27        <repository>
28            <id>autoquest</id>
29            <url>https://nexus.informatik.uni-goettingen.de/content/repositories/autoquest-releases</url>
30        </repository>
31    </distributionManagement>
32    <dependencies>
33        <dependency>
34            <groupId>${project.groupId}</groupId>
35            <artifactId>${tested-artifactId}</artifactId>
36            <version>${project.version}</version>
37            <scope>test</scope>
38        </dependency>
39        <dependency>
40            <groupId>de.ugoe.cs.autoquest</groupId>
41            <artifactId>autoquest-test-utils</artifactId>
42            <version>${project.version}</version>
43            <scope>test</scope>
44        </dependency>
45        <dependency>
46            <groupId>junit</groupId>
47            <artifactId>junit</artifactId>
48            <version>4.8.1</version>
49            <scope>test</scope>
50        </dependency>
51    </dependencies>
52    <build>
53        <pluginManagement>
54            <plugins>
55                <plugin>
56                    <groupId>org.eclipse.m2e</groupId>
57                    <artifactId>lifecycle-mapping</artifactId>
58                    <version>1.0.0</version>
59                    <configuration>
60                        <lifecycleMappingMetadata>
61                            <pluginExecutions>
62                                <pluginExecution>
63                                    <pluginExecutionFilter>
64                                        <groupId>org.apache.maven.plugins</groupId>
65                                        <artifactId>maven-dependency-plugin</artifactId>
66                                        <versionRange>[1.0.0,)</versionRange>
67                                        <goals>
68                                            <goal>unpack</goal>
69                                        </goals>
70                                    </pluginExecutionFilter>
71                                    <action>
72                                        <ignore />
73                                    </action>
74                                </pluginExecution>
75                            </pluginExecutions>
76                        </lifecycleMappingMetadata>
77                    </configuration>
78                </plugin>
79            </plugins>
80        </pluginManagement>
81        <plugins>
82            <plugin>
83                <artifactId>maven-compiler-plugin</artifactId>
84                <version>3.8.0</version>
85                <configuration>
86                    <release>11</release>
87                </configuration>
88            </plugin>
89            <plugin>
90                <groupId>org.codehaus.mojo</groupId>
91                <artifactId>cobertura-maven-plugin</artifactId>
92                <version>2.7</version>
93                <configuration>
94                    <formats>
95                        <format>xml</format>
96                    </formats>
97                </configuration>
98            </plugin>
99        </plugins>
100    </build>
101    <profiles>
102        <profile>
103            <id>test execution</id>
104            <activation>
105                <file>
106                    <exists>src</exists>
107                </file>
108            </activation>
109            <build>
110                <plugins>
111                    <plugin>
112                        <groupId>org.apache.maven.plugins</groupId>
113                        <artifactId>maven-dependency-plugin</artifactId>
114                        <version>3.1.1</version>
115                        <executions>
116                            <execution>
117                                <id>unpack</id>
118                                <phase>process-classes</phase>
119                                <goals>
120                                    <goal>unpack</goal>
121                                </goals>
122                                <configuration>
123                                    <artifactItems>
124                                        <artifactItem>
125                                            <groupId>${project.groupId}</groupId>
126                                            <artifactId>${tested-artifactId}</artifactId>
127                                            <version>${project.version}</version>
128                                            <outputDirectory>${project.build.directory}/classes</outputDirectory>
129                                        </artifactItem>
130                                    </artifactItems>
131                                </configuration>
132                            </execution>
133                        </executions>
134                    </plugin>
135                </plugins>
136            </build>
137        </profile>
138    </profiles>
139</project>
Note: See TracBrowser for help on using the repository browser.