I've been using Maven for the last couple of weeks. So far
the cool feature for me is dependency management. Where before
(with Ant) I'd create a lib directory, collect a bunch of JARs
there, configure them in Eclipse and also in the Ant build.xml,
now I just need to add dependency elements in the Maven pom.xml.
It's a major automation of something I had to do by hand before.
Yet, sometimes this seems to break down. Yesterday I added a
dependency for log4j, and Maven claimed log4j was dependent on
3 other packages, including jmx and jms. That makes no sense.
Furthermore, it couldn't just download these dependencies and
was asking me to download and install them into the repository
by hand. Besides the extra work, that means the build will
work for me but not for other developers on the team.
There's a good discussion of this problem here. See also
this.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment