Em Wed, 17 Jun 2009 18:29:05 -0300, Norman Franke <nor...@myasd.com>
escreveu:
Once you get it working for a project, it generally works. It's the
starting of new projects where problems arise. I've had to purge my .m2
directly countless times. Just yesterday, while adding tapestry5-acegi
support, Maven decided to use Tapestry 5.1.0.5 with Tapestry Annotations
5.0.x, leading to all sorts of problems.
Tapestry-Acegi was abondoned some time ago in favor of
Tapestry-Spring-Security. Thus, I guess Tapestry-Acegi has a explicit
dependency in tapestry-core or tapestry5-annotations 5.0.18, causing the
version mismatch.
From googling, it seems a major problem with Maven is that your build
environment is now dependent on rules on potentially dozens of other
sites.
IMHO, it's an exageration. It all dependends on the repositores you use.
They are the central one and the ones included by used projects' pom.xml
files. A build would be more irreproducible if repositories had duplicate
projects inside them, but besides the central and the Ibiblio one,
repositories tend to have only their own projects.
This makes reproducibility nearly impossible. One slight typo and no one
can build.
I don't see how one typo in some repository would lead to a situation
where no one can build.
I think this is a major hit to developer productivity. Sort of, "gee, it
worked last week and I didn't touch anything."
I use Maven for years and this kind of problem you mention only happened a
couple times, all them with Maven plugins, not project dependencies. They
were solved by just specifiying an explicit version. Anyway, recent Maven
development is addressing these issues.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org