[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-147) Maven plugin compilation fails under maven 3.1.0

Karel Piwko (JIRA) issues at jboss.org
Thu Mar 20 04:38:14 EDT 2014


     [ https://issues.jboss.org/browse/SHRINKRES-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko closed SHRINKRES-147.
---------------------------------


    
> Maven plugin compilation fails under maven 3.1.0
> ------------------------------------------------
>
>                 Key: SHRINKRES-147
>                 URL: https://issues.jboss.org/browse/SHRINKRES-147
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 2.1.0-alpha-1
>         Environment: maven 3.1.0, windows, jdk 7
>            Reporter: Michal Matloka
>            Assignee: Karel Piwko
>             Fix For: 2.1.0
>
>
> {noformat}
> [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
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list