How did I ever survive without Maven?

I have only been using Maven in my active projects for about 2 months, but already I have no idea how I survived without it.  I have solved so many errors that were caused by jar conflicts that I have lost count!

First, there's the conflict between some versions of Jersey and Hibernate that I resolved with Maven.

Next, when I started using C3P0 connection pooling with Hibernate and Spring, I solved another error with Maven.  (I had to swap out my "c3p0" dependency for "hibernate-c3p0", then I had to fiddle with the versions of hibernate-c3p0 until it worked.)

There were several others I bumped into while switching my project to use Spring & Struts -- several dependencies to add there and get coordinated with the others.

I still use ANT for generating the WAR for production.  I need ANT because I have 2 sets of configuration files -- one for dev and one for prod -- and I simply tell ANT which set of config files to build from.  I don't know if Maven can do that or not.

For many years, I thought I had to choose between Maven and ANT, but what do you know, here I am using both on a daily basis.

No comments:

Post a Comment

Translate