This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
commit d8167345fd0caf4d0595fb5198e49e6a73d7bc1f Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 5 01:21:25 2026 +0000 Explain the relative repository URL and the shared build.log in deploy-at-end-pass --- src/it/deploy-at-end-pass/invoker.properties | 3 ++- src/it/deploy-at-end-pass/verify.groovy | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/it/deploy-at-end-pass/invoker.properties b/src/it/deploy-at-end-pass/invoker.properties index d999b10..06065d9 100644 --- a/src/it/deploy-at-end-pass/invoker.properties +++ b/src/it/deploy-at-end-pass/invoker.properties @@ -16,6 +16,7 @@ # under the License. # The first run deploys at the end of a serial build, the second one with two threads (MDEPLOY-169). The second -# run uses its own repository, since the first one has already filled the repository from the POM. +# run uses its own repository, since the first one has already filled the repository from the POM. The relative +# file: URL resolves against the Maven working directory, which the invoker sets to this directory. invoker.goals.1 = deploy invoker.goals.2 = clean deploy -T2 -DaltDeploymentRepository=parallel::file:target/parallel-repo diff --git a/src/it/deploy-at-end-pass/verify.groovy b/src/it/deploy-at-end-pass/verify.groovy index a2cdb3c..d85f8ec 100644 --- a/src/it/deploy-at-end-pass/verify.groovy +++ b/src/it/deploy-at-end-pass/verify.groovy @@ -23,6 +23,7 @@ assert new File( remoteRepo, "deploy-at-end-pass/org/apache/maven/its/deploy/dae assert new File( remoteRepo, "deploy-at-end-pass/org/apache/maven/its/deploy/dae/pass/module3/1.0/module3-1.0.pom" ).exists() assert new File( remoteRepo, "deploy-at-end-pass/org/apache/maven/its/deploy/dae/pass/module3/1.0/module3-1.0.jar" ).exists() +// both invocations append to this one build.log, so the messages below prove deferral for either run, not the serial one alone File buildLog = new File( basedir, 'build.log' ) assert buildLog.exists() assert buildLog.text.contains( "[INFO] Deferring deploy for org.apache.maven.its.deploy.dae.pass:dae:1.0 at end" )
