POM: Configure automatic module name.

Change-Id: Icdaee7b585e01b63bf08bef0dfce1ed96a19c129
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>