Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 82726 invoked from network); 3 Nov 2009 14:43:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 14:43:21 -0000 Received: (qmail 53545 invoked by uid 500); 3 Nov 2009 14:43:21 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 53460 invoked by uid 500); 3 Nov 2009 14:43:20 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 53450 invoked by uid 99); 3 Nov 2009 14:43:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 14:43:20 +0000 X-ASF-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 14:43:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 493D514A804A for ; Tue, 3 Nov 2009 08:42:55 -0600 (CST) Date: Tue, 3 Nov 2009 08:42:55 -0600 (CST) From: "Benjamin Bentmann (JIRA)" To: issues@maven.apache.org Message-ID: <19250430.2064.1257259375198.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <33164846.1646.1257215577076.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Updated: (MNG-4426) No javac errors in console when error stacktraces are turned on MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 [ http://jira.codehaus.org/browse/MNG-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bentmann updated MNG-4426: ----------------------------------- Attachment: MNG-4426.zip I couldn't reproduce this, the attached demo project outputs {noformat} [ERROR] [0] org.apache.maven.plugin.CompilationFailureException: Compilation failure M:\MNG-4426\src\main\java\Main.java:[3,20] ';' expected at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) {noformat} upon "mvn compile". > No javac errors in console when error stacktraces are turned on > --------------------------------------------------------------- > > Key: MNG-4426 > URL: http://jira.codehaus.org/browse/MNG-4426 > Project: Maven 2 > Issue Type: Improvement > Components: Errors > Affects Versions: 3.0-alpha-3 > Environment: Apache Maven 3.0-SNAPSHOT (r831593; 2009-10-31 16:50:46-0500) > Java version: 1.6.0_16 > Java home: d:\jdk1.6.0_16\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Reporter: Paul Benedict > Attachments: MNG-4426.zip > > > This only occurs when -e option is specified. When my build failure happened, this was the output: > [ERROR] [0] > org.apache.maven.plugin.CompilationFailureException: Compilation failure > at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:547) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:317) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:233) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:102) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:421) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:156) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:121) > 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) > [ERROR] > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [0] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > Is this a feature or a bug? I thought it was the latter. Without the option, the compiling errors are again printed. -- 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