Hi again, I am going to answer myself. I have solved the problem using an old Maven version, 2.0.11, after setting the following 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
mvn -DskipTests clean install

Geoserver 2.3.3 is build successfully now.

Regards,

Eduardo



On 26/04/12 09: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,


------------------------------------------------------------------------------
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

<<attachment: emontana.vcf>>

------------------------------------------------------------------------------
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