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.
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.

Leave a comment