Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24367

Re: why maven auto import commons-lang

Newsgroups comp.lang.java.programmer
Date 2013-06-11 15:33 -0700
References <2bfd9773-fb9e-472a-88a8-b086fa765bc0@googlegroups.com>
Message-ID <05043512-9c65-4813-8b70-0809f9b6db8e@googlegroups.com> (permalink)
Subject Re: why maven auto import commons-lang
From Lew <lewbloch@gmail.com>

Show all headers | View raw


On Monday, June 10, 2013 7:21:56 PM UTC-7, mche...@gmail.com wrote:
>    in my class, i have "import org.apache.commons.lang.ArrayUtils;". In pom.xml, i didn't import commons-lang, but i can "mvn compile" successfully. Why?

Maven is usually pretty good about tracking transitive dependencies and fetching them. Some other POM probably called for it.

This works great until multiple POMs ask for different versions of the same library. Ouch!

--
Lew

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why maven auto import commons-lang mcheung63@gmail.com - 2013-06-10 19:21 -0700
  Re: why maven auto import commons-lang Lew <lewbloch@gmail.com> - 2013-06-11 15:33 -0700
    Re: why maven auto import commons-lang Fredrik Jonson <fredrik@jonson.org> - 2013-07-03 07:01 +0000
  Re: why maven auto import commons-lang Nicole Rivers <teamideyatech@gmail.com> - 2013-10-02 20:37 -0700
    Re: why maven auto import commons-lang Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-10-03 17:23 +0300
      Re: why maven auto import commons-lang Joerg Meier <joergmmeier@arcor.de> - 2013-10-03 16:27 +0200

csiph-web