Skip to content
Permalink
Browse files
CSV-292: Add Automatic-Module-Name to JAR file
This allows for using Commons CSV in JPMS based projects that want to
declare a requirement on the org.apache.commons.csv module
  • Loading branch information
rvesse authored and kinow committed Dec 15, 2021
1 parent c3bba73 commit 32d59ce9b4a0bcb824ba36e6fdd2df2052e8e6ff
Showing 1 changed file with 18 additions and 0 deletions.
18 pom.xml
@@ -283,6 +283,24 @@
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive combine.children="append">
<manifestEntries>
<Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

0 comments on commit 32d59ce

Please sign in to comment.