This post originated from an RSS feed registered with Java Buzz
by Adam Kruszewski.
Original Post: a small rant about maven2 its plugins and eclipse plugin for it.
Feed Title: Adam Kruszewski :: WebLog();
Feed URL: http://adam.kruszewski.name/blojsom/blog/adam.kruszewski/?flavor=rss2
Feed Description: Thoughts about linux, open source, programming, ...
From thursday I'm lying in bed feeling very sick so I have time to play with latest snapshots of maven2, its plugins and eclipse plugin for it. So far I can tell that I'm impressed, just invoking mvn clean install deploy:deploy and viola! Everything is simple and almost works. I ran upon some difficulties at the beginning:
MavenIde for Eclipse didn't show precise error messages from default maven compiler, eg. like it doesn't like generics when not set to 1.5 source compatibility (but aspectj compiler plugin does).
it also somewhat fails to integrate nicely with latest WTP releases -- maven dependencies aren't copied to .deployment/app/WEB-/INF/lib/ directory upon build.
Aspectj and cobertura plugins are accessible from mojo sandbox subversion repository but as source code and I didn't find a way for maven to auto download them (other than deploying them to my own private repository).
I didn't found a workaround only for second point (probably I didn't try enough, because it probably should work) and after resolving the two others I can say that maven2 rocks!