Maven's ibiblio repository: nicely out of date
I have a feeling that Maven and I will never quite get along. I live on the bleeding edge, because you have to if you want to keep up with open source. I'm using Hibernate, Spring and JSTL in my Maven sample app. Hibernate is pretty up to date - ibiblio has 2.1.3 and 2.1.4 is the latest. Spring's JARs aren't too bad - 1.0.1 vs. 1.0.2 being the latest release. So much for getting spring-mock.jar quick and easy - since it's part of 1.0.2. JSTL is one version behind too.
Lesson learned: if you want to stay on the bleeding edge, don't use Maven. I suppose another option is to become the guy who uploads these new versions. That job looks rather complicated though. I'm guessing that most folks are simply maintaining their own repositories (or staying away from the bleeding edge).
Posted by Kelly Denehy on June 25, 2004 at 05:39 PM MDT #
Posted by Kelly Denehy on June 25, 2004 at 05:40 PM MDT #
Posted by bob mcwhirter on June 25, 2004 at 06:57 PM MDT #
Posted by Matt Raible on June 25, 2004 at 07:45 PM MDT #
Posted by Jason Carreira on June 25, 2004 at 08:05 PM MDT #
Posted by Bill de hÓra on June 25, 2004 at 08:24 PM MDT #
Bill - that works great when you're developing a project. However, I'm developing a sample app that will be bundled in a product that developers will use. I suppose I can bundle the JARs in a local repository that we install. Or we can host the JARs on the company's site. Thanks for the feedback gents.
Posted by Matt Raible on June 25, 2004 at 09:15 PM MDT #
I create a local repository that is checked in to source control. I then modify the maven.repo.remote property to point to both ibiblio and the local one. (It takes some trickery, involving a path like file:///${basedir}/../maven-repo). But, in the end, it works out great. You can also do the maven.jar.override thing, but it involves specifying the location of every jar that isn't on ibiblio. Doing the local repo involves less work.
"if you want to stay on the bleeding edge, don't use Maven" sounds very harsh. It's also, based on my experience, untrue. If I wasn't using Maven, I'd be checking in *all* of my jars, not just the ones that aren't on ibiblio.
Also, here's a secret that I found out a few weeks back. Apache's Geronimo has a lot of J2EE jars at http://ibiblio.org/maven/geronimo-spec/jars. I know for a fact that the EJB, JTA, and servlet jars are there. I'd imagine that JMS and friends are included also.
Posted by matth on June 27, 2004 at 03:32 AM MDT #