[Cosmo-dev] Call for vote: switch to Maven 2 officially
Mike Taylor
bear at osafoundation.org
Fri Dec 1 14:52:50 PST 2006
Now that the changes I've made to support Maven 2 have been tested
and gone over by bcm and randy, I would like to make the switch on
Tuesday of next week.
Switching to Maven 2 will involve one change that will make it
impossible to use Maven 1 to build - the src/webapps/ directory needs
to move to src/main/webapps/
The way devs do the various steps are also different and the one
change that Maven 2 causes will cause minor grief until everyone gets
used to it: Maven 2 does not allow for task goals to depend on other
task goals. In the Maven 2 world only lifecycle goals can do that.
What this means for the developer is that if you run "mvn
war:inplace" Maven 2 will *not* compile your source if something has
changed.
Here is the common set of commands I think will be used:
mvn compile
mvn compile test
mvn package war:inplace
Optionally you can use the clean target to remove intermediate files.
Let me know if anyone has any objections to this.
thanks,
---
bear
Build and Release Engineer
Open Source Applications Foundation (OSAF)
bear at osafoundation.org
http://www.osafoundation.org
bear at code-bear.com
http://code-bear.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20061201/2c7770b8/attachment.htm
More information about the cosmo-dev
mailing list