I'm having a rough time finding the magic syntax to get maven-dependency-plugin to copy dependencies to the right places. What I want to do is:

1. Copy dependencies with common groupIds to particular subdirectories.
2. Copy the rest of the compile-scope dependencies to the main /lib directory.

Example output:

/target
  /lib
    /jetty
      (jetty and transitives go here, groupid="org.mortbay.jetty")
    /metro
      (glassfish and transitives go here, groupid="com.sun.xml.ws")
  commons-collections.jar
  commons-logging.jar
  etc. -- rest of compile-scope dependencies here

I don't want to have to specify every artifact and its version in the configuration, because all that's already in the <dependencies> section of the pom.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to