|
| 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <parent> |
| 6 | + <artifactId>quarkus-integration-tests-parent</artifactId> |
| 7 | + <groupId>io.quarkus</groupId> |
| 8 | + <version>999-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <modelVersion>4.0.0</modelVersion> |
| 11 | + |
| 12 | + <artifactId>quarkus-integration-test-openapi</artifactId> |
| 13 | + <name>Quarkus - Integration Tests - OpenAPI</name> |
| 14 | + <description>The openapi integration tests module</description> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>io.quarkus</groupId> |
| 19 | + <artifactId>quarkus-smallrye-openapi</artifactId> |
| 20 | + </dependency> |
| 21 | + <dependency> |
| 22 | + <groupId>io.quarkus</groupId> |
| 23 | + <artifactId>quarkus-resteasy-reactive-jackson</artifactId> |
| 24 | + </dependency> |
| 25 | + <dependency> |
| 26 | + <groupId>io.quarkus</groupId> |
| 27 | + <artifactId>quarkus-reactive-routes</artifactId> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>io.quarkus</groupId> |
| 31 | + <artifactId>quarkus-spring-web</artifactId> |
| 32 | + </dependency> |
| 33 | + |
| 34 | + <!-- test dependencies --> |
| 35 | + <dependency> |
| 36 | + <groupId>io.quarkus</groupId> |
| 37 | + <artifactId>quarkus-junit5</artifactId> |
| 38 | + <scope>test</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>io.quarkus</groupId> |
| 42 | + <artifactId>quarkus-junit5-component</artifactId> |
| 43 | + <scope>test</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>io.rest-assured</groupId> |
| 47 | + <artifactId>rest-assured</artifactId> |
| 48 | + <scope>test</scope> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.assertj</groupId> |
| 52 | + <artifactId>assertj-core</artifactId> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + |
| 56 | + <!-- Minimal test dependencies to *-deployment artifacts for consistent build order --> |
| 57 | + <dependency> |
| 58 | + <groupId>io.quarkus</groupId> |
| 59 | + <artifactId>quarkus-reactive-routes-deployment</artifactId> |
| 60 | + <version>${project.version}</version> |
| 61 | + <type>pom</type> |
| 62 | + <scope>test</scope> |
| 63 | + <exclusions> |
| 64 | + <exclusion> |
| 65 | + <groupId>*</groupId> |
| 66 | + <artifactId>*</artifactId> |
| 67 | + </exclusion> |
| 68 | + </exclusions> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>io.quarkus</groupId> |
| 72 | + <artifactId>quarkus-resteasy-reactive-jackson-deployment</artifactId> |
| 73 | + <version>${project.version}</version> |
| 74 | + <type>pom</type> |
| 75 | + <scope>test</scope> |
| 76 | + <exclusions> |
| 77 | + <exclusion> |
| 78 | + <groupId>*</groupId> |
| 79 | + <artifactId>*</artifactId> |
| 80 | + </exclusion> |
| 81 | + </exclusions> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>io.quarkus</groupId> |
| 85 | + <artifactId>quarkus-smallrye-openapi-deployment</artifactId> |
| 86 | + <version>${project.version}</version> |
| 87 | + <type>pom</type> |
| 88 | + <scope>test</scope> |
| 89 | + <exclusions> |
| 90 | + <exclusion> |
| 91 | + <groupId>*</groupId> |
| 92 | + <artifactId>*</artifactId> |
| 93 | + </exclusion> |
| 94 | + </exclusions> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>io.quarkus</groupId> |
| 98 | + <artifactId>quarkus-spring-web-deployment</artifactId> |
| 99 | + <version>${project.version}</version> |
| 100 | + <type>pom</type> |
| 101 | + <scope>test</scope> |
| 102 | + <exclusions> |
| 103 | + <exclusion> |
| 104 | + <groupId>*</groupId> |
| 105 | + <artifactId>*</artifactId> |
| 106 | + </exclusion> |
| 107 | + </exclusions> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + |
| 111 | + <build> |
| 112 | + <resources> |
| 113 | + <resource> |
| 114 | + <directory>src/main/resources</directory> |
| 115 | + <filtering>true</filtering> |
| 116 | + </resource> |
| 117 | + </resources> |
| 118 | + <plugins> |
| 119 | + <plugin> |
| 120 | + <groupId>io.quarkus</groupId> |
| 121 | + <artifactId>quarkus-maven-plugin</artifactId> |
| 122 | + <executions> |
| 123 | + <execution> |
| 124 | + <goals> |
| 125 | + <goal>build</goal> |
| 126 | + </goals> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <groupId>org.apache.maven.plugins</groupId> |
| 132 | + <artifactId>maven-surefire-plugin</artifactId> |
| 133 | + <configuration> |
| 134 | + <runOrder>alphabetical</runOrder> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + </plugins> |
| 138 | + </build> |
| 139 | + |
| 140 | + <profiles> |
| 141 | + |
| 142 | + <profile> |
| 143 | + <id>native-image</id> |
| 144 | + <activation> |
| 145 | + <property> |
| 146 | + <name>native</name> |
| 147 | + </property> |
| 148 | + </activation> |
| 149 | + <!-- add some custom config, the rest comes from parent --> |
| 150 | + <properties> |
| 151 | + <quarkus.native.add-all-charsets>true</quarkus.native.add-all-charsets> |
| 152 | + </properties> |
| 153 | + </profile> |
| 154 | + |
| 155 | + <profile> |
| 156 | + <id>no-native</id> |
| 157 | + <activation> |
| 158 | + <property> |
| 159 | + <name>!native</name> |
| 160 | + </property> |
| 161 | + </activation> |
| 162 | + <!-- these properties must not be defined in the general properties, |
| 163 | + otherwise the native profile in the parent pom is not able to override them --> |
| 164 | + <properties> |
| 165 | + <quarkus.package.type>uber-jar</quarkus.package.type> |
| 166 | + </properties> |
| 167 | + </profile> |
| 168 | + |
| 169 | + </profiles> |
| 170 | + |
| 171 | +</project> |
0 commit comments