Skip to content

Commit

Permalink
Compile/run tests with added Java 9 main classes
Browse files Browse the repository at this point in the history
  • Loading branch information
stanio committed Aug 6, 2022
1 parent b727218 commit 9e0fdf0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pom.xml
Expand Up @@ -103,6 +103,18 @@
<multiReleaseOutput>true</multiReleaseOutput>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<!--source>9</source>
<target>9</target-->
<compilerArgs>
<arg>-Xbootclasspath/a:${project.build.outputDirectory}/META-INF/versions/9</arg>
<!--arg>- -patch-module</arg>
<arg>${module.name}=${project.build.outputDirectory}/META-INF/versions/9</arg-->
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand All @@ -124,6 +136,11 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<additionalClasspathElements>
${project.build.outputDirectory}/META-INF/versions/9
</additionalClasspathElements>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
Expand Down
1 change: 1 addition & 0 deletions xbrz-awt/pom.xml
Expand Up @@ -16,6 +16,7 @@
<description>Scaling Java AWT images with xBRZ</description>

<properties>
<module.name>io.github.stanio.xbrz.awt</module.name>
<maven.install.skip>false</maven.install.skip>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
Expand Down
1 change: 1 addition & 0 deletions xbrz-core/pom.xml
Expand Up @@ -24,6 +24,7 @@ Java port by Stanio</description>
</licenses>

<properties>
<module.name>io.github.stanio.xbrz.core</module.name>
<maven.install.skip>false</maven.install.skip>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
Expand Down
1 change: 1 addition & 0 deletions xbrz-tool/pom.xml
Expand Up @@ -15,6 +15,7 @@
<name>xBRZ for Java Tool</name>

<properties>
<module.name>io.github.stanio.xbrz.tool</module.name>
<app.main.class>io.github.stanio.xbrz.tool.ScalerTool</app.main.class>
</properties>

Expand Down

0 comments on commit 9e0fdf0

Please sign in to comment.