I have checkouts for both 2.0.2 and 2.0.x, but am unable to build using maven. Here is the error that I get with the 2.0.2 branch ::
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/geoserver/maven/config/2.0.2/config-2.0.2.jar
[INFO] Unable to find resource 'org.geoserver.maven:config:maven-plugin:2.0.2' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
A very similar error happens with the 2.0.x branch
[INFO] ------------------------------------------------------------------------
Downloading: http://snapshots.repository.codehaus.org//org/geoserver/maven/config/2.0.3-SNAPSHOT/config-2.0.3-SNAPSHOT.jar
[INFO] Unable to find resource 'org.geoserver.maven:config:maven-plugin:2.0.3-SNAPSHOT' in repository codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Sure enough, these file do not exist on the given repositories. Is there somewhere else maven should be getting these files from, or do I just need to wait for the repositories to be fixed?
What command are you using to build? You will need to do a full ‘mvn install’ from the root of the checkout before bulding any modules individually. Or alternatively go into the maven folder and build that. Then try to do whatever build you are trying to execute.
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository
A very similar error happens with the 2.0.x branch
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository
Sure enough, these file do not exist on the given repositories. Is
there somewhere else maven should be getting these files from, or do I
just need to wait for the repositories to be fixed?
I tried going into src/maven and executing ‘mvn clean install’ but got the following error ::
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The API of the mojo scanner is not compatible with this plugin version. Please check the plugin dependencies configured in the POM and ensure the versions match.
What command are you using to build? You will need to do a full 'mvn install' from the root of the checkout before bulding any modules individually. Or alternatively go into the maven folder and build that. Then try to do whatever build you are trying to execute.
I think this problem was reported once already and it has to do with
us not specifying the version of the maven plugin-plugin dependency...
or something like that?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
I think this problem was reported once already and it has to do with
us not specifying the version of the maven plugin-plugin dependency...
or something like that?