Skip to content

Commit

Permalink
Add module info
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Apr 3, 2024
1 parent ec270f9 commit 34a9dbe
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<version.maven-source-plugin>3.3.0</version.maven-source-plugin>
<version.maven-scr-plugin>1.26.4</version.maven-scr-plugin>
<version.maven-bundle-plugin>5.1.9</version.maven-bundle-plugin>
<version.moditect>1.0.0.Final</version.moditect>

<!-- release plugin -->
<version.nexus-staging-maven-plugin>1.6.13</version.nexus-staging-maven-plugin>
Expand Down Expand Up @@ -226,6 +227,37 @@
<version>${version.maven-surefire-plugin}</version>
</plugin>

<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>${version.moditect}</version>
<executions>
<execution>
<id>add-module-infos</id>
<goals>
<goal>add-module-info</goal>
</goals>
<phase>package</phase>
<configuration>
<jvmVersion>9</jvmVersion>
<module>
<moduleInfo>
<name>com.cedarsoftware.util</name>
<requires>
java.sql;
java.xml;
</requires>
<exports>
com.cedarsoftware.util;
com.cedarsoftware.util.convert;
</exports>
</moduleInfo>
</module>
<overwriteExistingFiles>true</overwriteExistingFiles>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 34a9dbe

Please sign in to comment.