maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Seddon (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MPH-70) Maven Help Plugin prints an Exception Stack Trace: NoSuchMethodError on execution
Date Fri, 05 Mar 2010 15:23:55 GMT

    [ http://jira.codehaus.org/browse/MPH-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212831#action_212831
] 

Rich Seddon commented on MPH-70:
--------------------------------

FWIW, I just hit this on one of my machines.  

I haven't had a chance to investigate (will try to do that later), but I will can confirm
that using a clean local repository fixes the issue.  

> Maven Help Plugin prints an Exception Stack Trace: NoSuchMethodError on execution
> ---------------------------------------------------------------------------------
>
>                 Key: MPH-70
>                 URL: http://jira.codehaus.org/browse/MPH-70
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>            Reporter: Tim O'Brien
>            Assignee: Benjamin Bentmann
>
> I just tried to run the Help plugin
> Here is my Maven version info:
> Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
> Java version: 1.6.0_15
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac"
> Here is the error output:
> ~/book$ mvn help:describe -Dplugin=scm -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Maven: The Definitive Guide Example Code
> [INFO]   Maven: The Definitive Guide (Parent Project)
> [INFO]   Maven: The Definitive Guide (XML, HTML, PDF, and Site)
> [INFO] Searching repository for plugin with prefix: 'help'.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven: The Definitive Guide (Parent Project)
> [INFO]    task-segment: [help:describe] (aggregator-style)
> [INFO] ------------------------------------------------------------------------
> [INFO] [help:describe {execution: default-cli}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] NoSuchMethodException: org.apache.maven.plugins.help.HelpMojo.toLines(java.lang.String,
int, int, int)
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: NoSuchMethodException: org.apache.maven.plugins.help.HelpMojo.toLines(java.lang.String,
int, int, int)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
> 	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.MojoFailureException: NoSuchMethodException: org.apache.maven.plugins.help.HelpMojo.toLines(java.lang.String,
int, int, int)
> 	at org.apache.maven.plugins.help.DescribeMojo.toLines(DescribeMojo.java:930)
> 	at org.apache.maven.plugins.help.DescribeMojo.append(DescribeMojo.java:969)
> 	at org.apache.maven.plugins.help.DescribeMojo.describePlugin(DescribeMojo.java:515)
> 	at org.apache.maven.plugins.help.DescribeMojo.execute(DescribeMojo.java:268)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	... 17 more

-- 
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

        

Mime
View raw message