Also, if only few modules see activity, wouldn't it be easy to just release and version the stable parts separately, rather than always building everything?
Kalle On Wed, Sep 17, 2008 at 1:59 PM, Brett Porter <[EMAIL PROTECTED]>wrote: > This really needs the support of other plugins to check if they need > to run - you can't know a generic way to skip things. For that reason > we haven't exposed a programmatic way to do that. > > I would recommend focusing on what the performance bottlenecks are and > improving them as much as possible. > > - Brett > > 2008/9/18 Yann <[EMAIL PROTECTED]>: > > Hi, > > > > In our company lot of people complains that our maven 2 builds are too > long. > > We use multi modules and most of the time we only need to build 1 or 2 > > modules not all of them. > > > > So a solution could be to create a Maven 2 plugin that will check if a > > source file has changed in the module. If no file has changed then it > will > > skip all other phases of the module (from generate-sources to > packaging...). > > > > So I know how to bind a plugin to the first maven phase (validate). > > But how to skip all others phases without interrupted the multi-module > build > > ? > > > > Thanks > > Yann > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
