I identified a need in our particular build such that many times when we
build a jar, we need to include classes from another project.

For example, in a multiproj build I have 2 submodules:

Module1
Module2

I build module1 and jar it up, then I build module2 and jar it up,
however, the caveat is that I want to include a few classes from the
module1 /target/classes to the jar created in module2.

I took a look at the source for the jar plugin and can see that the
functionality doesn't exist.  No prob.   I wrote my own plugin which
extends the jar plugin (the plugin dev guide is pretty awesome, I was up
and running with the sample in 10 mins).

My question though,

How can I instruct maven to use my custom jar plugin rather than the
default jar plugin?  

Ruel Loehr
JBoss QA
 
-----------------------------
512-626-2782
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to