blob: ca5c806de086be71eebcd492a92e7e3d13402479 [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>
Matthias Andreas Benkard08492672021-02-27 13:57:48 +01008
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +01009 <properties>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010010 <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 Benkard08492672021-02-27 13:57:48 +010013
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010014 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Matthias Andreas Benkard08492672021-02-27 13:57:48 +010016
17 <asciidoctor-plugin.version>2.1.0</asciidoctor-plugin.version>
18 <compiler-plugin.version>3.8.1</compiler-plugin.version>
19
20 <asciidoctorj.version>2.4.3</asciidoctorj.version>
21 <asciidoctorj-revealjs.version>4.1.0</asciidoctorj-revealjs.version>
22 <hibernate-types.version>2.10.3</hibernate-types.version>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010023 <quarkus-plugin.version>1.12.0.Final</quarkus-plugin.version>
Matthias Andreas Benkard08492672021-02-27 13:57:48 +010024 <quarkus.platform.version>1.12.0.Final</quarkus.platform.version>
25 <revealjs.version>3.9.2</revealjs.version>
26 <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
27
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010028 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
29 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010030 </properties>
31
32 <dependencyManagement>
33 <dependencies>
34 <dependency>
35 <groupId>${quarkus.platform.group-id}</groupId>
36 <artifactId>${quarkus.platform.artifact-id}</artifactId>
37 <version>${quarkus.platform.version}</version>
38 <type>pom</type>
39 <scope>import</scope>
40 </dependency>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010041 <dependency>
42 <groupId>com.vladmihalcea</groupId>
43 <artifactId>hibernate-types-52</artifactId>
44 <version>${hibernate-types.version}</version>
45 </dependency>
46 </dependencies>
47 </dependencyManagement>
48
49 <dependencies>
50 <dependency>
51 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010052 <artifactId>quarkus-resteasy-jsonb</artifactId>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010053 </dependency>
54 <dependency>
55 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010056 <artifactId>quarkus-resteasy</artifactId>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010057 </dependency>
58 <dependency>
59 <groupId>io.quarkus</groupId>
60 <artifactId>quarkus-hibernate-orm-panache</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>io.quarkus</groupId>
64 <artifactId>quarkus-jdbc-postgresql</artifactId>
65 </dependency>
66 <dependency>
67 <groupId>io.quarkus</groupId>
68 <artifactId>quarkus-arc</artifactId>
69 </dependency>
70 <dependency>
71 <groupId>com.vladmihalcea</groupId>
72 <artifactId>hibernate-types-52</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>io.quarkus</groupId>
76 <artifactId>quarkus-junit5</artifactId>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>io.rest-assured</groupId>
81 <artifactId>rest-assured</artifactId>
82 <scope>test</scope>
83 </dependency>
84 </dependencies>
85
86 <build>
87 <plugins>
88 <plugin>
89 <groupId>io.quarkus</groupId>
90 <artifactId>quarkus-maven-plugin</artifactId>
91 <version>${quarkus-plugin.version}</version>
92 <extensions>true</extensions>
93 <executions>
94 <execution>
95 <goals>
96 <goal>build</goal>
97 <goal>generate-code</goal>
98 <goal>generate-code-tests</goal>
99 </goals>
100 </execution>
101 </executions>
102 </plugin>
103
104 <plugin>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +0100105 <artifactId>maven-surefire-plugin</artifactId>
106 <version>${surefire-plugin.version}</version>
107 <configuration>
108 <systemPropertyVariables>
109 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
110 <maven.home>${maven.home}</maven.home>
111 </systemPropertyVariables>
112 </configuration>
113 </plugin>
Matthias Andreas Benkard07540572021-02-27 07:11:36 +0100114
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +0100115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-compiler-plugin</artifactId>
Matthias Andreas Benkard07540572021-02-27 07:11:36 +0100118 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +0100119 <configuration>
120 <source>15</source>
121 <target>15</target>
122 </configuration>
123 </plugin>
Matthias Andreas Benkard08492672021-02-27 13:57:48 +0100124
125 <plugin>
126 <groupId>org.asciidoctor</groupId>
127 <artifactId>asciidoctor-maven-plugin</artifactId>
128 <version>${asciidoctor-plugin.version}</version>
129 <configuration>
130 <backend>revealjs</backend>
131 <requires>
132 <require>asciidoctor-revealjs</require>
133 </requires>
134 <attributes>
135 <revealjsdir>
136 https://cdn.jsdelivr.net/npm/reveal.js@${revealjs.version}
137 </revealjsdir>
138 </attributes>
139 </configuration>
140 <dependencies>
141 <dependency>
142 <groupId>org.asciidoctor</groupId>
143 <artifactId>asciidoctorj</artifactId>
144 <version>${asciidoctorj.version}</version>
145 </dependency>
146 <dependency>
147 <groupId>org.asciidoctor</groupId>
148 <artifactId>asciidoctorj-revealjs</artifactId>
149 <version>${asciidoctorj-revealjs.version}</version>
150 </dependency>
151 </dependencies>
152 </plugin>
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +0100153 </plugins>
154 </build>
155
156 <profiles>
157 <profile>
158 <id>native</id>
159 <activation>
160 <property>
161 <name>native</name>
162 </property>
163 </activation>
164 <build>
165 <plugins>
166 <plugin>
167 <artifactId>maven-failsafe-plugin</artifactId>
168 <version>${surefire-plugin.version}</version>
169 <executions>
170 <execution>
171 <goals>
172 <goal>integration-test</goal>
173 <goal>verify</goal>
174 </goals>
175 <configuration>
176 <systemPropertyVariables>
177 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
178 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
179 <maven.home>${maven.home}</maven.home>
180 </systemPropertyVariables>
181 </configuration>
182 </execution>
183 </executions>
184 </plugin>
185 </plugins>
186 </build>
187 <properties>
188 <quarkus.package.type>native</quarkus.package.type>
189 </properties>
190 </profile>
191 </profiles>
192</project>