From cb16e93d8425120724da80e9400b1b3c2b1b1a4e Mon Sep 17 00:00:00 2001 From: Emanuel Rabina Date: Fri, 20 Oct 2023 22:50:09 +1300 Subject: [PATCH] Try get the build going again w/ Tycho 3, Groovy 4 --- .github/workflows/build.yml | 2 +- .mvn/extensions.xml | 7 ++ build.gradle | 1 + .../META-INF/MANIFEST.MF | 4 +- .../build.properties | 8 +- .../pom.xml | 73 ------------------- pom.xml | 49 ++++++------- 7 files changed, 40 insertions(+), 104 deletions(-) create mode 100644 .mvn/extensions.xml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc6e816..f2b95a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,4 +12,4 @@ jobs: java-version: 17 cache: maven - run: ./gradlew downloadDependencies - - run: mvn --batch-mode --update-snapshots verify + - run: mvn verify diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..5b780e4 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,7 @@ + + + org.eclipse.tycho + tycho-build + 3.0.5 + + diff --git a/build.gradle b/build.gradle index 81e0421..9e17e38 100644 --- a/build.gradle +++ b/build.gradle @@ -56,6 +56,7 @@ dependencies { contentassist( 'javax.annotation:javax.annotation-api:1.3.2', 'javax.inject:javax.inject:1', + 'nz.net.ultraq.jaxb:jaxb-utilities:3.0.0-SNAPSHOT', 'nz.net.ultraq.groovy:groovy-extensions:2.2.0', 'nz.net.ultraq.groovy:groovy-profiling-extensions:0.7.0', 'org.attoparser:attoparser:2.0.5.RELEASE', diff --git a/org.thymeleaf.extras.eclipse.contentassist/META-INF/MANIFEST.MF b/org.thymeleaf.extras.eclipse.contentassist/META-INF/MANIFEST.MF index 1e4a2ff..6d124aa 100644 --- a/org.thymeleaf.extras.eclipse.contentassist/META-INF/MANIFEST.MF +++ b/org.thymeleaf.extras.eclipse.contentassist/META-INF/MANIFEST.MF @@ -44,7 +44,7 @@ Bundle-ClassPath: ., lib/javax.annotation-api-1.3.2.jar, lib/javax.inject-1.jar, lib/jaxb-impl-2.3.5.jar, - lib/jaxb-utilities-2.1.0.jar, + lib/jaxb-utilities-3.0.0-SNAPSHOT.jar, lib/junit-jupiter-5.7.2.jar, lib/junit-jupiter-api-5.7.2.jar, lib/junit-jupiter-engine-5.7.2.jar, @@ -54,7 +54,7 @@ Bundle-ClassPath: ., lib/mockito-core-3.12.4.jar, lib/objenesis-3.2.jar, lib/opentest4j-1.2.0.jar, - lib/slf4j-api-1.7.32.jar, + lib/slf4j-api-1.7.36.jar, lib/spring-aop-5.2.0.RELEASE.jar, lib/spring-beans-5.2.0.RELEASE.jar, lib/spring-context-5.2.0.RELEASE.jar, diff --git a/org.thymeleaf.extras.eclipse.contentassist/build.properties b/org.thymeleaf.extras.eclipse.contentassist/build.properties index 48794ab..c1b2acc 100644 --- a/org.thymeleaf.extras.eclipse.contentassist/build.properties +++ b/org.thymeleaf.extras.eclipse.contentassist/build.properties @@ -10,13 +10,17 @@ bin.includes = .,\ lib/attoparser-2.0.5.RELEASE.jar,\ lib/byte-buddy-1.11.13.jar,\ lib/byte-buddy-agent-1.11.13.jar,\ + lib/groovy-4.0.15.jar,\ + lib/groovy-extensions-2.2.0.jar,\ + lib/groovy-profiling-extensions-0.7.0.jar,\ + lib/groovy-xml-4.0.15.jar,\ lib/jakarta.activation-1.2.2.jar,\ lib/jakarta.activation-api-1.2.2.jar,\ lib/jakarta.xml.bind-api-2.3.3.jar,\ lib/javax.annotation-api-1.3.2.jar,\ lib/javax.inject-1.jar,\ lib/jaxb-impl-2.3.5.jar,\ - lib/jaxb-utilities-2.1.0.jar,\ + lib/jaxb-utilities-3.0.0-SNAPSHOT.jar,\ lib/junit-jupiter-5.7.2.jar,\ lib/junit-jupiter-api-5.7.2.jar,\ lib/junit-jupiter-engine-5.7.2.jar,\ @@ -26,7 +30,7 @@ bin.includes = .,\ lib/mockito-core-3.12.4.jar,\ lib/objenesis-3.2.jar,\ lib/opentest4j-1.2.0.jar,\ - lib/slf4j-api-1.7.32.jar,\ + lib/slf4j-api-1.7.36.jar,\ lib/spring-aop-5.2.0.RELEASE.jar,\ lib/spring-beans-5.2.0.RELEASE.jar,\ lib/spring-context-5.2.0.RELEASE.jar,\ diff --git a/org.thymeleaf.extras.eclipse.contentassist/pom.xml b/org.thymeleaf.extras.eclipse.contentassist/pom.xml index 53cc678..5cf26e3 100644 --- a/org.thymeleaf.extras.eclipse.contentassist/pom.xml +++ b/org.thymeleaf.extras.eclipse.contentassist/pom.xml @@ -27,77 +27,4 @@ - - - javax.annotation - javax.annotation-api - 1.3.2 - - - javax.inject - javax.inject - 1 - - - nz.net.ultraq.jaxb - jaxb-utilities - 2.1.0 - - - nz.net.ultraq.extensions - groovy-extensions - 1.1.0 - - - nz.net.ultraq.extensions - profiling-extensions - 0.6.1 - - - org.attoparser - attoparser - 2.0.5.RELEASE - - - org.codehaus.groovy - groovy - 3.0.9 - - - org.slf4j - slf4j-simple - 1.7.32 - - - org.springframework - spring-context - 5.2.0.RELEASE - - - - org.codehaus.groovy - groovy-xml - 3.0.9 - test - - - org.junit.jupiter - junit-jupiter - 5.7.2 - test - - - org.mockito - mockito-core - 3.12.4 - test - - - org.springframework - spring-test - 5.2.0.RELEASE - test - - - diff --git a/pom.xml b/pom.xml index 9ac6873..10a78e6 100644 --- a/pom.xml +++ b/pom.xml @@ -67,37 +67,26 @@ - 2.4.0 + 3.0.5 UTF-8 yyyyMMddHHmm - https://raw.githubusercontent.com/thymeleaf/thymeleaf-extras-eclipse-plugin/update-site/${project.version}/ 17 17 + https://raw.githubusercontent.com/thymeleaf/thymeleaf-extras-eclipse-plugin/update-site/${project.version}/ src/test/groovy + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho.version} + + + - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0 - - - enforce-maven - - enforce - - - - - 3.6.3 - - - - - - org.eclipse.tycho tycho-maven-plugin @@ -109,6 +98,7 @@ target-platform-configuration ${tycho.version} + JavaSE-17 win32 @@ -145,7 +135,7 @@ org.codehaus.gmavenplus gmavenplus-plugin - 1.12.1 + 3.0.2 @@ -161,13 +151,20 @@ + org.eclipse.tycho tycho-packaging-plugin ${tycho.version} - - true - + + + package + package-feature + + ${project.artifactId}_${unqualifiedVersion}.${buildQualifier} + + + org.eclipse.tycho