commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] Commented: (CODEC-109) Allow the build to run with Maven 2 and Maven 3
Date Thu, 20 Jan 2011 13:36:44 GMT


Gary Gregory commented on CODEC-109:

pom.xml currently (r. 1061085) uses commons-parent 15.

When I upgrade to the current commons-parent, 17, I get the following NoSuchMethodError with
Maven 3.0.2. It works fine on Maven 2.2.1.

[INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.1.2
[WARNING] An issue has occurred with report,
skip LinkageError org.codehaus.plexus.PlexusContainer.getLoggerManager()Lor
g/codehaus/plexus/logging/LoggerManager;, please report an issue to Maven dev team.
java.lang.NoSuchMethodError: org.codehaus.plexus.PlexusContainer.getLoggerManager()Lorg/codehaus/plexus/logging/LoggerManager;
        at org.apache.maven.reporting.AbstractMavenReport.generate(
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(
        at org.apache.maven.DefaultMaven.doExecute(
        at org.apache.maven.DefaultMaven.execute(
        at org.apache.maven.cli.MavenCli.execute(
        at org.apache.maven.cli.MavenCli.doMain(
        at org.apache.maven.cli.MavenCli.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(

I can get a clean M3 build by upgrading various plugins but then M2 fails with an array exception.

> Allow the build to run with Maven 2 and Maven 3
> -----------------------------------------------
>                 Key: CODEC-109
>                 URL:
>             Project: Commons Codec
>          Issue Type: Improvement
>    Affects Versions: 1.4
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
> Java version: 1.6.0_23
> Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows"
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
> Allow the build to run with Maven 2 and Maven 3

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message