Skip to content

Commit

Permalink
Merge pull request #105 from bowbahdoe/master
Browse files Browse the repository at this point in the history
Add module info
  • Loading branch information
jdereg authored Apr 3, 2024
2 parents ec270f9 + 34a9dbe commit 7495a06
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 7495a06

Please sign in to comment.