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