Skip to content

[MINVOKER-372] invoker plugin behaves differently based on main maven execution #603

@jira-importer

Description

@jira-importer

Henning Schmiedehausen opened MINVOKER-372 and commented

executing a test run for jdbi using command line:

% ./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] ------------------------------------------------------------------------

passing the exact same parameters in MAVEN_ARGS

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

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


Affects: 3.8.0

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions