I have a multi-module project that produces many artifacts and generates
reports etc. When I am developing I don't wish to rebuild everything every
time.  For example if I am working on the code I don't want to generate the
documentation (for  inclusion with the distribution file and created using
docbkx rather than generation of the site, which I do have control over via
the site phase) and produce the distributions every time, I simply want to
know that the system still build and tests all run.  Similarly when working
on the documentation I would like to simply produce the documentation.

Via the phases I get little control over what is done - I believe I need to
use "mvn install" so that the inter-dependencies between my modules are
managed (ie for when I have changed two files in two different modules). 
Therefore I cannot simply compile and test code, I have to create the
distributions as well.

I thought that profiles might be the way to go, but the "Better Builds With
Maven" book suggests that profiles are for dealing with "non portable"
issues.

How do other people deal with this type of requirement?

Many thanks

Robert Matthews
-- 
View this message in context: 
http://www.nabble.com/Controlling-build-scope-tf4910626s177.html#a14059533
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