maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Forbid users to use a certain artifact and/or version
Date Wed, 17 Nov 2010 11:34:48 GMT
I possible solution if they already use Nexus, is to upgrade to Nexus Pro
and use the procurement feature. Then they can easily block specific
artifacts, effectively forcing the developers to change their dependencies.
Otherwise they will not be able to build...very effective! :-)

/Anders

On Wed, Nov 17, 2010 at 11:15, Asmann, Roland <Roland.Asmann@adesso.at>wrote:

> Hi all,
>
> For one of my customers, I have to come up with a solution to have maven
> completely ignore certain artifacts and/or versions.
>
> 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...
>
> The setup they have here is using Nexus, maybe I can tinker around with
> that a bit as well?
>
> Any help would be greatly appreciated!
>
> --
> 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.asmann@adesso.at
>                                    W www.adesso.at
>
> -------------------------------------------------------------
>             >>> business. people. technology. <<<
> -------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message