Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17879

Unable to build wildfly-ee-with-tools bom with WF snapshot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 28.0.0.Final
    • 28.0.0.Final
    • BOM
    • None
    • Hide

      Reproducer:

      1. build WF 28.0.0.Final-SNAPSHOT
      2. git clone git@github.com:wildfly/boms.git
      3. cd boms/ee/ee-with-tools
      4. mvn clean install -Dversion.server=28.0.0.Final-SNAPSHOT

      ...
      [INFO] --- wildfly-bom-builder-plugin:2.0.5.Final:build-bom (build-bom) @ wildfly-ee-with-tools-builder ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  0.913 s
      [INFO] Finished at: 2023-04-11T13:16:03+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-bom-builder-plugin:2.0.5.Final:build-bom (build-bom) on project wildfly-ee-with-tools-builder: Dependency to include junit:junit:jar not found in builder's dependency management -> [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/MojoExecutionException
      
      Show
      Reproducer: 1. build WF 28.0.0.Final-SNAPSHOT 2. git clone git@github.com:wildfly/boms.git 3. cd boms/ee/ee-with-tools 4. mvn clean install -Dversion.server=28.0.0.Final-SNAPSHOT ... [INFO] --- wildfly-bom-builder-plugin:2.0.5.Final:build-bom (build-bom) @ wildfly-ee-with-tools-builder --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.913 s [INFO] Finished at: 2023-04-11T13:16:03+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-bom-builder-plugin:2.0.5.Final:build-bom (build-bom) on project wildfly-ee-with-tools-builder: Dependency to include junit:junit:jar not found in builder's dependency management -> [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/MojoExecutionException
    • ---
    • ---

      We are facing this error when trying to build wildfly BOM

      Dependency to include junit:junit:jar not found in builder's dependency management
      

      See reproducer for details how to reproduce.

      Thanks to Jan Bliznak's detective work we know problematic commit is https://github.com/wildfly/wildfly-core/pull/5359/commits/8cbbf54561ff4d4f5a48f05b3a506956fe336927. From that commit on reproducer start to fail.

            emartins@redhat.com Eduardo Martins
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: