Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC211E316 for ; Mon, 3 Dec 2012 09:50:22 +0000 (UTC) Received: (qmail 44381 invoked by uid 500); 3 Dec 2012 09:50:22 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 44175 invoked by uid 500); 3 Dec 2012 09:50:20 -0000 Mailing-List: contact commits-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 commits@maven.apache.org Received: (qmail 44135 invoked by uid 99); 3 Dec 2012 09:50:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 09:50:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 09:50:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CDDCD2388980; Mon, 3 Dec 2012 09:49:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1416399 - in /maven/plugins/trunk/maven-compiler-plugin: ./ src/it/MCOMPILER-190/ src/it/MCOMPILER-190/src/ src/it/MCOMPILER-190/src/main/ src/it/MCOMPILER-190/src/main/java/ src/it/MCOMPILER-190/src/main/java/org/ src/it/MCOMPILER-190/src... Date: Mon, 03 Dec 2012 09:49:57 -0000 To: commits@maven.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121203094957.CDDCD2388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olamy Date: Mon Dec 3 09:49:56 2012 New Revision: 1416399 URL: http://svn.apache.org/viewvc?rev=1416399&view=rev Log: [MCOMPILER-190] No compile errors with plexus-compiler-eclipse. Added: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pce.tar maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml (with props) maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java (with props) Modified: maven/plugins/trunk/maven-compiler-plugin/pom.xml maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java Modified: maven/plugins/trunk/maven-compiler-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/pom.xml?rev=1416399&r1=1416398&r2=1416399&view=diff ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-compiler-plugin/pom.xml Mon Dec 3 09:49:56 2012 @@ -54,7 +54,7 @@ under the License. 2.0.9 3.2 - 2.0 + 2.1-SNAPSHOT 1.8.0 2.6.0-01 Added: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pce.tar URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pce.tar?rev=1416399&view=auto ============================================================================== Files maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pce.tar (added) and maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pce.tar Mon Dec 3 09:49:56 2012 differ Added: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml?rev=1416399&view=auto ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml (added) +++ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml Mon Dec 3 09:49:56 2012 @@ -0,0 +1,31 @@ + + + 4.0.0 + org.example.pce + sample + 0.0.1-SNAPSHOT + jar + + utf-8 + + + + + maven-compiler-plugin + 3.1-SNAPSHOT + + eclipse + 1.5 + 1.5 + + + + org.codehaus.plexus + plexus-compiler-eclipse + 2.1-SNAPSHOT + + + + + + Propchange: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/pom.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java?rev=1416399&view=auto ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java (added) +++ maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java Mon Dec 3 09:49:56 2012 @@ -0,0 +1,7 @@ +package org.example.pce.sample; + +public class Dummy { + public static void main(final String[] args) { + String dummy = new Integer(1); + } +} Propchange: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugins/trunk/maven-compiler-plugin/src/it/MCOMPILER-190/src/main/java/org/example/pce/sample/Dummy.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java?rev=1416399&r1=1416398&r2=1416399&view=diff ============================================================================== --- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java (original) +++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java Mon Dec 3 09:49:56 2012 @@ -716,9 +716,16 @@ public abstract class AbstractCompilerMo throw new MojoExecutionException( "Fatal error compiling", e ); } - getLog().debug( "incrementalBuildHelper#afterRebuildExecution" ); - // now scan the same directory again and create a diff - incrementalBuildHelper.afterRebuildExecution( incrementalBuildHelperRequest ); + if ( incrementalBuildHelperRequest.getOutputDirectory().exists() ) + { + getLog().debug( "incrementalBuildHelper#afterRebuildExecution" ); + // now scan the same directory again and create a diff + incrementalBuildHelper.afterRebuildExecution( incrementalBuildHelperRequest ); + } + else + { + getLog().debug( "skip incrementalBuildHelper#afterRebuildExecution as the output directory doesn't exist" ); + } List warnings = new ArrayList(); List errors = new ArrayList();