Skip to content

Commit 6e92250

Browse files
author
Sebastian Hoß
committed
add automatic module name to jar manifest
This allows downstream projects using lambda to publish their own jars as modules without switching lambda itself to a jigsaw module.
1 parent abf79dd commit 6e92250

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@
103103
<groupId>org.apache.maven.plugins</groupId>
104104
<artifactId>maven-jar-plugin</artifactId>
105105
<version>${maven-jar-plugin.version}</version>
106+
<configuration>
107+
<archive>
108+
<manifestEntries>
109+
<Automatic-Module-Name>com.jnape.palatable.lambda</Automatic-Module-Name>
110+
</manifestEntries>
111+
</archive>
112+
</configuration>
106113
<executions>
107114
<execution>
108115
<goals>

0 commit comments

Comments
 (0)