0 Replies Latest reply on Feb 16, 2011 2:31 PM by hil george

    maven-dependency-plugin to copy the dependencies of a given artifact

    hil george

      Hi,
         Given a specified library, I want to copy all the dependent libraries to a specified location.      Maven-dependency-plugin, “copy” goal will copy the specified artifactItem to specified location. It won’t copy the transitive dependencies of the artifact. But copy-dependencies goal will copy all the project’s dependencies to the specified location. HOw can I copy only the specified jar's dependency (including transitive dependency) to a specified location? Do I need to change the maven-dependency-plugin for that? If so, how can I do that? Someone please help me on this.

       

      Thanks,
      Hg