I don´t really understand because the both file have the same name in the two jar dependencies which are unzipped.
Can you give me an example ? 2009/10/22 Nick Stolwijk <nick.stolw...@gmail.com>: > DependencySet is part of DependencySets, so you can have multiple of them. > > If you exclude one dependency from dependencySet and create a new one, which > includes this dependency but excludes the specific file, I guess you have > what you need. > > With regards, > > Nick Stolwijk > ~Java Developer~ > > IPROFS BV. > Claus Sluterweg 125 > 2012 WS Haarlem > http://www.iprofs.nl > > > On Thu, Oct 22, 2009 at 5:39 PM, Alexander <the.malk...@gmail.com> wrote: > >> Next time quote your message or copy to make sure everybody could >> understand >> what are you talking about. >> >> 2009/10/22 Laurent PELLEGRINO <laurent.pellegr...@gmail.com> >> >> > Thanks for your answer. >> > >> > The last link is what I use. My question is how to add an exclude part >> > by using filename and groupId:artefactId. Because if you do the >> > following >> > >> > > <dependencySet> >> > > <outputDirectory>/</outputDirectory> >> > > <scope>runtime</scope> >> > > <excludes> >> > > <exclude>groupIdB:dependencyB</exclude> >> > > <exclude>META-INF/services/config</exclude> >> > > </excludes> >> > > </dependencySet> >> > >> > > <exclude>groupIdA:dependencyA</exclude> >> > will exclude all files from dependency A whereas I want to exclude only >> one >> > file >> > >> > > <exclude>META-INF/services/config</exclude> >> > will exclude config file from the jar with dependencies whereas I want >> > to have the config file from dependency A in my jar with dependencies >> > >> > what I wish is something like that : >> > <exclude from=groupIdB:dependencyB>META-INF/services/config</exclude> >> > >> > Iam lost, is it possible to do that ? >> > >> > 2009/10/22 Edelson, Justin <justin.edel...@mtvstaff.com>: >> > > Gotta love how Nabble removes the context, forcing people to go to the >> > > site... >> > > >> > > Anyway, one-jar isn't a built-in descriptor: >> > > >> http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht >> > > ml >> > > >> > > There is one here: >> > > http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html >> > > >> > > But I have no idea if this is what you're referring to. If you're not >> > > using a built-in assembly descriptor, you need to find whomever is >> > > providing the descriptor and look at their source. The built-in >> > > descriptors are in >> > > >> http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2. >> > > 2-beta-4/src/main/resources/assemblies/ >> > > >> > > Justin >> > > >> > > -----Original Message----- >> > > From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] >> > > Sent: Thursday, October 22, 2009 11:04 AM >> > > To: users@maven.apache.org >> > > Subject: Re: Maven assembly and onejar goal >> > > >> > > >> > > Nobody can help me ? >> > > -- >> > > View this message in context: >> > > >> http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595 >> > > .html >> > > Sent from the Maven - Users mailing list archive at Nabble.com. >> > > >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > > For additional commands, e-mail: users-h...@maven.apache.org >> > > >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > > For additional commands, e-mail: users-h...@maven.apache.org >> > > >> > > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > For additional commands, e-mail: users-h...@maven.apache.org >> > >> > >> >> >> -- >> Regards, >> Alexander >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org