[MSHARED-878] - Add automatic module name
diff --git a/pom.xml b/pom.xml
index 05c3900..4ab7475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,6 +62,17 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Automatic-Module-Name>org.apache.maven.shared.artifact.transfer</Automatic-Module-Name>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
             <configuration>
             <showDeprecation>true</showDeprecation>