Maven 2 Woes

| | Comments (0) | TrackBacks (0)
I use Maven at my job to handle builds and manage dependencies. Most libraries are available and up to date. All I have to do is add them to my POM and build.

The key word there is most. If a jar is not available on a Maven repository, you can install the jar in question manually to your local repository. This isn't a big deal if it's one jar. When you have multiple jars that are interdependent, things quickly get ugly, and result in a huge dependency list in your project pom.

It could be worse- and today it was. I tried to set up a jax-ws 2.1 project in maven and immediately ran into a third scenario. The jars in the maven repository were incorrect and the respective pom files listing incorrect dependencies. I spent hours sorting through the mess until I finally gave up and used Ant instead. There is no way for me to go in and clean up the mess in the maven repository. I could go in and fix this on my local repository, but why? Isn't managing dependencies the selling point for Maven? If I'm managing all the dependencies myself, what do I need Maven for?

To be fair, the problem is not the Maven team's fault. They don't manage the repository in question. I'll continue to use Maven for most of my projects. When things get ugly, I'll bring out Ant.

0 TrackBacks

Listed below are links to blogs that reference this entry: Maven 2 Woes.

TrackBack URL for this entry: http://coffeejolts.com/cgi-bin/mt4/mt-tb.cgi/4

Leave a comment

About this Entry

This page contains a single entry by Coffeejolts published on January 3, 2008 2:15 PM.

Ahmadinejad Analyzes COD4:MW was the previous entry in this blog.

Installing Jax-WS in a local Maven Repository is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.2-en