From 827a27b9e01fcb0745ab7b3e17699b54fba3b3fa Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 08:56:05 +0200 Subject: [PATCH 1/6] Updated Maven resources plugin to be able to handle project in Eclipse. --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index fc79008..80bdeaf 100644 --- a/pom.xml +++ b/pom.xml @@ -69,6 +69,11 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.3.0 + org.apache.maven.plugins maven-compiler-plugin From 9c3c866ea3000d496fcde32584c4708a27a48c05 Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 08:56:56 +0200 Subject: [PATCH 2/6] Ignore Eclipse configuration files. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index d863735..81eaa04 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ logging_server.txt target/ .idea/ *.iml +.classpath +.project +.settings/ From b290ecf1cbac574be8d183ce8080b02e7f52c775 Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 09:04:06 +0200 Subject: [PATCH 3/6] Updated source level to 1.7, otherwise build fails with modern JDKs. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 80bdeaf..7e06d85 100644 --- a/pom.xml +++ b/pom.xml @@ -79,8 +79,8 @@ maven-compiler-plugin 3.3 - 1.6 - 1.6 + 1.7 + 1.7 From 8728736de3c0d5245ba7cdc64adfbec4b47aef48 Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 09:04:52 +0200 Subject: [PATCH 4/6] Updated Maven JavaDoc plugin, otherwise build fails with modern JDKs. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7e06d85..5268fc3 100644 --- a/pom.xml +++ b/pom.xml @@ -112,7 +112,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.9.1 + 3.11.2 attach-javadocs From 98963e4fb92f5724975bb37be85c8b0d1f193a88 Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 09:05:39 +0200 Subject: [PATCH 5/6] Updated snapshot version to 1.7.6, since tag 1.7.5 is already set. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5268fc3..cd47e31 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 de.javawi.jstun - 0.7.5-SNAPSHOT + 0.7.6-SNAPSHOT jstun jar JSTUN From e8ffcdd9d58ad73a798384b5c9e7d3ff344da294 Mon Sep 17 00:00:00 2001 From: Bernhard Haumacher Date: Fri, 25 Apr 2025 09:06:29 +0200 Subject: [PATCH 6/6] Added automatic module name to manifest. This is necessary to make the library usable from modular Java 17 projects. --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index cd47e31..b1afe65 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,9 @@ true de.javawi.jstun.test.demo.StunServer + + de.javawi.jstun +