Skip to content

Commit

Permalink
Add JPMS module-info.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Nov 18, 2020
1 parent 6915f38 commit 813dd4a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,29 @@

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>1.0.0.RC1</version>
<executions>
<execution>
<id>add-module-infos</id>
<phase>package</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<jvmVersion>9</jvmVersion>
<module>
<moduleInfoFile>src/main/java9/module-info.java</moduleInfoFile>
</module>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
9 changes: 9 additions & 0 deletions src/main/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
open module io.ebean.docker {

requires transitive org.slf4j;
requires transitive java.sql;

exports io.ebean.docker.commands;
exports io.ebean.docker.container;

}

0 comments on commit 813dd4a

Please sign in to comment.