blob: 974ddc4c3a306568914360e7ef3db74226f767e6 [file] [log] [blame]
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +02001<?xml version="1.0" encoding="UTF-8"?>
Matthias Andreas Benkard80909242022-02-03 20:47:47 +01002
3<!--
4SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
5
6SPDX-License-Identifier: LGPL-3.0-or-later
7-->
8
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +02009<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"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
11
12 <modelVersion>4.0.0</modelVersion>
13
Matthias Andreas Benkardb8fbc372021-05-11 06:50:45 +020014 <groupId>eu.mulk.quarkus-googlecloud-jsonlogging</groupId>
Matthias Andreas Benkard017a4542022-09-04 15:57:52 +020015 <version>4.1.1</version>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020016
17 <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020018 <packaging>pom</packaging>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020019
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020020 <name>Quarkus Google Cloud JSON Logging Extension - Parent</name>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020021 <url>https://gerrit.benkard.de/plugins/gitiles/quarkus-googlecloud-jsonlogging</url>
Matthias Andreas Benkard121a6312021-05-12 05:41:25 +020022
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020023 <description>
24 A Quarkus extension that logs to standard output in a JSON format
25 compatible with Google Cloud Logging.
26 </description>
27
28 <licenses>
29 <license>
Matthias Andreas Benkard77113762021-10-30 10:34:08 +020030 <name>GNU Lesser General Public License v3.0 or later</name>
31 <url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020032 </license>
33 </licenses>
34
35 <developers>
36 <developer>
37 <name>Matthias Benkard</name>
38 <email>code@mulk.eu</email>
39 <organization>Matthias Benkard</organization>
40 <organizationUrl>https://matthias.benkard.de</organizationUrl>
41 </developer>
42 </developers>
43
44 <scm>
45 <connection>scm:git:https://gerrit.benkard.de/quarkus-googlecloud-jsonlogging</connection>
46 <developerConnection>scm:git:ssh://gerrit.benkard.de:29418/quarkus-googlecloud-jsonlogging</developerConnection>
47 <url>https://gerrit.benkard.de/plugins/gitiles/quarkus-googlecloud-jsonlogging</url>
48 </scm>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020049
50 <modules>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010051 <module>core</module>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020052 <module>deployment</module>
53 <module>runtime</module>
54 </modules>
55
56 <properties>
57 <maven.compiler.parameters>true</maven.compiler.parameters>
Matthias Andreas Benkard121a6312021-05-12 05:41:25 +020058 <maven.compiler.release>11</maven.compiler.release>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020059
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
62
63 <compiler-plugin.version>3.8.1</compiler-plugin.version>
64 <failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version>
Matthias Andreas Benkarde369c512022-04-15 20:54:52 +020065 <flatten-plugin.version>1.2.7</flatten-plugin.version>
Matthias Andreas Benkardc567bf42022-04-15 20:56:11 +020066 <google-java-format.version>1.15.0</google-java-format.version>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010067 <jar-plugin.version>3.2.2</jar-plugin.version>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020068 <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
Matthias Andreas Benkarda4733ba2021-05-12 08:41:09 +020069 <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020070 <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
71 <nexus-staging-plugin.version>1.6.8</nexus-staging-plugin.version>
Matthias Andreas Benkardc567bf42022-04-15 20:56:11 +020072 <spotless-plugin.version>2.22.1</spotless-plugin.version>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020073 <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020074
Matthias Andreas Benkard23233772022-09-04 15:57:34 +020075 <quarkus.version>2.12.0.Final</quarkus.version>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020076 </properties>
77
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020078 <distributionManagement>
79 <snapshotRepository>
80 <id>ossrh</id>
81 <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
82 </snapshotRepository>
83 </distributionManagement>
84
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020085 <dependencyManagement>
86 <dependencies>
87 <dependency>
88 <groupId>io.quarkus</groupId>
89 <artifactId>quarkus-bom</artifactId>
90 <version>${quarkus.version}</version>
91 <type>pom</type>
92 <scope>import</scope>
93 </dependency>
94 </dependencies>
95 </dependencyManagement>
96
97 <build>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +020098
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +020099 <pluginManagement>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200100
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200101 <plugins>
Matthias Andreas Benkardbf4c3292021-07-25 16:44:10 +0200102
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200103 <plugin>
104 <groupId>io.quarkus</groupId>
105 <artifactId>quarkus-maven-plugin</artifactId>
106 <version>${quarkus.version}</version>
107 </plugin>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200108
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200109 <plugin>
110 <artifactId>maven-surefire-plugin</artifactId>
111 <version>${surefire-plugin.version}</version>
112 <configuration>
113 <systemPropertyVariables>
114 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
115 <maven.home>${maven.home}</maven.home>
116 <maven.repo>${settings.localRepository}</maven.repo>
117 </systemPropertyVariables>
118 </configuration>
119 </plugin>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200120
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200121 <plugin>
122 <artifactId>maven-failsafe-plugin</artifactId>
123 <version>${failsafe-plugin.version}</version>
124 <configuration>
125 <systemPropertyVariables>
126 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
127 <maven.home>${maven.home}</maven.home>
128 <maven.repo>${settings.localRepository}</maven.repo>
129 </systemPropertyVariables>
130 </configuration>
131 </plugin>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200132
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200133 <plugin>
134 <artifactId>maven-compiler-plugin</artifactId>
135 <version>${compiler-plugin.version}</version>
136 </plugin>
Matthias Andreas Benkardbf4c3292021-07-25 16:44:10 +0200137
138 <plugin>
139 <artifactId>maven-jar-plugin</artifactId>
140 <version>${jar-plugin.version}</version>
141 </plugin>
142
Matthias Andreas Benkarde369c512022-04-15 20:54:52 +0200143 <plugin>
144 <groupId>org.codehaus.mojo</groupId>
145 <artifactId>flatten-maven-plugin</artifactId>
146 <version>${flatten-plugin.version}</version>
147 <executions>
148 <execution>
149 <id>flatten</id>
150 <phase>process-resources</phase>
151 <goals>
152 <goal>flatten</goal>
153 </goals>
154 </execution>
155 <execution>
156 <id>flatten.clean</id>
157 <phase>clean</phase>
158 <goals>
159 <goal>clean</goal>
160 </goals>
161 </execution>
162 </executions>
163 </plugin>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200164 </plugins>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200165
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200166 </pluginManagement>
Matthias Andreas Benkard4bae5f12021-05-03 19:16:48 +0200167
168 <plugins>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200169
Matthias Andreas Benkard4bae5f12021-05-03 19:16:48 +0200170 <plugin>
171 <groupId>com.diffplug.spotless</groupId>
172 <artifactId>spotless-maven-plugin</artifactId>
173 <version>${spotless-plugin.version}</version>
174 <configuration>
175 <java>
176 <removeUnusedImports/>
177 <importOrder>
178 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
179 </importOrder>
180 <googleJavaFormat>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100181 <version>${google-java-format.version}</version>
Matthias Andreas Benkard4bae5f12021-05-03 19:16:48 +0200182 <style>GOOGLE</style>
183 </googleJavaFormat>
184 </java>
185 </configuration>
186 </plugin>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200187
188 <plugin>
189 <groupId>org.sonatype.plugins</groupId>
190 <artifactId>nexus-staging-maven-plugin</artifactId>
191 <version>${nexus-staging-plugin.version}</version>
192 <extensions>true</extensions>
193 <configuration>
194 <serverId>ossrh</serverId>
195 <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
196 <autoReleaseAfterClose>true</autoReleaseAfterClose>
197 </configuration>
198 </plugin>
199
Matthias Andreas Benkarde369c512022-04-15 20:54:52 +0200200 <plugin>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>flatten-maven-plugin</artifactId>
203 <configuration>
204 <flattenMode>oss</flattenMode>
205 <flattenDependencyMode>all</flattenDependencyMode>
206 <pomElements>
207 <distributionManagement>flatten</distributionManagement>
208 </pomElements>
209 </configuration>
210 </plugin>
211
Matthias Andreas Benkard4bae5f12021-05-03 19:16:48 +0200212 </plugins>
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200213 </build>
214
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200215 <profiles>
216
217 <profile>
218 <id>release</id>
219
220 <build>
221 <plugins>
222
223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-source-plugin</artifactId>
226 <version>${maven-source-plugin.version}</version>
227 <executions>
228 <execution>
229 <id>attach-sources</id>
230 <goals>
231 <goal>jar-no-fork</goal>
232 </goals>
233 </execution>
234 </executions>
235 </plugin>
236
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-javadoc-plugin</artifactId>
240 <version>${maven-javadoc-plugin.version}</version>
241 <executions>
242 <execution>
243 <id>attach-javadocs</id>
244 <goals>
245 <goal>jar</goal>
246 </goals>
247 </execution>
248 </executions>
249 </plugin>
250
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-gpg-plugin</artifactId>
254 <version>${maven-gpg-plugin.version}</version>
Matthias Andreas Benkard0b6e4282021-05-12 08:48:07 +0200255 <configuration>
256 <keyname>code@mulk.eu</keyname>
257 </configuration>
Matthias Andreas Benkard3a997da2021-05-12 05:40:43 +0200258 <executions>
259 <execution>
260 <id>sign-artifacts</id>
261 <phase>verify</phase>
262 <goals>
263 <goal>sign</goal>
264 </goals>
265 </execution>
266 </executions>
267 </plugin>
268
269 </plugins>
270 </build>
271 </profile>
272
273 </profiles>
274
Matthias Andreas Benkardc8144a92021-05-03 08:04:53 +0200275</project>