I agree with all that's been said. On 2012-11-30 22:30, Mirko Friedenhagen wrote: > I agree with Robert on this, plugins should take part in the > deprecation process, users should just fix their POMs (or force their > build engineers to fix the parent POMs) and the > DeprecatedExpressionException is a good idea as well. > > Regards Mirko > > > On Fri, Nov 30, 2012 at 8:46 PM, Robert Scholte <rfscho...@codehaus.org> > wrote: >> It is probably much harder to remove these deprecated expression from Maven >> than from a plugin. If plugins could participate in banning these >> expressions, I'd prefer to go that way. >> I'd prefer not to throw the NPE, but a (DeprecatedExpressionException >> extends?) MojoFailureException with a proper message. >> >> Robert >> ________________________________ >> Date: Fri, 30 Nov 2012 11:42:32 +0100 >> From: and...@hammar.net >> To: dev@mojo.codehaus.org >> Subject: Re: [mojo-dev] What to do about ${parent.groupId} a.k.a. >> MVERSIONS-200 >> >> >> With the danger of coming out a little bit harsh, I think we're currently >> already doing too much work helping people doing the wrong thing. Why can't >> they just fix their projects? It's a deprecated thing and they are warned. I >> see so many projects with warnings filling the console and the users just >> don't care. It's about time they feel the pain of not fixing things... >> >> Also, if this would have been a core plugin then maybe this could have been >> something to handle, but being a mojo plugin I think you can be more strict. >> >> Very much my own 2 cents around pushing users to do the right thing and >> enable us write cleaner software and focus on the right things, >> /Anders >> >> >> On Fri, Nov 30, 2012 at 11:31 AM, Stephen Connolly >> <stephen.alan.conno...@gmail.com> wrote: >> >> I am interested in other peoples thoughts with respect to >> >> https://jira.codehaus.org/browse/MVERSIONS-200 >> >> Basically, if you have the old deprecated expressions like ${parent.groupId} >> in your poms, then it blows up. >> >> My question is should I add support for these expressions (and then remove >> it again at some point in the future), or leave it blowing up and say "nah >> nah nah nah nah... you were warned... go fix your poms anyway". >> >> Don't really want to have a version of the plugin that won't work correctly >> with future versions of Maven, so adding support for expressions that may be >> removed in an unknown future version of Maven would not seem like a bad >> plan... on the other hand, users expect that if Maven builds it >> versions-maven-plugin can change the version! >> >> -Stephen >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >
-- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email