From b152dc8e3ae0e078dd037409036cca2d28205fa1 Mon Sep 17 00:00:00 2001 From: elharo Date: Mon, 20 Jul 2026 22:12:57 +0000 Subject: [PATCH 1/3] Fix IT failures on Maven 4: add wagon transport and update deploy plugin version Maven 4's default resolver does not include a file:// protocol transporter, causing all integration tests to fail with NoTransporterException when resolving artifacts from the local repository. The fix adds -Dmaven.resolver.transport=wagon to the invoker plugin configuration, forcing Maven to use the Wagon-based transport which natively supports file:// URLs. Additionally updates the hardcoded maven-deploy-plugin version in the reproducible IT from 2.8.2 to 3.1.4, which is compatible with Maven 4. Fixes #261 --- pom.xml | 1 + src/it/reproducible/pom.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cf1e755..d6804f5 100644 --- a/pom.xml +++ b/pom.xml @@ -229,6 +229,7 @@ under the License. install true + -Dmaven.resolver.transport=wagon diff --git a/src/it/reproducible/pom.xml b/src/it/reproducible/pom.xml index d726b19..d125567 100644 --- a/src/it/reproducible/pom.xml +++ b/src/it/reproducible/pom.xml @@ -54,7 +54,7 @@ maven-deploy-plugin - 2.8.2 + 3.1.4 mine::default::file://${basedir}/target/repo From 5612acd9188f99ea2e652fcb5afb4f175a0c35c8 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 20 Jul 2026 22:23:37 +0000 Subject: [PATCH 2/3] Add jar:jar goal to reproducible IT so deploy:deploy has a main artifact --- src/it/reproducible/invoker.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/it/reproducible/invoker.properties b/src/it/reproducible/invoker.properties index 19c0b8c..2beafd3 100644 --- a/src/it/reproducible/invoker.properties +++ b/src/it/reproducible/invoker.properties @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -invoker.goals=remote-resources:process source:jar deploy:deploy +invoker.goals=remote-resources:process jar:jar source:jar deploy:deploy From 3c734a2e099ed54b5ca86f6e6eca2c7320d96465 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 20 Jul 2026 22:34:37 +0000 Subject: [PATCH 3/3] Add maven-fluido-skin to site.xml to fix 'skin cannot be null' with Maven 4 --- src/site/site.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/site/site.xml b/src/site/site.xml index f631ee6..f76bb81 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -21,6 +21,11 @@ under the License. + + org.apache.maven.skins + maven-fluido-skin + 2.1.0 +