Henning Schmiedehausen created MINVOKER-372:
-----------------------------------------------

             Summary: invoker plugin behaves differently based on main maven 
execution
                 Key: MINVOKER-372
                 URL: https://issues.apache.org/jira/browse/MINVOKER-372
             Project: Maven Invoker Plugin
          Issue Type: Bug
    Affects Versions: 3.8.0
            Reporter: Henning Schmiedehausen


executing a test run for jdbi using command line:

{quote}% ./mvnw -B -ff -pl :jdbi3-core -Ddep.immutables.version=2.10.0 
-Dbasepom.it.skip=false  invoker:install invoker:integration-test invoker:verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< org.jdbi:jdbi3-core >-------------------------
[INFO] Building jdbi3 core 3.46.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- invoker:3.8.0:install (default-cli) @ jdbi3-core ---
[INFO] Installing /Users/henning/code/jdbi/core/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/jdbi3-core/3.46.1-SNAPSHOT/jdbi3-core-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/internal/jdbi3-parent/3.46.1-SNAPSHOT/jdbi3-parent-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/internal/build/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/jdbi3-build-parent/3.46.1-SNAPSHOT/jdbi3-build-parent-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/internal/root/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/internal/jdbi3-root/3.46.1-SNAPSHOT/jdbi3-root-3.46.1-SNAPSHOT.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-oss/60/basepom-oss-60.pom to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-oss/60/basepom-oss-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-minimal/60/basepom-minimal-60.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-minimal/60/basepom-minimal-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-foundation/60/basepom-foundation-60.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-foundation/60/basepom-foundation-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar 
to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom 
to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom
[INFO] Installing 
/Users/henning/.m2/repository/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.jar
 to 
/Users/henning/code/jdbi/core/target/local-repo/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.jar
[INFO] Installing 
/Users/henning/.m2/repository/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/sonatype/oss/oss-parent/9/oss-parent-9.pom to 
/Users/henning/code/jdbi/core/target/local-repo/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-master/4.13.1/antlr4-master-4.13.1.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-master/4.13.1/antlr4-master-4.13.1.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom
[INFO]
[INFO] --- invoker:3.8.0:integration-test (default-cli) @ jdbi3-core ---
[INFO] use parallelThreads 6
[INFO] Building: test-inline-jar/pom.xml
[INFO]           test-inline-jar/pom.xml .......................... SUCCESS 
(7.480 s)
[INFO]
[INFO] --- invoker:3.8.0:verify (default-cli) @ jdbi3-core ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 1, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.228 s
[INFO] Finished at: 2024-10-20T22:59:28-07:00
[INFO] ------------------------------------------------------------------------
{quote}

passing the exact same parameters in MAVEN_ARGS

{quote}
MAVEN_ARGS='-B -ff -pl :jdbi3-core -Ddep.immutables.version=2.10.0 
-Dbasepom.it.skip=false' ./mvnw  invoker:install invoker:integration-test 
invoker:verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< org.jdbi:jdbi3-core >-------------------------
[INFO] Building jdbi3 core 3.46.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- invoker:3.8.0:install (default-cli) @ jdbi3-core ---
[INFO] Installing /Users/henning/code/jdbi/core/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/jdbi3-core/3.46.1-SNAPSHOT/jdbi3-core-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/internal/jdbi3-parent/3.46.1-SNAPSHOT/jdbi3-parent-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/internal/build/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/jdbi3-build-parent/3.46.1-SNAPSHOT/jdbi3-build-parent-3.46.1-SNAPSHOT.pom
[INFO] Installing /Users/henning/code/jdbi/internal/root/pom.xml to 
/Users/henning/code/jdbi/core/target/local-repo/org/jdbi/internal/jdbi3-root/3.46.1-SNAPSHOT/jdbi3-root-3.46.1-SNAPSHOT.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-oss/60/basepom-oss-60.pom to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-oss/60/basepom-oss-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-minimal/60/basepom-minimal-60.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-minimal/60/basepom-minimal-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/basepom/basepom-foundation/60/basepom-foundation-60.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/basepom/basepom-foundation/60/basepom-foundation-60.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar 
to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom 
to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom
[INFO] Installing 
/Users/henning/.m2/repository/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.jar
 to 
/Users/henning/code/jdbi/core/target/local-repo/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.jar
[INFO] Installing 
/Users/henning/.m2/repository/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/io/leangen/geantyref/geantyref/2.0.0/geantyref-2.0.0.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/sonatype/oss/oss-parent/9/oss-parent-9.pom to 
/Users/henning/code/jdbi/core/target/local-repo/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/antlr/antlr4-master/4.13.1/antlr4-master-4.13.1.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/antlr/antlr4-master/4.13.1/antlr4-master-4.13.1.pom
[INFO] Installing 
/Users/henning/.m2/repository/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom
 to 
/Users/henning/code/jdbi/core/target/local-repo/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom
[INFO]
[INFO] --- invoker:3.8.0:integration-test (default-cli) @ jdbi3-core ---
[INFO] use parallelThreads 6
[INFO] Building: test-inline-jar/pom.xml
[INFO]   The build exited with code 1. See 
/Users/henning/code/jdbi/core/target/it/test-inline-jar/build.log for details.
[INFO]           test-inline-jar/pom.xml .......................... FAILED 
(0.803 s)
[INFO]
[INFO] --- invoker:3.8.0:verify (default-cli) @ jdbi3-core ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  test-inline-jar/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.561 s
[INFO] Finished at: 2024-10-20T23:01:49-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.8.0:verify (default-cli) on 
project jdbi3-core: 1 build failed. See console output above for details. -> 
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{quote}

The '-pl :jdbi3-core' value was passed to the invoker plugin.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to