[ http://jira.codehaus.org/browse/MCOMPILER-13?page=comments#action_55627 ] 

Bob Allison commented on MCOMPILER-13:
--------------------------------------

If we use a profile to change the sourceDirectory, how do I do the following in 
a single build (since this has to run from the reactor):
-- Build the implementation jar (no classifier)
-- Build the mock-object jar (classifier = "mock")
-- Install both jars in the repository for the next module to use

OK, the third is easy if the mock-object jar is added to the artifact list.  
The main reason for the new Mojos (or altering the existing ones) si so that I 
can have multiple executions of the compiler and jar Mojos during the same run. 
 If there is a means to do this without altering the existing compiler plugin, 
I'm all for it (just let me know how to do it).

> New Mojos for compiler and jar plugins to allow alternate jars
> --------------------------------------------------------------
>
>          Key: MCOMPILER-13
>          URL: http://jira.codehaus.org/browse/MCOMPILER-13
>      Project: Maven 2.x Compiler Plugin
>         Type: Bug

>  Environment: Linux using JDK 1.5.0_01
>     Reporter: Bob Allison
>  Attachments: AltCompilerMojo.java, AltJarMojo.java, pom.xml
>
>
> Add mojos so that mock objects and other affiliated source roots can be 
> compiled and packaged in the same project

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to