Sunday, June 17, 2007

Wasting time

Dear Java developers,

please avoid using Maven 2 wherever possible. It's a waste of my time and yours.

Thanks for ruining an entire day of my life just trying to get a simple Struts2 project up and running.

So I'm currently stuck with two versions: a Maven project which doesn't believe in external JARs and a Struts 2 project which doesn't have the correct dependencies.

nic

2 comments:

Wes said...

Why would you go through using Maven? It is much easier to just import struts-2.0.x-blank.war into your IDE, or just un-jar it if you are not using an IDE.

If you get a chance, I have a blog where I cover some of the basics of using Struts2, check it out, if you are using Maven you are probably a bit beyond my target audience, but I'd appreciate feedback!

nic said...

Thanks wes,

Yep - your site makes it a lot clearer. Thank goodness someone took the trouble to explain it!

Last year, I did some hacking around with WebWork 2 on its own, and that was a lot easier. :-( I think struts adds on a huge layer of complexity ("everything under one roof") that just isn't needed.