diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-07-25 16:44:10 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-07-25 16:44:10 +0200 |
commit | bf4c329e16003bfb97778cf410d9a95fd8bccc02 (patch) | |
tree | cb85677fe35ac877754f26d059c66395cae472d8 | |
parent | 9a49787b9c75ee3ba6f3b054564146b03a8fc7c0 (diff) |
POM: Configure automatic module name.
Change-Id: Icdaee7b585e01b63bf08bef0dfce1ed96a19c129
-rw-r--r-- | pom.xml | 8 | ||||
-rw-r--r-- | runtime/pom.xml | 16 |
2 files changed, 24 insertions, 0 deletions
@@ -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> |