Package: maven2
Version: 2.2.1-5
Severity: important

Every version of Debian-Maven fails to build Configuration Deployment PlugIn of open source project geoserver with:

mvn comile fails with following exception:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   GeoServer Maven Plugins
[INFO]   Configuration Deployment PlugIn
[INFO]   GeoServer Maven Archetypes
[INFO]   GeoServer Web Plugin Archetype
[INFO]   GeoServer WFS Output Format Archetype
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoServer Maven Plugins
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[INFO] Building Configuration Deployment PlugIn
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [plugin:descriptor {execution: default-descriptor}]
[WARNING] Using platform encoding (UTF-8 actually) to read mojo metadata, i.e. build is platform dependent! [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 [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sun May 08 17:08:17 CEST 2011
[INFO] Final Memory: 19M/167M
[INFO] ------------------------------------------------------------------------



All Native maven binaries (version 2.0.8 - 2.2.x) from apache site succeed.

to reproduce this behaviour:

#checkout source to directory called mavenError
svn export http://svn.codehaus.org/geoserver/tags/2.0.3/src/maven mavenError
cd mavenError
mvn compile


This is an issue already known for geotools/geoserver developer. And their soulution is to NOT use debian maven2, only official maven2 from apache. But this makes it very diffucult to build a future debian package for geoserver, if it doesn't compile with debian-maven2.

Can you please have a look at this issue, thx!

cheers, Rudi





__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to