Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-53

Build failure in project forge-shell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta1
    • 1.0.0.Alpha4
    • Forge Build
    • None
    • Hide

      Remove your local maven repository or make maven use an empty repository directory.

      Check out the code:
      git clone git://github.com/forge/core.git forge

      'cd' into the project directory:
      cd forge

      Build the code:
      mvn install

      Show
      Remove your local maven repository or make maven use an empty repository directory. Check out the code: git clone git://github.com/forge/core.git forge 'cd' into the project directory: cd forge Build the code: mvn install
    • Workaround Exists
    • Hide

      Change the artifact version for weld-api-bom in shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ProjectPluginTest.java to 1.1.Final for example and the test will be successful and the forge build will complete succesfull.
      There are 3 occurrences of the weld-api-bom artifact in shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ProjectPluginTest.java and all of them need to be changed.

      Show
      Change the artifact version for weld-api-bom in shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ProjectPluginTest.java to 1.1.Final for example and the test will be successful and the forge build will complete succesfull. There are 3 occurrences of the weld-api-bom artifact in shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ProjectPluginTest.java and all of them need to be changed.
    • Low

    Description

      Build fails with the following report:

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Forge - Parent .................................... SUCCESS [4.339s]
      [INFO] Forge - Targeted Event Bus ........................ SUCCESS [6.332s]
      [INFO] Forge - Parser/Java API ........................... SUCCESS [2.047s]
      [INFO] Forge - Parser/XML ................................ SUCCESS [1.702s]
      [INFO] Forge - Shell API ................................. SUCCESS [4.544s]
      [INFO] Forge - Maven Integration APIs .................... SUCCESS [3.967s]
      [INFO] Forge - Git Integration ........................... SUCCESS [2.050s]
      [INFO] Forge - Parser/Java ............................... SUCCESS [13.544s]
      [INFO] Forge - Maven Project Model ....................... SUCCESS [3.378s]
      [INFO] Forge - Test Harness .............................. SUCCESS [2.015s]
      [INFO] Forge - Shell ..................................... FAILURE [2:07.330s]
      [INFO] Forge - Project Model Maven Tests ................. SKIPPED
      [INFO] Forge - Plugin Loader ............................. SKIPPED
      [INFO] Forge - Java EE APIs .............................. SKIPPED
      [INFO] Forge - Java EE Integration Impl & Plugins ........ SKIPPED
      [INFO] Forge - Scaffolding APIs .......................... SKIPPED
      [INFO] Forge - Scaffolding Plugins ....................... SKIPPED
      [INFO] Forge - Scaffold Provider for Metawidget .......... SKIPPED
      [INFO] Forge - Dev Plugins ............................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2:52.205s
      [INFO] Finished at: Sat Jun 11 00:18:55 CEST 2011
      [INFO] Final Memory: 30M/83M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project forge-shell: There are test failures.
      [ERROR]
      [ERROR] Please refer to /Users/martinborgman/forge/shell/target/surefire-reports for the individual test results.
      [ERROR] -> [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
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :forge-shell

      The tests that failed are:

      Tests in error:
      testAddDependencyFromManagedParent(org.jboss.forge.shell.test.plugins.builtin.ProjectPluginTest)
      testAddDependencyFromLocalAndManagedParent(org.jboss.forge.shell.test.plugins.builtin.ProjectPluginTest)
      testAddDependencyFromManagedImport(org.jboss.forge.shell.test.plugins.builtin.ProjectPluginTest)

      These tests can be found in shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ProjectPluginTest.java.
      The problem is that an artifact weld-api-bom with version 1.0 no longer exists in the maven repository.

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            martinborgman_jira Martin Borgman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: