On Wednesday 24 Sep 2003 07:50, jake stone wrote: > Could someone possibly post a sample maven.xml that implements the > multiproject plugin ? It would be a nice thing to have in an FAQ sometime > as well.
You don't need anything in your maven.xml to use multiproject. maven.xml is for cases where you want to write your own goals or pre/post goals. I have an app that uses multiproject available at www.ajsoft.net/Products/WebShop so you can download the source and look at it if you want a reference point. > Also, I am curious as to why Maven requires a plugin for what seems to be a > task intrinsic to its purpose. In my case, I am not trying to build > separate projects, but rather compile the modules for both the standalone > and the client versions of the same project. A plugin performs a particular task ... whether it is a "core" plugin, or a plugin for an extension task is not important. "multiproject" is a core plugin. Maven provides its capability via plugins, rather than lumping everything in a big binary, so you can use what bits you want ... its called architecture. -- Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
