blob: 586b66d3bec9d34be2670ecf53377c51ad88cfce [file] [log] [blame]
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +01001<?xml version="1.0"?>
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>eu.mulk.demos</groupId>
6 <artifactId>blog</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
8 <properties>
9 <compiler-plugin.version>3.8.1</compiler-plugin.version>
10 <maven.compiler.parameters>true</maven.compiler.parameters>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010011 <maven.compiler.source>15</maven.compiler.source>
12 <maven.compiler.target>15</maven.compiler.target>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010013 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010015 <quarkus-plugin.version>1.12.0.Final</quarkus-plugin.version>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010016 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
17 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010018 <quarkus.platform.version>1.12.0.Final</quarkus.platform.version>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010019 <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
20 <hibernate-types.version>2.10.2</hibernate-types.version>
21 </properties>
22
23 <dependencyManagement>
24 <dependencies>
25 <dependency>
26 <groupId>${quarkus.platform.group-id}</groupId>
27 <artifactId>${quarkus.platform.artifact-id}</artifactId>
28 <version>${quarkus.platform.version}</version>
29 <type>pom</type>
30 <scope>import</scope>
31 </dependency>
32
33 <dependency>
34 <groupId>com.vladmihalcea</groupId>
35 <artifactId>hibernate-types-52</artifactId>
36 <version>${hibernate-types.version}</version>
37 </dependency>
38 </dependencies>
39 </dependencyManagement>
40
41 <dependencies>
42 <dependency>
43 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010044 <artifactId>quarkus-resteasy-jsonb</artifactId>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010045 </dependency>
46 <dependency>
47 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010048 <artifactId>quarkus-resteasy</artifactId>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010049 </dependency>
50 <dependency>
51 <groupId>io.quarkus</groupId>
52 <artifactId>quarkus-hibernate-orm-panache</artifactId>
53 </dependency>
54 <dependency>
55 <groupId>io.quarkus</groupId>
56 <artifactId>quarkus-jdbc-postgresql</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>io.quarkus</groupId>
60 <artifactId>quarkus-arc</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>com.vladmihalcea</groupId>
64 <artifactId>hibernate-types-52</artifactId>
65 </dependency>
66 <dependency>
67 <groupId>io.quarkus</groupId>
68 <artifactId>quarkus-junit5</artifactId>
69 <scope>test</scope>
70 </dependency>
71 <dependency>
72 <groupId>io.rest-assured</groupId>
73 <artifactId>rest-assured</artifactId>
74 <scope>test</scope>
75 </dependency>
76 </dependencies>
77
78 <build>
79 <plugins>
80 <plugin>
81 <groupId>io.quarkus</groupId>
82 <artifactId>quarkus-maven-plugin</artifactId>
83 <version>${quarkus-plugin.version}</version>
84 <extensions>true</extensions>
85 <executions>
86 <execution>
87 <goals>
88 <goal>build</goal>
89 <goal>generate-code</goal>
90 <goal>generate-code-tests</goal>
91 </goals>
92 </execution>
93 </executions>
94 </plugin>
95
96 <plugin>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010097 <artifactId>maven-surefire-plugin</artifactId>
98 <version>${surefire-plugin.version}</version>
99 <configuration>
100 <systemPropertyVariables>
101 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
102 <maven.home>${maven.home}</maven.home>
103 </systemPropertyVariables>
104 </configuration>
105 </plugin>
Matthias Andreas Benkard07540572021-02-27 07:11:36 +0100106
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +0100107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-compiler-plugin</artifactId>
Matthias Andreas Benkard07540572021-02-27 07:11:36 +0100110 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +0100111 <configuration>
112 <source>15</source>
113 <target>15</target>
114 </configuration>
115 </plugin>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +0100116 </plugins>
117 </build>
118
119 <profiles>
120 <profile>
121 <id>native</id>
122 <activation>
123 <property>
124 <name>native</name>
125 </property>
126 </activation>
127 <build>
128 <plugins>
129 <plugin>
130 <artifactId>maven-failsafe-plugin</artifactId>
131 <version>${surefire-plugin.version}</version>
132 <executions>
133 <execution>
134 <goals>
135 <goal>integration-test</goal>
136 <goal>verify</goal>
137 </goals>
138 <configuration>
139 <systemPropertyVariables>
140 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
141 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
142 <maven.home>${maven.home}</maven.home>
143 </systemPropertyVariables>
144 </configuration>
145 </execution>
146 </executions>
147 </plugin>
148 </plugins>
149 </build>
150 <properties>
151 <quarkus.package.type>native</quarkus.package.type>
152 </properties>
153 </profile>
154 </profiles>
155</project>