From 6f885e78a76ca2bc2b1d88978102bf9f4c638523 Mon Sep 17 00:00:00 2001 From: Gerd Aschemann Date: Sun, 24 Nov 2024 20:16:32 +0100 Subject: [PATCH] WIP 314 Minimize Maven build for plugin descriptor The POM is only used to generate the Plugin descriptor. Build and test is moving back to Gradle. --- htmlSanityCheck-maven-plugin/build.gradle | 8 +- .../src/main/maven/pom.xml | 130 ------------------ 2 files changed, 1 insertion(+), 137 deletions(-) diff --git a/htmlSanityCheck-maven-plugin/build.gradle b/htmlSanityCheck-maven-plugin/build.gradle index 5af92367..1e942fcb 100644 --- a/htmlSanityCheck-maven-plugin/build.gradle +++ b/htmlSanityCheck-maven-plugin/build.gradle @@ -3,11 +3,9 @@ import java.util.stream.Collectors import static org.gradle.internal.os.OperatingSystem.current plugins { - id "java-gradle-plugin" + id "java" } -description = 'HSC Maven Mojo' - ext { mavenPluginToolsVersion = "3.15.1" } @@ -90,10 +88,6 @@ java { withJavadocJar() } -javadoc { - options.addStringOption('Xdoclint:none', '-quiet') -} - publishing { publications { mavenJava(MavenPublication) { diff --git a/htmlSanityCheck-maven-plugin/src/main/maven/pom.xml b/htmlSanityCheck-maven-plugin/src/main/maven/pom.xml index 348d37db..198484c3 100644 --- a/htmlSanityCheck-maven-plugin/src/main/maven/pom.xml +++ b/htmlSanityCheck-maven-plugin/src/main/maven/pom.xml @@ -14,7 +14,6 @@ 8 - org.aim42.htmlSanityCheck @@ -33,34 +32,10 @@ ${mavenPluginToolsVersion} provided - - com.soebes.itf.jupiter.extension - itf-assertj - 0.13.1 - test - - - com.soebes.itf.jupiter.extension - itf-jupiter-extension - 0.13.1 - test - - ../../src/main/java ../../build/maven/target/classes - - - src/main/resources - true - - - - org.apache.maven.plugins - maven-install-plugin - 3.1.3 - org.apache.maven.plugins maven-plugin-plugin @@ -85,111 +60,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 3.13.0 - - \${java.version} - - - - org.apache.maven.plugins - maven-deploy-plugin - 3.9.9 - - false - - - - com.soebes.itf.jupiter.extension - itf-maven-plugin - 0.13.1 - - - installing - pre-integration-test - - install - resources-its - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.5.0 - - - - \${maven.version} - \${maven.home} - - - - - - integration-test - verify - - - - \${failsafeArgLine} - - - - - - org.jacoco - jacoco-maven-plugin - 0.8.12 - - - prepare-agent - - prepare-agent - - - - report - test - - report - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.3.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.11.1 - - - attach-javadoc - compile - - jar - - - -