upgraded to Java 25

This commit is contained in:
2026-10-26 22:45:14 +01:00
parent e617bc09c1
commit c037abbde9
4 changed files with 75 additions and 12 deletions

View File

@@ -1,3 +1,2 @@
-s.mvn\settings-local.xml -s.mvn/settings-local.xml
-Dmaven.repo.local=D:\workspace\private\.m2repo

View File

@@ -1,3 +1,11 @@
# agiledancers # agiledancers
To map dancegroups to performancedays To map dance groups to performance days.
Requires JDK 25 and Maven 3.9.0 or newer. Set `JAVA_HOME` to your JDK 25 installation.
Build and run all tests (including `*Sit` tests) from the repository root:
```sh
mvn clean verify
```

View File

@@ -4,8 +4,6 @@ import lombok.*;
import nl.agilecc.agiledancers.model.specifications.DanceGroupStyle; import nl.agilecc.agiledancers.model.specifications.DanceGroupStyle;
import nl.agilecc.agiledancers.model.specifications.DanceGroupType; import nl.agilecc.agiledancers.model.specifications.DanceGroupType;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set; import java.util.Set;
@Getter @Getter

72
pom.xml
View File

@@ -19,17 +19,16 @@
<!-- TODO Add SCM ??? --> <!-- TODO Add SCM ??? -->
<properties> <properties>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.release>25</maven.compiler.release>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<ortools-java.version>9.12.4544</ortools-java.version> <ortools-java.version>9.15.6755</ortools-java.version>
<lombok.version>1.18.38</lombok.version> <lombok.version>1.18.48</lombok.version>
<!-- test dependencies --> <!-- test dependencies -->
<datafaker.version>2.4.3</datafaker.version> <datafaker.version>2.7.0</datafaker.version>
<junit-jupiter.version>5.12.2</junit-jupiter.version> <junit-jupiter.version>6.1.3</junit-jupiter.version>
</properties> </properties>
<!-- dependencies that can be included by child-project - without stating the version --> <!-- dependencies that can be included by child-project - without stating the version -->
@@ -67,4 +66,63 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.16.0</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
<include>**/*TestCase.java</include>
<include>**/*Sit.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.2.0</version>
</plugin>
</plugins>
</build>
</project>