dependabot[bot]
2020-05-26 d12efbf463e35fc70ff4d83d03c2586f1974d259
commit | author | age
542955 1 <?xml version="1.0"?>
MC 2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <groupId>com.redhat.developer.demos.preference.rest</groupId>
6   <artifactId>preference</artifactId>
7   <version>1.0-SNAPSHOT</version>
8   <properties>
9     <surefire-plugin.version>2.22.0</surefire-plugin.version>
10     <quarkus.version>1.1.0.Final</quarkus.version>
11     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12     <maven.compiler.source>1.8</maven.compiler.source>
13     <maven.compiler.target>1.8</maven.compiler.target>
14   </properties>
15   <dependencyManagement>
16     <dependencies>
17       <dependency>
18         <groupId>io.quarkus</groupId>
19         <artifactId>quarkus-bom</artifactId>
20         <version>${quarkus.version}</version>
21         <type>pom</type>
22         <scope>import</scope>
23       </dependency>
24     </dependencies>
25   </dependencyManagement>
26   <dependencies>
27     <dependency>
28       <groupId>io.quarkus</groupId>
29       <artifactId>quarkus-resteasy</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>io.quarkus</groupId>
33       <artifactId>quarkus-junit5</artifactId>
34       <scope>test</scope>
35     </dependency>
36     <dependency>
37       <groupId>io.rest-assured</groupId>
38       <artifactId>rest-assured</artifactId>
39       <scope>test</scope>
40     </dependency>
41     <dependency>
42       <groupId>io.quarkus</groupId>
43       <artifactId>quarkus-rest-client</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>io.quarkus</groupId>
47       <artifactId>quarkus-smallrye-opentracing</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>io.quarkus</groupId>
51       <artifactId>quarkus-smallrye-health</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>io.quarkus</groupId>
55       <artifactId>quarkus-smallrye-metrics</artifactId>
56     </dependency>
57   </dependencies>
58   <build>
59     <plugins>
60       <plugin>
61         <groupId>io.quarkus</groupId>
62         <artifactId>quarkus-maven-plugin</artifactId>
63         <version>${quarkus.version}</version>
64         <executions>
65           <execution>
66             <goals>
67               <goal>build</goal>
68             </goals>
69           </execution>
70         </executions>
71       </plugin>
72       <plugin>
73         <artifactId>maven-surefire-plugin</artifactId>
74         <version>${surefire-plugin.version}</version>
75         <configuration>
76           <systemProperties>
77             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
78           </systemProperties>
79         </configuration>
80       </plugin>
81     </plugins>
82   </build>
83   <profiles>
84     <profile>
85       <id>native</id>
86       <activation>
87         <property>
88           <name>native</name>
89         </property>
90       </activation>
91       <build>
92         <plugins>
93           <plugin>
94             <groupId>io.quarkus</groupId>
95             <artifactId>quarkus-maven-plugin</artifactId>
96             <version>${quarkus.version}</version>
97             <executions>
98               <execution>
99                 <goals>
100                   <goal>native-image</goal>
101                 </goals>
102                 <configuration>
103                   <enableHttpUrlHandler>true</enableHttpUrlHandler>
104                 </configuration>
105               </execution>
106             </executions>
107           </plugin>
108           <plugin>
109             <artifactId>maven-failsafe-plugin</artifactId>
110             <version>${surefire-plugin.version}</version>
111             <executions>
112               <execution>
113                 <goals>
114                   <goal>integration-test</goal>
115                   <goal>verify</goal>
116                 </goals>
117                 <configuration>
118                   <systemProperties>
119                     <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
120                   </systemProperties>
121                 </configuration>
122               </execution>
123             </executions>
124           </plugin>
125         </plugins>
126       </build>
127     </profile>
128   </profiles>
129 </project>