You should be able to do this with the assembly plugin.

Justin

On Apr 19, 2010, at 5:57 PM, ZedroS Schwart
<[email protected]> 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: [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