Marek Czernek
2020-05-14 45f6c2e892ba929f5ba6c3bcee2c77df5ab4626c
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.developers</groupId>
6   <artifactId>recommendation</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-rest-client</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>io.quarkus</groupId>
37       <artifactId>quarkus-arc</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>io.quarkus</groupId>
41       <artifactId>quarkus-junit5</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>io.rest-assured</groupId>
45       <artifactId>rest-assured</artifactId>
46       <scope>test</scope>
47     </dependency>
48     <dependency>
49       <groupId>io.quarkus</groupId>
50       <artifactId>quarkus-smallrye-health</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>io.quarkus</groupId>
54       <artifactId>quarkus-smallrye-metrics</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>io.quarkus</groupId>
58       <artifactId>quarkus-smallrye-opentracing</artifactId>
59     </dependency>
60   </dependencies>
61   <build>
62     <plugins>
63       <plugin>
64         <groupId>io.quarkus</groupId>
65         <artifactId>quarkus-maven-plugin</artifactId>
66         <version>${quarkus.version}</version>
67         <executions>
68           <execution>
69             <goals>
70               <goal>build</goal>
71             </goals>
72           </execution>
73         </executions>
74       </plugin>
75       <plugin>
76         <artifactId>maven-surefire-plugin</artifactId>
77         <version>${surefire-plugin.version}</version>
78         <configuration>
79           <systemProperties>
80             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
81           </systemProperties>
82         </configuration>
83       </plugin>
84     </plugins>
85   </build>
86   <profiles>
87     <profile>
88       <id>native</id>
89       <activation>
90         <property>
91           <name>native</name>
92         </property>
93       </activation>
94       <build>
95         <plugins>
96           <plugin>
97             <groupId>io.quarkus</groupId>
98             <artifactId>quarkus-maven-plugin</artifactId>
99             <version>${quarkus.version}</version>
100             <executions>
101               <execution>
102                 <goals>
103                   <goal>native-image</goal>
104                 </goals>
105                 <configuration>
106                   <enableHttpUrlHandler>true</enableHttpUrlHandler>
107                 </configuration>
108               </execution>
109             </executions>
110           </plugin>
111           <plugin>
112             <artifactId>maven-failsafe-plugin</artifactId>
113             <version>${surefire-plugin.version}</version>
114             <executions>
115               <execution>
116                 <goals>
117                   <goal>integration-test</goal>
118                   <goal>verify</goal>
119                 </goals>
120                 <configuration>
121                   <systemProperties>
122                     <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
123                   </systemProperties>
124                 </configuration>
125               </execution>
126             </executions>
127           </plugin>
128         </plugins>
129       </build>
130     </profile>
131   </profiles>
132 </project>