zDev - M2E - OSS
  1. zDev - M2E - OSS
  2. MNGECLIPSE-856

Failure to execute goal 'org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.6
    • Fix Version/s: 0.10.0
    • Component/s: Maven Embedder
    • Labels:
      None
    • Environment:
      eclipse.buildId=I20080617-2000
      java.version=1.5.0_13
      java.vendor=Apple Inc.
      BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
    • Global Rank:
      13076

      Description

      I've not noticed this error in m2e prior to 0.9.6 stable. It builds fine with mvn 2.0.x.

      Below is the stack trace of the error reported in the console:

      org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack': Mojo execution failed.
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
      at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
      at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
      at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl$MavenExecutor.execute(MavenProjectManagerImpl.java:1038)
      at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl$1.execute(MavenProjectManagerImpl.java:1071)
      at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl.execute(MavenProjectManagerImpl.java:994)
      at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl.execute(MavenProjectManagerImpl.java:1068)
      at org.maven.ide.eclipse.internal.project.MavenProjectFacade.filterResources(MavenProjectFacade.java:153)
      at org.maven.ide.eclipse.internal.builder.MavenBuilder$1.visit(MavenBuilder.java:118)
      at org.maven.ide.eclipse.internal.project.MavenProjectFacade.acceptImpl(MavenProjectFacade.java:248)
      at org.maven.ide.eclipse.internal.project.MavenProjectFacade.accept(MavenProjectFacade.java:239)
      at org.maven.ide.eclipse.internal.project.MavenProjectFacade.acceptImpl(MavenProjectFacade.java:268)
      at org.maven.ide.eclipse.internal.project.MavenProjectFacade.accept(MavenProjectFacade.java:239)
      at org.maven.ide.eclipse.internal.builder.MavenBuilder.processResources(MavenBuilder.java:111)
      at org.maven.ide.eclipse.internal.builder.MavenBuilder.build(MavenBuilder.java:93)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
      at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
      at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
      at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo execution failed.
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
      ... 33 more
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unknown archiver type
      at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:270)
      at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:122)
      at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:95)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      ... 34 more
      Caused by: org.codehaus.plexus.archiver.manager.NoSuchArchiverException: No such archiver: ''.
      at org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getUnArchiver(DefaultArchiverManager.java:80)
      at org.codehaus.plexus.archiver.manager.DefaultArchiverManager.getUnArchiver(DefaultArchiverManager.java:114)
      at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:236)
      ... 37 more

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Talevi
            Last Updated By:
            Brian Fox
          • Votes:
            6 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: