11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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" >
3- <parent >
4- <artifactId >quarkus-openapi-generator-integration-tests</artifactId >
5- <groupId >io.quarkiverse.openapi.generator</groupId >
6- <version >3.0.0-SNAPSHOT</version >
7- </parent >
8- <modelVersion >4.0.0</modelVersion >
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+ <modelVersion >4.0.0</modelVersion >
6+ <parent >
7+ <artifactId >quarkus-openapi-generator-integration-tests</artifactId >
8+ <groupId >io.quarkiverse.openapi.generator</groupId >
9+ <version >3.0.0-SNAPSHOT</version >
10+ </parent >
911
10- <artifactId >quarkus-openapi-generator-it-gav</artifactId >
11- <name >Quarkus - OpenAPI Generator - Integration Tests - Client - GAV</name >
12- < description >Example project for OpenAPI via GAV coordinates</ description >
12+ <artifactId >quarkus-openapi-generator-it-gav</artifactId >
13+ <name >Quarkus - OpenAPI Generator - Integration Tests - Client - GAV</name >
14+ < packaging >pom</ packaging >
1315
14- <dependencies >
15- <dependency >
16- <groupId >io.quarkiverse.openapi.generator</groupId >
17- <artifactId >quarkus-openapi-generator</artifactId >
18- </dependency >
19- <!-- include yaml GAV coordinates -->
20- <!-- echo1 should be generated -->
21- <dependency >
22- <groupId >io.quarkiverse.openapi.generator</groupId >
23- <artifactId >quarkus-openapi-generator-gav-source-echo1</artifactId >
24- <version >3.0.0-SNAPSHOT</version >
25- <type >yaml</type >
26- </dependency >
27- <!-- echo2 will be excluded during test -->
28- <dependency >
29- <groupId >io.quarkiverse.openapi.generator</groupId >
30- <artifactId >quarkus-openapi-generator-gav-source-echo2</artifactId >
31- <version >3.0.0-SNAPSHOT</version >
32- <type >yaml</type >
33- </dependency >
34- <dependency >
35- <groupId >org.assertj</groupId >
36- <artifactId >assertj-core</artifactId >
37- <scope >test</scope >
38- </dependency >
39- <dependency >
40- <groupId >io.quarkus</groupId >
41- <artifactId >quarkus-junit5</artifactId >
42- <scope >test</scope >
43- </dependency >
44- </dependencies >
45- <build >
46- <plugins >
47- <plugin >
48- <groupId >io.quarkus</groupId >
49- <artifactId >quarkus-maven-plugin</artifactId >
50- <extensions >true</extensions >
51- <executions >
52- <execution >
53- <goals >
54- <goal >build</goal >
55- <goal >generate-code</goal >
56- <goal >generate-code-tests</goal >
57- </goals >
58- </execution >
59- </executions >
60- </plugin >
61- </plugins >
62- </build >
63- <profiles >
64- <profile >
65- <id >native-image</id >
66- <activation >
67- <property >
68- <name >native</name >
69- </property >
70- </activation >
71- <build >
16+ <properties >
17+ <maven .compiler.source>17</maven .compiler.source>
18+ <maven .compiler.target>17</maven .compiler.target>
19+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
20+ <tested .version>${project.version} </tested .version>
21+ </properties >
22+
23+ <build >
7224 <plugins >
73- <plugin >
74- <artifactId >maven-surefire-plugin</artifactId >
75- <configuration >
76- <skipTests >${native.surefire.skip} </skipTests >
77- </configuration >
78- </plugin >
79- <plugin >
80- <artifactId >maven-failsafe-plugin</artifactId >
81- <executions >
82- <execution >
83- <goals >
84- <goal >integration-test</goal >
85- <goal >verify</goal >
86- </goals >
25+ <plugin >
26+ <groupId >org.apache.maven.plugins</groupId >
27+ <artifactId >maven-invoker-plugin</artifactId >
28+ <version >3.6.1</version >
8729 <configuration >
88- <systemPropertyVariables >
89- <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
90- <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
91- <maven .home>${maven.home} </maven .home>
92- </systemPropertyVariables >
30+ <projectsDirectory >src/it</projectsDirectory >
31+ <cloneProjectsTo >${project.build.directory} /it-work</cloneProjectsTo >
32+ <localRepositoryPath >${settings.localRepository} </localRepositoryPath >
33+ <addTestClassPath >true</addTestClassPath >
34+ <streamLogs >true</streamLogs >
35+ <showErrors >true</showErrors >
36+ <properties >
37+ <tested .version>${tested.version} </tested .version>
38+ <!-- pass-through from outer -P… ; fallback provided below -->
39+ <consume .profile>${consume.profile} </consume .profile>
40+ </properties >
41+ <!-- Both projects run with the same goals, order is lexical: 01-* then 02-* -->
42+ <goals >
43+ <goal >clean</goal >
44+ <goal >install</goal >
45+ </goals >
9346 </configuration >
94- </execution >
95- </executions >
96- </plugin >
47+ <executions >
48+ <execution >
49+ <id >run-gav-it</id >
50+ <phase >install</phase >
51+ <goals >
52+ <goal >run</goal >
53+ </goals >
54+ </execution >
55+ </executions >
56+ </plugin >
9757 </plugins >
98- </build >
99- <properties >
100- <quarkus .package.type>native</quarkus .package.type>
101- </properties >
102- </profile >
103- </profiles >
58+ </build >
10459
10560</project >
0 commit comments