[jboss-as7-dev] Maven Repository Dependencies
Max Andersen
manderse at redhat.com
Tue Jan 25 11:33:35 EST 2011
Adding repositories into pom.XML is an antipattern since it gets included in those who depend on it.
You can put a settings.XML into your repo and use mvn -s settings.XML when building.
Sent from a mobile device
On 25/01/2011, at 13.44, Darran Lofthouse <darran.lofthouse at jboss.com> wrote:
> I was speaking to David yesterday and said I would raise a thread to see
> if there is a consistent approach that could be used for defining which
> repositories to use to download the dependencies for JBoss AS and the
> other smaller components.
>
> Personally I have had problems in the past trying to work with a single
> central configuration for repositories so I have been trying to avoid a
> central configuration as much as possible.
>
> For the actual AS build the repositories have been defined in the
> pom.xml so I was proposing a similar change for other modules that
> require some dependency from our Nexus repos e.g.
>
> https://github.com/darranl/jboss-dmr/commit/3b47d97410cdfd25845f1ff2399e1c96b7115811
>
> Does this make sense for all the smaller projects where required or do
> we still want changes to be made to a local settings.xml just to be able
> to build?
>
> Regards,
> Darran Lofthouse.
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list