You should be able to do this with the assembly plugin. Justin
On Apr 19, 2010, at 5:57 PM, ZedroS Schwart <zedros.schwa...@gmail.com> wrote: > hi > > I'm a long time user of Maven and recently I decided to go for the Sun > Certified Java Developer. > > This assignment requires the developer to create a quite complex jar, > containing (from the root) : > - a jar with the actual code > - some files from the assignment > - a directory with the (src/main/java) code in it > - another directory with > -- the javadoc in a dedicated folder > -- some various files (explanation, doc from the assignment) > > For sure, in order to limit risks, the jar content should be that and > nothing else at all... > > I've just looked at maven buid resources, jar plugin, source plugin > and the like, and I feel like building such a complex pom isn't really > doable with maven (at least reusing the plugins I spoke of). At least, > nesting my jar this way looked like not doable. > > Am I wrong ? Did I miss something obvious ? Any hint or advice maybe ? > > On the other hand, should I stop there and swith to some ant based > script ? > > thanks in advance > zedros > > --------------------------------------------------------------------- > 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