fix: added an automatic module name (#362) (#363)

* fix: added an automatic module name (#362)

Signed-off-by: Adam Roberts <adam.roberts@collibra.com>

* derive module name

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>

---------

Signed-off-by: Adam Roberts <adam.roberts@collibra.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
This commit is contained in:
Adam Roberts 2023-03-28 13:26:09 -04:00 committed by GitHub
parent 996cbd853a
commit cfd70863cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
pom.xml
View File

@ -13,6 +13,7 @@
<junit.jupiter.version>5.9.2</junit.jupiter.version>
<!-- exclusion expression for integration tests -->
<testExclusions>**/integration/*.java</testExclusions>
<module-name>${groupId}.${artifactId}</module-name>
</properties>
<name>OpenFeature Java SDK</name>
@ -349,6 +350,18 @@
</plugin>
<!-- End publish to maven central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${module-name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- Begin source & javadocs being generated -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>