Not really, no :).

If I read the article correctly, it describes how to merge n jar's into one. I 
just need to copy them to a specific location.

-------- Original-Nachricht --------
> Datum: Fri, 18 Jan 2013 08:50:36 -0500
> Von: Ron Wheeler <[email protected]>
> An: [email protected]
> Betreff: Re: Maven copy-dependencies and excluding transitively

> http://blog.artifact-software.com/tech/?p=121
> Is that what you  are trying to do?
> 
> Ron
> 
> On 18/01/2013 8:15 AM, Veit Guna wrote:
> > Hi.
> >
> > I'm using the Maven Dependency Plugin with the goal copy-dependencies. I
> would like to do the following:
> >
> > - Copy all transitive dependencies with the scope "runtime" to the
> target dir
> > - exclude specific group ids *including their* transitive dependencies
> from that list
> >
> > I tried:
> >
> > <plugin>
> >     <groupId>org.apache.maven.plugins</groupId>
> >     <artifactId>maven-dependency-plugin</artifactId>
> >     <version>2.6</version>
> >     <executions>
> >             <execution>
> >                     <id>copy-dependencies</id>
> >                     <phase>package</phase>
> >                     <goals>
> >                             <goal>copy-dependencies</goal>
> >                     </goals>
> >                     <configuration>
> >                             <includeScope>runtime</includeScope>
> >                             <excludeGroupIds>A,B</excludeGroupIds>
> >                     </configuration>
> >             </execution>
> >     </executions>
> > </plugin>
> >
> > But that leaves all transient dependecies of A and B in the target dir.
> I also tried
> >
> > <excludeTransitive>true</excludeTransitive>
> >
> > But that excludes *all* transitive deps - not only for A and B. That
> leaves only "direct" deps in the target dir.
> >
> > Is there any way to achieve what I want *without* specifying each
> transitive dependency (and theirs) manually via <excludeGroupIds>?
> >
> > Thanks.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> 
> 
> -- 
> Ron Wheeler
> President
> Artifact Software Inc
> email: [email protected]
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to