Skip to content

Commit

Permalink
feat(package): Automatic-Module-Name in JAR Manifest
Browse files Browse the repository at this point in the history
Adds the possibility to use this package as an automatic module for Java 9+ consumers who utilize Java modularity

Resolves lazee#42
  • Loading branch information
vbaidak committed Dec 11, 2024
1 parent cedef43 commit 1ccfaac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<freemarker.version>2.3.33</freemarker.version>
<freemarker.java8.module.name>freemarker.java8</freemarker.java8.module.name>
<cucumber.version>7.18.1</cucumber.version>
<junit.version>5.11.0</junit.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down Expand Up @@ -220,6 +221,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${freemarker.java8.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 1ccfaac

Please sign in to comment.