Skip to content

Commit 064bd2e

Browse files
shawkinsmanusa
authored andcommitted
fix #4067: moving generator tests to their own module
1 parent c4a3291 commit 064bd2e

21 files changed

+84
-8
lines changed

crd-generator/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@
3333
<modules>
3434
<module>apt</module>
3535
<module>api</module>
36+
<module>test</module>
3637
</modules>
3738
</project>

crd-generator/test/pom.xml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2015 Red Hat, Inc.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<project xmlns="http://maven.apache.org/POM/4.0.0"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<parent>
23+
<artifactId>crd-generator-parent</artifactId>
24+
<groupId>io.fabric8</groupId>
25+
<version>6.0-SNAPSHOT</version>
26+
</parent>
27+
<modelVersion>4.0.0</modelVersion>
28+
29+
<artifactId>crd-generator-test</artifactId>
30+
<name>Fabric8 :: CRD generator :: Tests</name>
31+
32+
<dependencies>
33+
<dependency>
34+
<groupId>io.fabric8</groupId>
35+
<artifactId>crd-generator-apt</artifactId>
36+
</dependency>
37+
38+
<dependency>
39+
<groupId>org.junit.jupiter</groupId>
40+
<artifactId>junit-jupiter-engine</artifactId>
41+
<scope>test</scope>
42+
</dependency>
43+
44+
<dependency>
45+
<groupId>javax.validation</groupId>
46+
<artifactId>validation-api</artifactId>
47+
<scope>test</scope>
48+
</dependency>
49+
50+
</dependencies>
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.codehaus.mojo</groupId>
55+
<artifactId>exec-maven-plugin</artifactId>
56+
<version>3.0.0</version>
57+
<executions>
58+
<execution>
59+
<goals>
60+
<goal>java</goal>
61+
</goals>
62+
</execution>
63+
</executions>
64+
<configuration>
65+
<classpathScope>test</classpathScope>
66+
</configuration>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.jacoco</groupId>
70+
<artifactId>jacoco-maven-plugin</artifactId>
71+
<executions>
72+
<execution>
73+
<id>report-aggregate</id>
74+
<phase>verify</phase>
75+
<goals>
76+
<goal>report-aggregate</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
</plugins>
82+
</build>
83+
</project>

0 commit comments

Comments
 (0)