Some of you may have noticed that trunk has an issue with Maven 2.2.1 it
ends up with:
***********************************************
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.gatein:gatein-dep
Reason: POM 'org.gatein:gatein-dep' not found in repository: Unable to
download the artifact from any repository
org.gatein:gatein-dep:pom:1.0.3-Beta01
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
__jpp_repo__ (file:///usr/share/maven2/repository)
for project org.gatein:gatein-dep
***********************************************
And it seems to work fine with Maven 3.
The thing is related to the fact that gatein consumes a component which
includes gatein-dep with the scope "import", it seems to be exactly the
same issue as:
http://maven-users.828.n2.nabble.com/Resolving-dependencies-of-type-pom-t...
Also it may have been related to:
http://jira.codehaus.org/browse/MNG-3553 (Funny to see that the reporter
and assignee are Red Hat employees, and 1 of the commenter is our famous
Arnaud :))
So as a workaround I added the dependency in the parent pom which solves
the issue (Not committed yet as I'm also fixing other stuff).
Thomas