Get it right

Maven 1 has been causing me some pain on a project, so after much urging from Paul, I thought I’d take a quick look at Maven 2 and see if it would help.

Working through the Getting Started documentation, I’m less than impressed:

m2 archetype:create -DgroupId=uk.co.luminas.myapp -DartifactId=my-app

ls -R my-app


[.. snip ..]

my-app/src/main/java/com/mycompany/app:

App.java

Riiiight. Call me naive, but I’d expect to see my-app/src/main/java/uk/co/luminas/app. I know this is a ‘technology preview’ and I should expect some problems, but seriously – how could something as basic as this be wrong?

I could launch into a bile-filled rant about the state of maven, I could do the cluefull thing and dive into the maven community and file a bug report or help them fix the documentation to manage expectations properly. Actually though, I can’t muster the enthusiasm to do either, and I just despair of the whole XML-obfuscated dependency-laden mind-numbingly complex absurdity that is modern-day project building tools. Maybe this was a mistake :-(

Related posts:

  1. Eclipse, Cocoon, Ant
  2. Maven and Eclipse
  3. links for 2005-08-04
  4. Lunch with Paul
  5. java.net rant
This entry was posted in Planet. Bookmark the permalink.