This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3ca6dd935d fix(website): install driver modules before building the 
site
3ca6dd935d is described below

commit 3ca6dd935d265dd949a182d603cced97923db343
Author: Sebastian Rühl <[email protected]>
AuthorDate: Wed Jul 15 12:27:55 2026 +0200

    fix(website): install driver modules before building the site
    
    Since the Maven 4 migration the site build fails on the clean
    git-websites node: Maven 4 no longer resolves modules of the current
    project from remote repositories when they are excluded from the
    reactor via -pl, so all plc4j driver snapshots came up '(absent)'.
    
    Build and install the driver modules (and their upstream modules)
    first, skipping tests, coverage, rat, javadoc and sources for speed,
    so the two existing site invocations can resolve them again.
---
 Jenkinsfile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 26b2752745..c2bcf86318 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -200,6 +200,12 @@ pipeline {
                     }
                     steps {
                         echo 'Building Site'
+                        // Maven 4 no longer resolves modules of the current 
project from remote
+                        // repositories when they are excluded from the 
reactor via -pl, so the
+                        // driver modules (and their upstream modules) need to 
be built and
+                        // installed first. Everything not needed for the 
artifacts themselves
+                        // (tests, coverage, rat, javadoc, sources) is skipped 
for speed.
+                        sh './mvnw 
-P${JENKINS_PROFILE},with-java,skip-prerequisite-check install -pl 
:plc4j-driver-all -am -DskipTests -Djacoco.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true -Dmaven.source.skip=true'
                         // Generate the driver documentation.
                         sh './mvnw 
-P${JENKINS_PROFILE},with-java,skip-prerequisite-check site -X -pl 
:plc4j-driver-all'
                         // Build the actual website.

Reply via email to