I have occasion to build at locations where I don't have internet access but
I do have access to a cvs repository where I have added
my local maven repository. So I build a local repository with a check out
from cvs and then I build my project with 'mvn -o clean install'.
However I get the following error:
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or no valid version could be found
[INFO]
----------------------------------------------------------------------------

but it's there!

 ls ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/
CVS  maven-site-plugin-2.0-beta-4.jar  maven-site-plugin-2.0-beta-4.pom

While testing this build process I have internet access and if I remove
~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4 and
build 'online' the same files (maven-site-plugin-2.0-beta-4.jar,
maven-site-plugin-2.0-beta-4.pom)
end up in the same place
(~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/)
and the build works. Can anyone help me understand why this happens and how
I can fix it?

Xavier

Reply via email to