From c3c0cf99fd0e953a9c23e84254757d39daaaf72f Mon Sep 17 00:00:00 2001 From: Deluxe Date: Sun, 19 Jul 2026 14:03:10 +0200 Subject: [PATCH 1/2] Simplify java versionning --- pom.xml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index be40d658d..fac538f17 100644 --- a/pom.xml +++ b/pom.xml @@ -8,9 +8,8 @@ Datafaker This library is an improved fork of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker - library) - that generates fake data. It's useful when you're developing a new project and need some pretty data for - showcase. + library) that generates fake data. + It's useful when you're developing a new project and need some pretty data for showcase. https://www.datafaker.net @@ -39,8 +38,7 @@ 1.0.0 2.50.0 - 17 - 17 + 17 0.11.0 3.15.0 @@ -61,10 +59,10 @@ 3.28.2 2.6 3.9.0 - - - + + + @{argLine} -Duser.language=TR -Duser.country=tr 2.4.10 @@ -220,7 +218,7 @@ maven-compiler-plugin ${maven-compiler-plugin.version} - ${releaseJavaVersion} + ${java.version} @@ -282,7 +280,7 @@ [3.9,) - [${buildJavaVersion},) + [${java.version},) Best practice is to always define Maven plugin versions @@ -445,7 +443,7 @@ - + org.apache.maven.plugins maven-javadoc-plugin @@ -562,7 +560,7 @@ - ${releaseJavaVersion} + ${java.version} From b503542608721cbc799882700baa05e610715bc2 Mon Sep 17 00:00:00 2001 From: Deluxe Date: Sun, 19 Jul 2026 14:08:01 +0200 Subject: [PATCH 2/2] Replace Kotlin plugin manual configuration with extensions --- pom.xml | 73 +-------------------------------------------------------- 1 file changed, 1 insertion(+), 72 deletions(-) diff --git a/pom.xml b/pom.xml index fac538f17..302fff692 100644 --- a/pom.xml +++ b/pom.xml @@ -194,18 +194,6 @@ ${commons-text.version} test - - org.jetbrains.kotlin - kotlin-stdlib-jdk8 - ${kotlin.version} - test - - - org.jetbrains.kotlin - kotlin-test - ${kotlin.version} - test - @@ -530,66 +518,7 @@ org.jetbrains.kotlin kotlin-maven-plugin ${kotlin.version} - - - compile - compile - - compile - - - - src/main/java - target/generated-sources/annotations - - - - - test-compile - test-compile - - test-compile - - - - src/test/java - target/generated-test-sources/test-annotations - src/test/kotlin - - - - - - ${java.version} - - - - org.apache.maven.plugins - maven-compiler-plugin - - - default-compile - none - - - default-testCompile - none - - - compile - compile - - compile - - - - testCompile - test-compile - - testCompile - - - + true