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

Last change on this file since 2284 was 2270, checked in by pharms, 5 years ago
File size: 7.0 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.jacoco</groupId>
91                <artifactId>jacoco-maven-plugin</artifactId>
92                <version>0.8.3</version>
93                <executions>
94                    <execution>
95                        <id>default-prepare-agent</id>
96                        <goals>
97                            <goal>prepare-agent</goal>
98                        </goals>
99                    </execution>
100                    <execution>
101                        <id>default-report</id>
102                        <goals>
103                            <goal>report</goal>
104                        </goals>
105                    </execution>
106                    <execution>
107                        <id>default-check</id>
108                        <goals>
109                            <goal>check</goal>
110                        </goals>
111                        <configuration>
112                            <rules>
113                                <rule>
114                                    <element>BUNDLE</element>
115                                    <limits>
116                                        <limit>
117                                            <counter>COMPLEXITY</counter>
118                                            <value>COVEREDRATIO</value>
119                                            <minimum>0.60</minimum>
120                                        </limit>
121                                    </limits>
122                                </rule>
123                            </rules>
124                        </configuration>
125                    </execution>
126                </executions>
127            </plugin>
128        </plugins>
129    </build>
130    <profiles>
131        <profile>
132            <id>test execution</id>
133            <activation>
134                <file>
135                    <exists>src</exists>
136                </file>
137            </activation>
138            <build>
139                <plugins>
140                    <plugin>
141                        <groupId>org.apache.maven.plugins</groupId>
142                        <artifactId>maven-dependency-plugin</artifactId>
143                        <version>3.1.1</version>
144                        <executions>
145                            <execution>
146                                <id>unpack</id>
147                                <phase>process-classes</phase>
148                                <goals>
149                                    <goal>unpack</goal>
150                                </goals>
151                                <configuration>
152                                    <artifactItems>
153                                        <artifactItem>
154                                            <groupId>${project.groupId}</groupId>
155                                            <artifactId>${tested-artifactId}</artifactId>
156                                            <version>${project.version}</version>
157                                            <outputDirectory>${project.build.directory}/classes</outputDirectory>
158                                        </artifactItem>
159                                    </artifactItems>
160                                </configuration>
161                            </execution>
162                        </executions>
163                    </plugin>
164                </plugins>
165            </build>
166        </profile>
167    </profiles>
168</project>
Note: See TracBrowser for help on using the repository browser.