You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/04/30 23:40:06 UTC

[jira] [Closed] (MDEP-268) Failed to execute purge-local-repository mojo

     [ https://issues.apache.org/jira/browse/MDEP-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MDEP-268.
------------------------------------
    Resolution: Cannot Reproduce

> Failed to execute purge-local-repository mojo
> ---------------------------------------------
>
>                 Key: MDEP-268
>                 URL: https://issues.apache.org/jira/browse/MDEP-268
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: purge-local-repository
>    Affects Versions: 2.1
>         Environment: Maven 3.0 beta 1
>            Reporter: Vincent Massol
>
> Here's what I get when I execute it on a checkout of http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/wiki/ :
> {noformat}
> vmassol@wiki $ mvn dependency:purge-local-repository -Dverbose=true -e
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building XWiki Products - Enterprise - Wiki 2.4-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.1:purge-local-repository (default-cli) @ xwiki-enterprise-wiki ---
> [INFO] Processing dependencies for project: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-annotations:xar:1.5-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-annotations/1.5-SNAPSHOT/xwiki-application-annotations-1.5-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-tag:xar:1.12-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-tag/1.12-SNAPSHOT/xwiki-application-tag-1.12-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: com.xpn.xwiki.platform.plugins:xwiki-plugin-tag:jar:1.12-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/com/xpn/xwiki/platform/plugins/xwiki-plugin-tag/1.12-SNAPSHOT/xwiki-plugin-tag-1.12-SNAPSHOT.jar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-blog:xar:1.22-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-blog/1.22-SNAPSHOT/xwiki-application-blog-1.22-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-panels:xar:1.37-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-panels/1.37-SNAPSHOT/xwiki-application-panels-1.37-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-webdav:xar:1.4-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-webdav/1.4-SNAPSHOT/xwiki-application-webdav-1.4-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-officeimporter:xar:1.16-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-officeimporter/1.16-SNAPSHOT/xwiki-application-officeimporter-1.16-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-administration:xar:1.35-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-administration/1.35-SNAPSHOT/xwiki-application-administration-1.35-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-search:xar:1.1-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-search/1.1-SNAPSHOT/xwiki-application-search-1.1-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-statistics:xar:1.9-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-statistics/1.9-SNAPSHOT/xwiki-application-statistics-1.9-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-watchlist:xar:1.29-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-watchlist/1.29-SNAPSHOT/xwiki-application-watchlist-1.29-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: com.xpn.xwiki.platform.plugins:xwiki-plugin-watchlist:jar:1.29-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/com/xpn/xwiki/platform/plugins/xwiki-plugin-watchlist/1.29-SNAPSHOT/xwiki-plugin-watchlist-1.29-SNAPSHOT.jar
> [INFO] Re-resolving.
> [INFO] Processing artifact: commons-collections:commons-collections:jar:3.2.1
> [INFO] Deleting: /Users/vmassol/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-scheduler:xar:1.20-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-scheduler/1.20-SNAPSHOT/xwiki-application-scheduler-1.20-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] Processing artifact: com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler:jar:1.20-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/com/xpn/xwiki/platform/plugins/xwiki-plugin-scheduler/1.20-SNAPSHOT/xwiki-plugin-scheduler-1.20-SNAPSHOT.jar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.opensymphony.quartz:quartz:jar:1.6.5
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/opensymphony/quartz/quartz/1.6.5/quartz-1.6.5.jar
> [INFO] Re-resolving.
> [INFO] Processing artifact: org.xwiki.platform.applications:xwiki-application-wiki-macro-bridge:xar:1.5-SNAPSHOT
> [INFO] Deleting: /Users/vmassol/.m2/repository/org/xwiki/platform/applications/xwiki-application-wiki-macro-bridge/1.5-SNAPSHOT/xwiki-application-wiki-macro-bridge-1.5-SNAPSHOT.xar
> [INFO] Re-resolving.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.133s
> [INFO] Finished at: Sat Jun 12 11:52:09 CEST 2010
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:purge-local-repository (default-cli) on project xwiki-enterprise-wiki: Failed to refresh project dependencies for: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT: Failed to refresh project dependencies for: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT: 
> Artifact resolution failed for project: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT: required artifacts missing:
>   org.opensymphony.quartz:quartz:jar:1.6.5
> for the artifact:
>   com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT
> from the specified remote repositories:
>   xwiki-externals (http://maven.xwiki.org/externals, releases=true, snapshots=true),
>   xwiki-releases (http://maven.xwiki.org/releases, releases=true, snapshots=false),
>   xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false, snapshots=true),
>   central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:purge-local-repository (default-cli) on project xwiki-enterprise-wiki: Failed to refresh project dependencies for: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:137)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: Failed to refresh project dependencies for: com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT
>         at org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo.execute(PurgeLocalRepositoryMojo.java:189)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
>         ... 19 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: required artifacts missing:
>   org.opensymphony.quartz:quartz:jar:1.6.5
> for the artifact:
>   com.xpn.xwiki.products:xwiki-enterprise-wiki:xar:2.4-SNAPSHOT
> from the specified remote repositories:
>   xwiki-externals (http://maven.xwiki.org/externals, releases=true, snapshots=true),
>   xwiki-releases (http://maven.xwiki.org/releases, releases=true, snapshots=false),
>   xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false, snapshots=true),
>   central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>         at org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo.refreshDependenciesForProject(PurgeLocalRepositoryMojo.java:382)
>         at org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo.execute(PurgeLocalRepositoryMojo.java:185)
>         ... 21 more
> [ERROR] 
> [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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)