Looks like it is out of ideology of maven.
I think to solve it you should have 3 projects.
However if you create your own plugin everything is possible :)

suchitra wrote:
> 
> How do I create three separate jars (of classes) in the target directory,
> from a single source file?
> 
> For example, 
> 
> A
> |-------src
> |         |-------main
> |            |--------java
> |                   |--------my_java files    
> |------target
>           |------classes
>                        |---------my_class files       
>           X-1.0-SNAPSHOT.jar                  |
>           Y-1.0-SNAPSHOT.jar                  |----------------------instead 
> of a single
> A.jar file (using mvn package)
>           Z-1.0-SNAPSHOT.jar                  |
> 
>       
> Thanks,
> Suchitra      
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-3-different-jars-from-a-single-mvn-package-command--tf3721182s177.html#a10412873
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to