summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-07-25 16:44:10 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-07-25 16:44:10 +0200
commitbf4c329e16003bfb97778cf410d9a95fd8bccc02 (patch)
treecb85677fe35ac877754f26d059c66395cae472d8
parent9a49787b9c75ee3ba6f3b054564146b03a8fc7c0 (diff)
POM: Configure automatic module name.
Change-Id: Icdaee7b585e01b63bf08bef0dfce1ed96a19c129
-rw-r--r--pom.xml8
-rw-r--r--runtime/pom.xml16
2 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 0d5b8f3..732a471 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,6 +54,7 @@
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<failsafe-plugin.version>${surefire-plugin.version}</failsafe-plugin.version>
+ <jar-plugin.version>3.2.0</jar-plugin.version>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
@@ -88,6 +89,7 @@
<pluginManagement>
<plugins>
+
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
@@ -122,6 +124,12 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
</plugin>
+
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${jar-plugin.version}</version>
+ </plugin>
+
</plugins>
</pluginManagement>
diff --git a/runtime/pom.xml b/runtime/pom.xml
index e4f1be1..ac576cc 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -26,6 +26,7 @@
<build>
<plugins>
+
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
@@ -42,6 +43,7 @@
</execution>
</executions>
</plugin>
+
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
@@ -54,7 +56,21 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${jar-plugin.version}</version>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Automatic-Module-Name>eu.mulk.quarkus.googlecloud.jsonlogging</Automatic-Module-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+
</plugins>
+
</build>
</project>