Another option is to build your subset jars and attach them as artifacts
with the build-helper plugin. See:

http://www.nabble.com/-maven2--Generating-several-artifacts-per-project-
--tf1689630.html#a4630045

Chris Hilton

> -----Original Message-----
> From: Denis Cabasson [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 25 July, 2006 02:37
> To: [email protected]
> Subject: Re: maven-jar-plugin: include/exclude functionality?
> 
> 
> 
> Simon Kitching-2 wrote:
> > 
> > I need to build 3 jars from the classes created by a 
> module; a "full"
> > jar and two jars that contain subsets of the available classes.
> > 
> 
> If you need to build 3 different jars (not taking into 
> account javadoc and sources jar) from a single module, it's 
> probably that this module should be
> 3 different modules :)
> 
> If, for whatever reason, you don't want to split up your 
> module in 3 different modules, you have to use the assembly 
> plugin to create "customs"
> jars out of your module.
> 
> Denis.
> 
> --
> View this message in context: 
> http://www.nabble.com/maven-jar-plugin%3A-include-exclude-func
tionality--tf1995736.html#a5481135
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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