Skip to content

Commit 04563fb

Browse files
Rearrange Integration Tests modules (#50)
* Rearrange Integration Tests modules Signed-off-by: Ricardo Zanini <[email protected]> * Fixing test-utils module scope Signed-off-by: Ricardo Zanini <[email protected]>
1 parent 06d92b7 commit 04563fb

File tree

25 files changed

+186
-159
lines changed

25 files changed

+186
-159
lines changed

generation-input/pom.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project 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+
<parent>
6+
<artifactId>quarkus-openapi-generator-integration-tests</artifactId>
7+
<groupId>io.quarkiverse.openapi.generator</groupId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
12+
<artifactId>quarkus-openapi-generator-it-example-project</artifactId>
13+
<name>Quarkus - Openapi Generator - Integration Tests - Example Project</name>
14+
<description>Example project for general usage</description>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>io.quarkus</groupId>
19+
<artifactId>quarkus-resteasy</artifactId>
20+
</dependency>
21+
<dependency>
22+
<groupId>io.quarkus</groupId>
23+
<artifactId>quarkus-resteasy-multipart</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>io.quarkiverse.openapi.generator</groupId>
27+
<artifactId>quarkus-openapi-generator</artifactId>
28+
</dependency>
29+
<dependency>
30+
<groupId>io.quarkiverse.openapi.generator</groupId>
31+
<artifactId>quarkus-openapi-generator-test-utils</artifactId>
32+
<scope>test</scope>
33+
</dependency>
34+
<dependency>
35+
<groupId>com.github.javaparser</groupId>
36+
<artifactId>javaparser-core</artifactId>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.assertj</groupId>
40+
<artifactId>assertj-core</artifactId>
41+
</dependency>
42+
<dependency>
43+
<groupId>org.eclipse.microprofile.fault-tolerance</groupId>
44+
<artifactId>microprofile-fault-tolerance-api</artifactId>
45+
</dependency>
46+
<dependency>
47+
<groupId>io.quarkus</groupId>
48+
<artifactId>quarkus-junit5</artifactId>
49+
<scope>test</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>com.github.tomakehurst</groupId>
53+
<artifactId>wiremock-jre8</artifactId>
54+
<scope>test</scope>
55+
</dependency>
56+
</dependencies>
57+
<build>
58+
<plugins>
59+
<plugin>
60+
<groupId>io.quarkus</groupId>
61+
<artifactId>quarkus-maven-plugin</artifactId>
62+
<extensions>true</extensions>
63+
<executions>
64+
<execution>
65+
<goals>
66+
<goal>build</goal>
67+
<goal>generate-code</goal>
68+
<goal>generate-code-tests</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
</plugins>
74+
</build>
75+
<profiles>
76+
<profile>
77+
<id>native-image</id>
78+
<activation>
79+
<property>
80+
<name>native</name>
81+
</property>
82+
</activation>
83+
<build>
84+
<plugins>
85+
<plugin>
86+
<artifactId>maven-surefire-plugin</artifactId>
87+
<configuration>
88+
<skipTests>${native.surefire.skip}</skipTests>
89+
</configuration>
90+
</plugin>
91+
<plugin>
92+
<artifactId>maven-failsafe-plugin</artifactId>
93+
<executions>
94+
<execution>
95+
<goals>
96+
<goal>integration-test</goal>
97+
<goal>verify</goal>
98+
</goals>
99+
<configuration>
100+
<systemPropertyVariables>
101+
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
102+
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
103+
<maven.home>${maven.home}</maven.home>
104+
</systemPropertyVariables>
105+
</configuration>
106+
</execution>
107+
</executions>
108+
</plugin>
109+
</plugins>
110+
</build>
111+
<properties>
112+
<quarkus.package.type>native</quarkus.package.type>
113+
</properties>
114+
</profile>
115+
</profiles>
116+
117+
</project>

0 commit comments

Comments
 (0)