Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5320

java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 3.0.4
    • None
    • Sites & Reporting
    • None
    • Mac OS X, Maven 3.0.4, java version "1.6.0_33"
      Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-10M3720)
      Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

    Description

      Attempting to build jaxen from https://fisheye.codehaus.org/browse/jaxen/trunk/jaxen/pom.xml?r=1382

      This may well be caused by a plugin mismatch problem, but since the error message asked that I report it here you go.

      [WARNING] An issue has occurred with report org.apache.maven.plugin.changelog.DeveloperActivityReport, skip LinkageError org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V, please report an issue to Maven dev team.
      java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V
      	at org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(SvnCommandLineUtils.java:82)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.createCommandLine(SvnChangeLogCommand.java:121)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.executeChangeLogCommand(SvnChangeLogCommand.java:77)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.executeChangeLogCommand(SvnChangeLogCommand.java:68)
      	at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:101)
      	at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
      	at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:371)
      	at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.changelog(AbstractSvnScmProvider.java:274)
      	at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:250)
      	at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:226)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.generateChangeSetsFromSCM(ChangeLogReport.java:534)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:393)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:340)
      	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
      	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:317)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
      	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
      	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      [INFO] Generating "File Activity" report    --- maven-changelog-plugin:2.1
      [INFO] Generating changed sets xml to: /Volumes/Macintosh HD/Users/elharo/Projects/workspace/jaxen/target/changelog.xml
      [WARNING] An issue has occurred with report org.apache.maven.plugin.changelog.FileActivityReport, skip LinkageError org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V, please report an issue to Maven dev team.
      java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V
      	at org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(SvnCommandLineUtils.java:82)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.createCommandLine(SvnChangeLogCommand.java:121)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.executeChangeLogCommand(SvnChangeLogCommand.java:77)
      	at org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogCommand.executeChangeLogCommand(SvnChangeLogCommand.java:68)
      	at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:101)
      	at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
      	at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:371)
      	at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.changelog(AbstractSvnScmProvider.java:274)
      	at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:250)
      	at org.apache.maven.scm.provider.AbstractScmProvider.changeLog(AbstractScmProvider.java:226)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.generateChangeSetsFromSCM(ChangeLogReport.java:534)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:393)
      	at org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:340)
      	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
      	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:317)
      	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
      	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
      	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            elharo@metalab.unc.edu elharo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: