[Geoserver-devel] [jira] Created: (GEOS-1917) Configuration deployment plugin does not build anymore with maven 2.0.9

Configuration deployment plugin does not build anymore with maven 2.0.9
-----------------------------------------------------------------------

                 Key: GEOS-1917
                 URL: http://jira.codehaus.org/browse/GEOS-1917
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 1.6.3
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 1.6.4

Trying to build it with maven 2.0.9 results in the following build failure:

{code}
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Configuration Deployment PlugIn
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT: checking for updates from mortbay-repo
[INFO] snapshot org.codehaus.mojo:mojo:10-SNAPSHOT: checking for updates from mortbay-repo
[INFO] artifact org.codehaus.mojo:cobertura-maven-plugin: checking for updates from mortbay-repo
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from mortbay-repo
[INFO] [clean:clean]
[INFO] [cobertura:clean {execution: default}]
[INFO] [plugin:descriptor]
[FATAL ERROR] org.apache.maven.plugin.plugin.DescriptorGeneratorMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-plugin-plugin]
urls[0] = file:/home/aaime/.m2/repository/org/apache/maven/plugins/maven-plugin-plugin/2.4.1/maven-plugin-plugin-2.4.1.jar
urls[1] = file:/home/aaime/.m2/repository/org/apache/maven/maven-plugin-tools-ant/2.0.4/maven-plugin-tools-ant-2.0.4.jar
urls[2] = file:/home/aaime/.m2/repository/org/apache/maven/maven-plugin-tools-api/2.0.4/maven-plugin-tools-api-2.0.4.jar
urls[3] = file:/home/aaime/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[4] = file:/home/aaime/.m2/repository/org/apache/maven/maven-plugin-tools-model/2.0.4/maven-plugin-tools-model-2.0.4.jar
urls[5] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.jar
urls[6] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar
urls[7] = file:/home/aaime/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[8] = file:/home/aaime/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
urls[9] = file:/home/aaime/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
urls[10] = file:/home/aaime/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
urls[11] = file:/home/aaime/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
urls[12] = file:/home/aaime/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[13] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar
urls[14] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.jar
urls[15] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.jar
urls[16] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.jar
urls[17] = file:/home/aaime/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.jar
urls[18] = file:/home/aaime/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-tools-api/2.4.1/maven-plugin-tools-api-2.4.1.jar
urls[19] = file:/home/aaime/.m2/repository/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar
urls[20] = file:/home/aaime/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar
urls[21] = file:/home/aaime/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
urls[22] = file:/home/aaime/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[23] = file:/home/aaime/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[24] = file:/home/aaime/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
urls[25] = file:/home/aaime/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
urls[26] = file:/home/aaime/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-tools-java/2.4.1/maven-plugin-tools-java-2.4.1.jar
urls[27] = file:/home/aaime/.m2/repository/qdox/qdox/1.6.1/qdox-1.6.1.jar
urls[28] = file:/home/aaime/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-tools-beanshell/2.4.1/maven-plugin-tools-beanshell-2.4.1.jar
urls[29] = file:/home/aaime/.m2/repository/bsh/bsh/1.3.0/bsh-1.3.0.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/opt/maven2/lib/maven-2.0.9-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.tools.plugin.scanner.MojoScanner.setActiveExtractors(Ljava/util/Set;)V
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError: org.apache.maven.tools.plugin.scanner.MojoScanner.setActiveExtractors(Ljava/util/Set;)V
        at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:116)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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:585)
        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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Mon May 12 13:28:07 EDT 2008
[INFO] Final Memory: 17M/122M
[INFO] ------------------------------------------------------------------------
{code}

This of course in turn breaks the build. Ah, this happened while I was using jdk 1.5 to compile 1.6.x since
I need it for the csv/sld REST stuff, not sure it's relevant thought.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira