On Jul 7, 2004, at 16:12, Matt Raible wrote:

For those that use the multiproject plugin - how do you typically develop? Do you make tweaks to the "core" module and then "install" it before working on your "web" project?

Yes, mostly. I don't use multiproject as much as I used to, because I now have several "web" projects, each of which uses a different subset of the several "core" projects. However, after making changes to a core module, I run "maven jar:install-snapshot" to update my local repository, so the changes can be picked up by whichever web modules need them.


To make life a little easier, every project has a maven.xml that defines (at a bare minimum) a goal which looks something like:

    <goal name="install">
        <attainGoal name="clean:clean" />
        <attainGoal name="jar:install-snapshot" />
        <attainGoal name="site:deploy" />
    </goal>

When a project switches from active development to labeled release, the second goal changes to "jar:install", but the "top-level" Maven goal remains "install". I've started adding something similar for CruiseControl, but that's a topic for another thread.

--
Craig S. Cottingham
[EMAIL PROTECTED]
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C


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



Reply via email to