Huh, well it's definitely just me then. I did the same thing and ended
up with the same unresolved artifact. Dooming the repository did give
me a few additional messages, but nothing incredibly telling.
Here's the end of the build (in the same Xbean Integration project as
before):
Downloading:
https://dev.ekosystems.com/maven/repo/org/apache/xbean/maven-xbean-plugin/3.6/maven-xbean-plugin-3.6.jar
13K downloaded
[INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking
for updates from central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:build-helper-maven-plugin
Reason: Error getting POM for
'org.codehaus.mojo:build-helper-maven-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.
org.codehaus.mojo:build-helper-maven-plugin:pom:1.5-SNAPSHOT
from the specified remote repositories:
eko-mirror (https://dev.ekosystems.com/maven/repo)
for project org.codehaus.mojo:build-helper-maven-plugin
So maybe the problem is our repository mirror?? It contains no
build-helper-maven-plugin artifacts at all... but like I said before,
1.5-SNAPSHOT is an unreleased version of the plugin and I haven't found
anything specifying that version in the builds....
Whatever, this seems pretty likely an environment problem on my end and
not due to any recent changes in the mina code stream. I'll get some
of our local experts on it and see what they can figure out.
Thanks!!
boB
Emmanuel Lecharny wrote:
So here is what I did :
cd ~/mina
svn co http://svn.apache.org/repos/asf/mina/trunk clean-trunk
cd ~/.m2
rm -rf repository (this is where I 'doom' the directory)
cd ~/mina/clean-trunk
mvn clean install
It builds just fine.
You may point to a strange repos, from which Maven is trying to get
the plugin. Here is what I have :
http://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.4/build-helper-maven-plugin-1.4.jar
and you have :
http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/
Can you check your maven settings.xml file ?