This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


The following commit(s) were added to refs/heads/master by this push:
     new 5906b78  Added Automatic-Module-Name to support JPMS (#31)
5906b78 is described below

commit 5906b788172d3305a92a920923b0673397b60f98
Author: scholzi100 <scholzi_p...@me.com>
AuthorDate: Thu Jun 4 19:45:28 2020 +0200

    Added Automatic-Module-Name to support JPMS (#31)
    
    * Added Automatic-Module-Name to support JPMS.
    
    * Using predefined module name property for manifest.
---
 pom.xml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 15ba20b..2d14f27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -285,7 +285,18 @@
             </overrideCompatibilityChangeParameters>
           </parameter>
         </configuration>
-      </plugin>    
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              
<Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
       </plugins>
     </build>
 

Reply via email to