Skip to content

Commit

Permalink
Add module-info and compile it with Java 9+
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Aug 15, 2023
1 parent 0672e46 commit bc1dd37
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Source/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
open module com.drew.imaging {
requires xmpcore;
}
18 changes: 17 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,27 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.10.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<release>7</release>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<release>9</release>
</configuration>
</execution>
<execution>
<id>base-compile</id>
<goals><goal>compile</goal></goals>
<configuration>
<excludes><exclude>module-info.java</exclude></excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit bc1dd37

Please sign in to comment.