Thank you for your response

according to the instructions I found at http://docs.geoserver.org/stable/en/developer/quickstart/index.html#build-with-maven

I am trying to do 'mvn clean' from the top level src folder of my checkout of https://svn.codehaus.org/geoserver/tags/2.0.2

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.

Embedded error: org.apache.maven.tools.plugin.scanner.MojoScanner.populatePluginDescriptor(Lorg/apache/maven/tools/plugin/PluginToolsRequest;)V


  Here is the output of 'mvn --version' if that helps at all

$ mvn --version
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_12
Java home: /usr/lib/jvm/jdk1.6.0_12/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-24-generic" arch: "amd64" Family: "unix"

--Brent


On 8/17/2010 5:19 PM, Justin Deoliveira wrote:
Hi Brent,

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.

-Justin

On Tue, Aug 17, 2010 at 12:18 PM, Brent Ellwein <[email protected] <mailto:[email protected]>> wrote:

     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?

    Thanks!
    --Brent

    
------------------------------------------------------------------------------
    This SF.net email is sponsored by

    Make an app they can't live without
    Enter the BlackBerry Developer Challenge
    http://p.sf.net/sfu/RIM-dev2dev
    _______________________________________________
    Geoserver-devel mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/geoserver-devel




--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to