Skip to content

Commit

Permalink
fix: added an automatic module name (#362) (#363)
Browse files Browse the repository at this point in the history
* fix: added an automatic module name (#362)

Signed-off-by: Adam Roberts <[email protected]>

* derive module name

Signed-off-by: Kavindu Dodanduwa <[email protected]>

---------

Signed-off-by: Adam Roberts <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Co-authored-by: Kavindu Dodanduwa <[email protected]>
  • Loading branch information
ARobertsCollibra and Kavindu-Dodan authored Mar 28, 2023
1 parent 996cbd8 commit cfd7086
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 @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit cfd7086

Please sign in to comment.