Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-30

Failed to build features-vtn-manager when local maven repo is empty.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • VTN Manager
    • None
    • Operating System: All
      Platform: All

    • 1801

    Description

      I failed to build features-vtn-manager when local maven repository is empty.

      $ cd (VTN Git repository)
      $ git log --oneline -3
      92552cb Merge "Implement TCP/UDP checksum recalculation."
      2ed3059 Merge "Fixed incorrect javadoc link in test sources."
      dfc66b1 Implement TCP/UDP checksum recalculation.
      $ cd manager/features/
      $ rm -rf .m2/repository/
      $ mvn clean install

      (snip)

      Tests in error:
      Error resolving artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610: Could not find artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610 in defaultlocal (file:/home/odp/.m2/repository/)
      Error resolving artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610: Could not find artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610 in defaultlocal (file:/home/odp/.m2/repository/)
      Error resolving artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610: Could not find artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610 in defaultlocal (file:/home/odp/.m2/repository/)
      Error resolving artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610: Could not find artifact orbit:org.apache.catalina:jar:7.0.53.v201406061610 in defaultlocal (file:/home/odp/.m2/repository/)

      Tests run: 4, Failures: 0, Errors: 4, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6:10.886s
      [INFO] Finished at: Wed Sep 10 19:48:42 EDT 2014
      [INFO] Final Memory: 48M/85M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project features-vtn-manager: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/odp/work/vtn/manager/features/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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            Hideyuki1985 Hideyuki Tai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: