On 30 March 2017 at 15:09, Russell Bateman <[email protected]> wrote: > Sebb, > > Thanks for responding, but I probably need some help here making your > suggestion(s) work. To begin with, > > http://repo.maven.org/maven2/commons-io/commons-io/ > > yields nothing in the browser or using curl: > > ~/Downloads $ curl http://repo.maven.org/maven2/commons-io/commons-io/ > curl: (6) Could not resolve host: repo.maven.org
Sorry, that should be http://repo.maven.apache.org/maven2/commons-io/commons-io/ or http://repo1.maven.org/maven2/commons-io/commons-io/ seems to work But you should not need the URL if you are using Maven to build. > Do I need something special in /~/.m2/settings.xml/? (I don't have one.) or > in my /pom.xml/ file(s)? <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version> </dependency> > If it's only that the groupIdhas changed, what is > it? As above. [It's not really changed - the one you mention at the start of this thread is not currently used.] > Can you give me a Maven replacement for what's at: > https://mvnrepository.com/artifact/commons-io/commons-io/2.5 > > I don't understand why this page exists since it clearly doesn't lead to > fulfilling my build's need for /commons-io-2.5.jar/. I use Maven a lot and > have for a long time, but I'm completely stumped by this issue. You just need to include the correct dependency as above. > Thanks. > > > > > > On 03/29/2017 06:24 PM, sebb wrote: >> >> On 30 March 2017 at 01:20, sebb <[email protected]> wrote: >>> >>> Try >>> >>> http://repo.maven.org/maven2/commons-io/commons-io/ >>> >>> IO used to have a different group id. >> >> I mean, still has a different gid. >> >> The entry under >> https://repo.maven.apache.org/maven2/org/apache/commons/commons-io/1.3.2 >> >> is a relocation pom. Probably that version was accidentally released >> with the wrong gid. >> >>> On 30 March 2017 at 00:31, Russell Bateman <[email protected]> wrote: >>>> >>>> As I attempt to build, I find >>>> >>>> >>>> https://repo.maven.apache.org/maven2/org/apache/commons/commons-io/2.5/commons-io-2.5.jar >>>> >>>> to yield a 404. When I go look there, only 1.3.2 exists and even that, >>>> though there are JARs galore, has a /pom.xml/ that basically refers >>>> Maven to >>>> Maven Central. Must I then put something into my /pom.xml/ that deters >>>> Maven >>>> from ever looking for anything in /repo.maven.apache.org/? It seems >>>> strange >>>> that Apache would offer a Maven repository that's missing an important >>>> library (for me, at least). Until now, I haven't had this experience >>>> with >>>> other Apache Commons libraries. >>>> >>>> Please advise, thank you! >>>> >>>> Russ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
