Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 30 additions & 50 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,35 @@
<release>11</release>
<project.version>pre-3.4.0</project.version>
<fxgl.version>11.17</fxgl.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<junit-jupiter.version>5.9.1</junit-jupiter.version>
<!-- optional : if we want to use a junit4 specific version -->
<junit.version>4.13.2</junit.version>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<!-- Set file encoding to UTF-8. See http://stackoverflow.com/questions/3017695/how-to-configure-encoding-in-maven#3018152 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<libgdx.version>1.10.0</libgdx.version>
<lwjgl.version>3.2.3</lwjgl.version>
<kotlin.version>1.7.10</kotlin.version>
<kotlin.version>1.7.20</kotlin.version>
<!-- TextIO needs 1.8 -->
<slf4j.version>2.0.0-alpha7</slf4j.version>
<slf4j.version>2.0.2</slf4j.version>
<commons-cli.version>1.5.0</commons-cli.version>
<commons-io.version>2.11.0</commons-io.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-math3.version>3.6.1</commons-math3.version>

<commons-math3.version>3.6.1</commons-math3.version>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.java.source>11</sonar.java.source>
<native.maven.plugin.version>0.9.14</native.maven.plugin.version>
</properties>
<dependencies>
<!-- Needed by graalvm -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.9.1</version>
<scope>test</scope>
</dependency>
<!-- https://stackoverflow.com/questions/41635164/is-junit5-backward-compatible-to-junit4 -->
<!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
<dependency>
Expand Down Expand Up @@ -115,52 +121,14 @@
<module>mars-sim-headless</module>
<module>mars-sim-base</module>
</modules>

<!-- ************************************************************************************************* -->
<!-- * Build Section * -->
<!-- ************************************************************************************************* -->
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- https://github.com/graalvm/native-build-tools -->
<!-- https://medium.com/graalvm/gradle-and-maven-plugins-for-native-image-with-initial-junit-testing-support-dde00a8caf0b -->
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.9.12</version>
<executions>
<execution>
<id>test-native</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
<execution>
<id>build-native</id>
<goals>
<goal>build</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<imageName>mars-sim-graal</imageName>
<mainClass>${domainNameMainClass}</mainClass>
<buildArgs>
--no-fallback
--verbose
</buildArgs>
</configuration>
<dependencies>
<!-- ... -->
<dependency>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>junit-platform-native</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</plugin>

<!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-maven-plugin -->
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down Expand Up @@ -233,21 +201,21 @@
<!-- https://mvnrepository.com/artifact/com.github.spotbugs/spotbugs-maven-plugin -->
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.7.1.0</version>
<version>4.7.2.0</version>
<dependencies>
<!-- https://github.com/spotbugs/spotbugs -->
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>4.7.1</version>
<version>4.7.2</version>
</dependency>
</dependencies>
</plugin>
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/versions-maven-plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.11.0</version>
<version>2.12.0</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
Expand Down Expand Up @@ -319,7 +287,7 @@
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-deploy-plugin : 33KB-->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<version>3.0.0</version>
<executions>
<execution>
<id>default-deploy</id>
Expand Down Expand Up @@ -378,6 +346,7 @@
</plugin>
</plugins>
</reporting>

<!-- ************************************************************************************************* -->
<!-- * Repository Section * -->
<!-- ************************************************************************************************* -->
Expand Down Expand Up @@ -413,5 +382,16 @@
<name>Sonatype</name>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</pluginRepository>
<pluginRepository>
<id>graalvm-native-build-tools-snapshots</id>
<name>GraalVM native-build-tools Snapshots</name>
<url>https://raw.githubusercontent.com/graalvm/native-build-tools/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>