Thank Ben for you response, I couldn't find any explicit warning about
ubuntu maven as yours.
At last I was able to build Geoserver using Maven 2.0.11 from Apache and
setting a few environment variables:

export M2_HOME=<dir_apache_maven>/apache-maven-2.0.11
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.24
export PATH=$JAVA_HOME/bin:$PATH

Thanks againg for your


El 27 de abril de 2012 a las 3:47 Ben Caradoc-Davies
<[email protected]> escribió:

> GeoServer is built on GeoTools, which warns against Apache Maven 2.2.1
> (rdebian-1).
>
> "It is very tempting to use apt-get to install maven, ubuntu users I am
> looking at you! Please be careful of the maven provided out of the box
> by unbuntu: Apache Maven 2.2.1 (rdebian-1) It is not actually apache
> maven as provided by apache"
> 
http://docs.geotools.org/latest/userguide/advanced/build/install/mvn.html#do-not-use-apt-get
>
> On 26/04/12 15:37, Eduardo de la Montaña wrote:
> > Hello, I am new developing in Geoserver 2.3.1 and triying to build it
> > with maven Apache Maven 2.2.1 (rdebian-1)
> >    but it shows 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
> >
> > I have tried several solutions found it on the Internet, but after
> > proved it didn't work. Has anybody compiled Geoserver 2.3.1 with Maven
> > 2.2.1 successfully? Have you got any idea how to solve this problem?
> >
> > Thanks in advance,
>
> --
> Ben Caradoc-Davies <[email protected]>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to