Again... wrong list...
Stefan: This message looks like it's caused by a module that's not compatible
to maven 3. Try using maven 2.x.x
Am 17.07.2010 um 19:40 schrieb Andrea Aime:
> Lennart Jütte ha scritto:
>> I get this problem when building with maven 3.0-dontknow 8the one bundled
>> m2eclipse.
>
> Ah. Yeah, that is new ground, none of the GeoServer developers
> uses m2eclipse as far as I know.
>
> That said, the module in question is old and maybe it's just not specifying
> the version numbers of its dependencies properly
> (thinking about maven-plugin-plugin).
>
> No time to look at it right now, but if you want to report
> back to the list with your findings
>
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
Am 17.07.2010 um 14:49 schrieb Ziegler Stefan:
> Hi
>
> I'm trying to build the 2.0.x branch but I get some errors:
>
> [INFO] Installing /home/stefan/Develop/src/gs/2.0.x/maven/pom.xml to
> /home/stefan/.m2/repository/org/geoserver/maven/2.0.3-SNAPSHOT/maven-2.0.3-SNAPSHOT.pom
> [INFO] Installing
> /home/stefan/Develop/src/gs/2.0.x/maven/target/maven-2.0.3-SNAPSHOT-tests.jar
> to
> /home/stefan/.m2/repository/org/geoserver/maven/2.0.3-SNAPSHOT/maven-2.0.3-SNAPSHOT-tests.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Configuration Deployment PlugIn
> [INFO] task-segment: [install]
> [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] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: 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.
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: 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.
> at
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:193)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> Caused by: java.lang.NoSuchMethodError:
> org.apache.maven.tools.plugin.scanner.MojoScanner.populatePluginDescriptor(Lorg/apache/maven/tools/plugin/PluginToolsRequest;)V
> at
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:171)
> ... 19 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Sat Jul 17 14:44:37 CEST 2010
> [INFO] Final Memory: 28M/187M
> [INFO]
> ------------------------------------------------------------------------
>
> Any ideas? Thanks.
>
>
> regards
> Stefan
>
>
>
> mit freundlichem Gruss
> Stefan Ziegler
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel