Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-147

Maven plugin compilation fails under maven 3.1.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.0
    • 2.1.0-alpha-1
    • maven-plugin
    • None

    Description

      [INFO] Building: dependency-tree-scope\pom.xml
      [INFO] [INFO] Scanning for projects...
      [INFO] [INFO]
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Building ShrinkWrap Maven Resolver Plugin Tests: Dependency Tree with Scope 1.0.0
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO]
      [INFO] [INFO] --- shrinkwrap-resolver-maven-plugin:2.0.1-SNAPSHOT:dependency-tree (default-cli) @ shrinkwrap-resolver-maven-plugin-tests-dep
      endency-tree-scoped ---
      [INFO] [debug] Propagating [maven.execution.pom-file=I:\Dev\JBoss\shrinkwrap resolver\maven-plugin\target\it\dependency-tree-scope\pom.xml]
      from Maven Session to command line properties
      [INFO] [debug] Propagating [maven.execution.offline=false] from Maven Session to command line properties
      [INFO] [debug] Propagating [maven.execution.user-settings=C:\Users\mich\AppData\Local\Temp\invoker-settings5519757379074982689.xml] from Mav
      en Session to command line properties
      [INFO] [debug] Propagating [maven.execution.global-settings=I:\Programy\Dev\apache-maven-3.1.0\conf\settings.xml] from Maven Session to comm
      and line properties
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] BUILD FAILURE
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Total time: 1.762s
      [INFO] [INFO] Finished at: Thu Jul 25 11:42:06 CEST 2013
      [INFO] [INFO] Final Memory: 7M/154M
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [ERROR] Failed to execute goal org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-maven-plugin:2.0.1-SNAPSHOT:dependency-tree (default
      -cli) on project shrinkwrap-resolver-maven-plugin-tests-dependency-tree-scoped: Execution default-cli of goal org.jboss.shrinkwrap.resolver:
      shrinkwrap-resolver-maven-plugin:2.0.1-SNAPSHOT:dependency-tree failed: Could not create object from user view: InvocationTargetException: C
      ould not create new service instance: org/sonatype/aether/resolution/DependencyResolutionException: org.sonatype.aether.resolution.Dependenc
      yResolutionException -> [Help 1]
      [INFO] [ERROR]
      [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [INFO] [ERROR]
      [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      [INFO] ..FAILED (4.2 s)
      [INFO]   The build exited with code 1. See I:\Dev\JBoss\shrinkwrap resolver\maven-plugin\target\it\dependency-tree-scope\build.log for detai
      ls.
      [INFO] -------------------------------------------------
      [INFO] Build Summary:
      [INFO]   Passed: 2, Failed: 2, Errors: 0, Skipped: 0
      [INFO] -------------------------------------------------
      [ERROR] The following builds failed:
      [ERROR] *  dependency-tree\pom.xml
      [ERROR] *  dependency-tree-scope\pom.xml
      [INFO] -------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] ShrinkWrap Resolver Bill of Materials ............. SUCCESS [0.502s]
      [INFO] ShrinkWrap Resolver Aggregator .................... SUCCESS [0.869s]
      [INFO] Shrinkwrap Resolver Build Resources ............... SUCCESS [1.087s]
      [INFO] ShrinkWrap Resolver API ........................... SUCCESS [3.816s]
      [INFO] ShrinkWrap Resolver Maven API ..................... SUCCESS [5.368s]
      [INFO] ShrinkWrap Resolver SPI ........................... SUCCESS [1.368s]
      [INFO] ShrinkWrap Resolver Maven SPI ..................... SUCCESS [2.134s]
      [INFO] ShrinkWrap Resolver Maven Implementation .......... SUCCESS [1:51.888s]
      [INFO] ShrinkWrap Resolver Maven Archive API ............. SUCCESS [1.401s]
      [INFO] ShrinkWrap Resolver Maven Archive SPI ............. SUCCESS [1.647s]
      [INFO] ShrinkWrap Resolver Maven Archive Implementation .. SUCCESS [48.196s]
      [INFO] ShrinkWrap Resolver Dependency Chain .............. SUCCESS [0.457s]
      [INFO] ShrinkWrap Resolver Maven Plugin .................. FAILURE [1:27.822s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4:27.370s
      [INFO] Finished at: Thu Jul 25 11:42:07 CEST 2013
      [INFO] Final Memory: 27M/183M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.7:run (run-integration-test) on project shrinkwrap-resolver-m
      aven-plugin: 2 builds 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
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :shrinkwrap-resolver-maven-plugin
      

      Attachments

        Issue Links

          Activity

            People

              kpiwko Karel Piwko
              mmatloka Michal Matloka (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: