Updated dep versions and added simple mvn run cmd

This commit is contained in:
Willem Cazander 2025-07-14 20:24:57 +02:00
parent 980e40af65
commit ba99c5bdb6
27 changed files with 354 additions and 141 deletions

146
pom.xml
View file

@ -1,13 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>love.distributedrebirth.gdxapp4d</groupId>
<artifactId>gdxapp4d</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>GDXApp⁴ᴰ</name>
<prerequisites>
<maven>3.0.1</maven>
</prerequisites>
<modules>
<module>gdxapp4d-app-notepad</module>
<module>gdxapp4d-app-tosamp</module>
@ -38,15 +36,20 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceVersion>11</project.build.sourceVersion>
<gdx.version>1.10.0</gdx.version>
<spair.version>1.86.0</spair.version>
<nativefilechooser.version>1.0.0</nativefilechooser.version>
<org.slf4j.version>1.7.36</org.slf4j.version>
<gdx.version>1.13.5</gdx.version>
<!-- 1.87.0++ font merging to single font doens't work anymore -->
<!-- 1.89 = libimgui-java64.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found -->
<!-- 1.92 = wait for this, got new font system code in imgui -->
<spair.version>1.86.12</spair.version>
<nativefilechooser.version>2.4.0</nativefilechooser.version>
<!-- TODO: slf4j V2++ uses osgi.extender=osgi.serviceloader.processor done by
'spifly' dep + asm-*.jar deps and make all class loading 20-40% slower, RM slf4j ? -->
<org.slf4j.version>2.1.0-alpha1</org.slf4j.version>
<nx01.version>〇一。壬寅。一〄-SNAPSHOT</nx01.version>
<jasper-el.version>6.0.53</jasper-el.version>
<metamodel.version>5.3.6</metamodel.version>
<!-- TODO: Add json support to X4O and replace jackson dep in meta-model-jdbc see: https://github.com/datacleaner/metamodel/blob/master/jdbc/pom.xml -->
<jackson.version>2.13.1</jackson.version>
<!-- TODO: Replace jackson dep with EE spec in meta-model-jdbc see: https://github.com/datacleaner/metamodel/blob/master/jdbc/pom.xml -->
<jackson.version>2.19.1</jackson.version>
<tos4.packages>
org.osgi.framework,
org.osgi.service.packageadmin,
@ -108,7 +111,7 @@
imgui.glfw,
imgui.gl3,
imgui.type,
net.spookygames.gdx.nativefilechooser,
games.spooky.gdx.nativefilechooser,
org.x4o.fc18,
org.x4o.fc18.cake2,
org.x4o.fc18.cake2.clk1k,
@ -365,17 +368,17 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.5</version>
<version>3.18.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.9.1</version>
<version>6.0.0-M1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.10</version>
<version>1.5.18</version>
</dependency>
<dependency>
<groupId>io.github.spair</groupId>
@ -415,6 +418,7 @@
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-platform</artifactId>
<classifier>natives-desktop</classifier>
<version>${gdx.version}</version>
</dependency>
<dependency>
@ -430,22 +434,27 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>7.0.3</version>
<version>7.0.5</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.component.annotations</artifactId>
<version>1.4.0</version>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.aries.spifly</groupId>
<artifactId>org.apache.aries.spifly.dynamic.bundle</artifactId>
<version>1.3.7</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-freetype</artifactId>
<version>1.10.0</version>
<version>${gdx.version}</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-freetype-platform</artifactId>
<version>1.10.0</version>
<version>${gdx.version}</version>
<classifier>natives-desktop</classifier>
</dependency>
<dependency>
@ -534,12 +543,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.14.0</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<source>${project.build.sourceVersion}</source>
@ -549,32 +558,46 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
<version>6.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.3.0</version>
<!-- 3.8.1 Eclipse M2E error in module 'gdxapp4d-lib-warpme'
Caused by: org.apache.maven.plugin.MojoExecutionException: Artifact 'love.distributedrebirth.nx01:nx01-jpp-base:jar:〇一。壬寅。一〄-SNAPSHOT:compile'
has not been packaged yet (is a directory). When used on reactor artifact, copy should be executed after packaging: see MDEP-187.
-->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.16.2</version>
<version>2.18.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.1</version>
</plugin>
</plugins>
</pluginManagement>
@ -604,6 +627,27 @@
</plugins>
</build>
</profile>
<profile>
<id>run</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>mvn-versions-check</id>
<build>
@ -672,5 +716,57 @@
</plugins>
</build>
</profile>
<profile>
<id>auto-poop-enforcer</id>
<activation>
<file>
<exists>${basedir}/.pom-poop-enforcer</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<!-- Sick this is not documented in examples but works fine, after i looked at the source code -->
<!-- TODO: Maven4 adds xml namespace + xsd to each plugin so auto complete works in embedded plugin xml
<enforcer:requireMavenVersion>
<enforce:version>3.2.2</enforce:version>
<enforce:message>Needs maven ${rule.version} or ${this.version} for: maven.build.timestamp is in UTC</enforce:message>
</enforcer:requireMavenVersion>
-->
<requireMavenVersion>
<version>3.2.2</version>
<message>Needs maven 3.2.2 for: maven.build.timestamp is in UTC</message>
</requireMavenVersion>
<requireMavenVersion>
<version>3.6.3</version>
<message>Needs maven 3.6.3 for: current build plugins</message>
</requireMavenVersion>
<!--
<requireMavenVersion>
<version>3.9.0</version>
<message>Needs maven 3.9.0 for: profile activation by pom packaging type</message>s
</requireMavenVersion>
-->
<requireJavaVersion>
<version>${project.build.sourceVersion}</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>