Olaf Bohlen
2023-02-06 4441766567f5f2402d662c29fd24cd0be7060075
commit | author | age
5d16ef 1 <?xml version="1.0"?>
JR 2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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.training.home.automation</groupId>
6   <artifactId>home-automation</artifactId>
7   <version>1.0-SNAPSHOT</version>
8   <properties>
9     <compiler-plugin.version>3.8.1</compiler-plugin.version>
10     <maven.compiler.parameters>true</maven.compiler.parameters>
11     <maven.compiler.source>1.8</maven.compiler.source>
12     <maven.compiler.target>1.8</maven.compiler.target>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
e61dc3 15     <quarkus-plugin.version>1.12.1.Final</quarkus-plugin.version>
5d16ef 16     <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
JR 17     <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
e61dc3 18     <quarkus.platform.version>1.12.1.Final</quarkus.platform.version>
5d16ef 19     <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
JR 20   </properties>
21   <dependencyManagement>
22     <dependencies>
23       <dependency>
24         <groupId>${quarkus.platform.group-id}</groupId>
25         <artifactId>${quarkus.platform.artifact-id}</artifactId>
26         <version>${quarkus.platform.version}</version>
27         <type>pom</type>
28         <scope>import</scope>
29       </dependency>
30     </dependencies>
31   </dependencyManagement>
32   <dependencies>
33     <dependency>
34       <groupId>io.quarkus</groupId>
35       <artifactId>quarkus-resteasy</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>io.quarkus</groupId>
39       <artifactId>quarkus-junit5</artifactId>
40       <scope>test</scope>
41     </dependency>
42     <dependency>
43       <groupId>io.rest-assured</groupId>
44       <artifactId>rest-assured</artifactId>
45       <scope>test</scope>
46     </dependency>
47     <dependency>
48       <groupId>io.quarkus</groupId>
49       <artifactId>quarkus-resteasy-mutiny</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>io.quarkus</groupId>
53       <artifactId>quarkus-vertx</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.junit.jupiter</groupId>
57       <artifactId>junit-jupiter-params</artifactId>
58       <scope>test</scope>
59     </dependency>
60   </dependencies>
61   <build>
62     <plugins>
63       <plugin>
64         <groupId>io.quarkus</groupId>
65         <artifactId>quarkus-maven-plugin</artifactId>
66         <version>${quarkus-plugin.version}</version>
67         <executions>
68           <execution>
69             <goals>
70               <goal>generate-code</goal>
71               <goal>generate-code-tests</goal>
72               <goal>build</goal>
73             </goals>
74           </execution>
75         </executions>
76       </plugin>
77       <plugin>
78         <artifactId>maven-compiler-plugin</artifactId>
79         <version>${compiler-plugin.version}</version>
80       </plugin>
81       <plugin>
82         <artifactId>maven-surefire-plugin</artifactId>
83         <version>${surefire-plugin.version}</version>
84         <configuration>
85           <systemPropertyVariables>
86             <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
87             <maven.home>${maven.home}</maven.home>
88           </systemPropertyVariables>
89           <redirectTestOutputToFile>true</redirectTestOutputToFile>
90         </configuration>
91       </plugin>
92     </plugins>
93   </build>
94   <profiles>
95     <profile>
96       <id>native</id>
97       <activation>
98         <property>
99           <name>native</name>
100         </property>
101       </activation>
102       <build>
103         <plugins>
104           <plugin>
105             <artifactId>maven-failsafe-plugin</artifactId>
106             <version>${surefire-plugin.version}</version>
107             <executions>
108               <execution>
109                 <goals>
110                   <goal>integration-test</goal>
111                   <goal>verify</goal>
112                 </goals>
113                 <configuration>
114                   <systemPropertyVariables>
115                     <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
116                     <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
117                     <maven.home>${maven.home}</maven.home>
118                   </systemPropertyVariables>
119                 </configuration>
120               </execution>
121             </executions>
122           </plugin>
123         </plugins>
124       </build>
125       <properties>
126         <quarkus.package.type>native</quarkus.package.type>
127       </properties>
128     </profile>
129   </profiles>
130 </project>