From b52f9b9670b5bef16cc6b7f7a306862d250ec56a Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 18 Oct 2024 12:13:10 +0200 Subject: [PATCH 1/5] doc: add note about maven parent to 5.2.2 release notes --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b318afbb..ee8f9f38 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ mvn spotless:check #### 🏹 BUG FIXES - Catch invalid Base64 encodings for resumption tokens (#272) - a community contribution by @bumann-sbb 💫 +- Switch to [GDCC Maven Parent POM](https://github.com/gdcc/maven-parent) ### v5.2.1 From 47d3bcec0788d9300dec21e025d571d3be265c77 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 18 Oct 2024 12:14:09 +0200 Subject: [PATCH 2/5] build: introduce GDCC Maven Parent POM --- pom.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 890d045f..94790fa2 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,12 @@ 4.0.0 pom + + io.gdcc + parent + 0.10.0 + + xoai-common xoai-data-provider @@ -19,7 +25,6 @@ xoai-data-provider-tck - io.gdcc xoai 5.2.2-SNAPSHOT @@ -29,7 +34,7 @@ XOAI : OAI-PMH Java Toolkit - https://github.com/gdcc/xoai + An OAI-PMH data and/or service provider implementation, integration ready for your service. From 2485a13367c75063b2c685ecb6b466937bc5b80e Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 18 Oct 2024 12:36:35 +0200 Subject: [PATCH 3/5] build: remove POM elements inherited from Parent POM --- pom.xml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/pom.xml b/pom.xml index 94790fa2..117a2ff0 100644 --- a/pom.xml +++ b/pom.xml @@ -28,11 +28,6 @@ xoai 5.2.2-SNAPSHOT - - Global Dataverse Community Consortium - https://dataversecommunity.global - - XOAI : OAI-PMH Java Toolkit An OAI-PMH data and/or service provider implementation, integration ready for your service. @@ -103,39 +98,10 @@ - - https://github.com/gdcc/xoai/issues - GitHub Issues - - - scm:git:git@github.com:gdcc/xoai.git - scm:git:git@github.com:gdcc/xoai.git - git@github.com:gdcc/xoai.git xoai-5.2.1 - - https://github.com/gdcc/xoai/actions - github - - -
dataversebot@gdcc.io
-
-
-
- - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - From 2c14107a74aea658d9f80ef7e32cfbb7a6b98b9e Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 18 Oct 2024 15:00:07 +0200 Subject: [PATCH 4/5] build: refactor POMs due to new GDCC Parent POM --- pom.xml | 352 +-------------------------------- xoai-data-provider-tck/pom.xml | 11 -- xoai-data-provider/pom.xml | 1 - 3 files changed, 2 insertions(+), 362 deletions(-) diff --git a/pom.xml b/pom.xml index 117a2ff0..8cf04ac0 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ io.gdcc parent - 0.10.0 + 0.10.1 @@ -34,57 +34,16 @@ 11 - - UTF-8 - none - - - UTC - en - US - -Duser.timezone=${project.timezone} -Dfile.encoding=${project.build.sourceEncoding} -Duser.language=${project.language} -Duser.region=${project.region} - false - false + xoai 4.0.1 4.0.4 - 3.0 - 2.10.0 4.2.2 7.0.0 - 2.0.16 - 5.11.0 - - - 3.8.2 - 3.6.4 - 3.13.0 - 3.4.2 - 3.8.0 - 3.5.0 - 3.5.0 - 3.3.0 - 3.15.0 - 4.0.0-M16 - 3.3.1 - 3.10.0 - 1.6.0 - 3.2.5 - 3.1.1 - 3.5.0 - - 1.7.0 - 1.7.0 - 3.5.0 - 10.18.1 - 4.8.6.3 10.0.4 - 0.8.12 - 4.0.0.4121 - 2.43.0 @@ -103,189 +62,8 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${jdk.version} - ${compilerArgument} - - - - org.apache.maven.plugins - maven-jar-plugin - ${maven-jar-plugin.version} - - - org.apache.maven.plugins - maven-dependency-plugin - ${maven-dependency-plugin.version} - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-failsafe-plugin - ${maven-failsafe-plugin.version} - - - org.apache.maven.plugins - maven-plugin-plugin - ${maven-plugin-plugin.version} - - - org.apache.maven.plugins - maven-site-plugin - ${maven-site-plugin.version} - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - - org.codehaus.mojo - flatten-maven-plugin - ${maven-flatten-plugin.version} - - - org.kordamp.maven - pomchecker-maven-plugin - ${pomchecker-maven-plugin.version} - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-plugin.version} - - - org.apache.maven.plugins - maven-release-plugin - ${maven-release-plugin.version} - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${checkstyle-maven-plugin.version} - - - com.puppycrawl.tools - checkstyle - ${checkstyle.version} - - - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - ${skipUT} - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - true - - ossrh - https://s01.oss.sonatype.org - true - - - - org.kordamp.maven - pomchecker-maven-plugin - - - org.apache.maven.plugins - maven-release-plugin - - false - release - true - deploy - - - - org.codehaus.mojo - flatten-maven-plugin - - true - oss - - remove - remove - - - - - - flatten - process-resources - - flatten - - - - - flatten.clean - clean - - clean - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-maven - - enforce - - - - - 3.6.3 - - - - - - com.diffplug.spotless spotless-maven-plugin @@ -376,57 +154,11 @@ ${stax2.api.version} - - - org.hamcrest - hamcrest - ${hamcrest.version} - io.gdcc xoai-xmlio ${project.version} - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.slf4j - slf4j-simple - ${slf4j.version} - - - - - org.junit.jupiter - junit-jupiter - ${junit.jupiter.version} - - - org.xmlunit - xmlunit-core - ${xmlunit.version} - - - org.xmlunit - xmlunit-matchers - ${xmlunit.version} - - - - org.hamcrest - hamcrest-core - - - @@ -450,39 +182,8 @@ coverage - https://sonarcloud.io - gdcc - gdcc_xoai - ${project.groupId}:${project.artifactId} - jacoco ${maven.multiModuleProjectDirectory}/report/target/site/jacoco-aggregate/jacoco.xml - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.version} - - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - prepare-agent - - prepare-agent - - - - - - benchmark @@ -503,55 +204,6 @@ - - release - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - ${jdk.version} - false - ${javadoc.lint} - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - - owasp diff --git a/xoai-data-provider-tck/pom.xml b/xoai-data-provider-tck/pom.xml index 95244ed7..44372600 100644 --- a/xoai-data-provider-tck/pom.xml +++ b/xoai-data-provider-tck/pom.xml @@ -25,7 +25,6 @@ org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} @@ -34,19 +33,9 @@ - - org.apache.maven.plugins - maven-surefire-plugin - - ${skipUT} - - org.apache.maven.plugins maven-failsafe-plugin - - ${skipIT} - integration-test diff --git a/xoai-data-provider/pom.xml b/xoai-data-provider/pom.xml index e66f754f..269589d2 100644 --- a/xoai-data-provider/pom.xml +++ b/xoai-data-provider/pom.xml @@ -25,7 +25,6 @@ org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} From 7e1dafd5e991c8c429c28a16fca7e93506f28ed1 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Fri, 18 Oct 2024 15:44:05 +0200 Subject: [PATCH 5/5] build(tck): allow JUnit4 to enable Testcontainers --- xoai-data-provider-tck/pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xoai-data-provider-tck/pom.xml b/xoai-data-provider-tck/pom.xml index 44372600..a7caecc1 100644 --- a/xoai-data-provider-tck/pom.xml +++ b/xoai-data-provider-tck/pom.xml @@ -20,6 +20,16 @@ xoai-data-provider-tck Technology Compatibility Kit for Spec Conformance of Data Provider + + + true + +