I fully agree with you, but as the saying goes 'the customer is king'...

Ah well, I'll give it another couple of days to tinker around and if 
nothing else works, I'll tell them to just enforce one of the changes.


On 17.11.2010 11:43, Antonio Petrelli wrote:
> 2010/11/17 Asmann, Roland <roland.asm...@adesso.at>:
>  > Does anybody have any ideas on how to do this?
>  > I was thinking about using a preant-POM and the enforcer-plugin, but as
>  > soon as I make an update, all projects would have to update their
>  > parents as well -- which is exactly what they don't want, otherwise they
>  > could've changed the dependencies themselves...
>  >
>  > The problem here is that the architecture-department wants to get rid of
>  > certain artifacts and the developers don't want to update their POMs...
>  > I know, it's not ideal, but I have to find some sort of solution for
> this...
>
> I'm sorry but I think that magic cannot happen, at least in Maven world.
> Either update your parent and encourage developers to change parent
> version, or encourage developers to change dependencies.
> I mean, if you update parent POM and it is not a SNAPSHOT version, and
> child POMs are not connected to this SNAPSHOT, then developers must
> change parent POM version.
> You can (very bad! don't do it!) modify the original deployed version
> of that parent POM to add those rules, developers should clean their
> local repository and redownload the parent POM.
>
> Anyway, you already found two good solutions to your problem.
> This kind of war is nonsense IMHO.
>
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock              T +43 1 2198790-27
Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
A-1210 Wien                         M +43 664 88657566
                                    E roland.asm...@adesso.at
                                    W www.adesso.at

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to