Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 045AE10A49 for ; Mon, 3 Jun 2013 23:00:28 +0000 (UTC) Received: (qmail 78282 invoked by uid 500); 3 Jun 2013 23:00:27 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 78247 invoked by uid 500); 3 Jun 2013 23:00:27 -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 78239 invoked by uid 99); 3 Jun 2013 23:00:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 23:00:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 23:00:23 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6250DB0FEE for ; Mon, 3 Jun 2013 18:00:03 -0500 (CDT) Date: Mon, 3 Jun 2013 18:00:03 -0500 (CDT) From: "Bob Fields (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MCOMPILER-206) Buildhelper plugin (add source dir) ignored on compile in site phase MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org Bob Fields created MCOMPILER-206: ------------------------------------ Summary: Buildhelper plugin (add source dir) ignored on compil= e in site phase Key: MCOMPILER-206 URL: https://jira.codehaus.org/browse/MCOMPILER-206 Project: Maven 2.x Compiler Plugin Issue Type: Bug Affects Versions: 3.1 Environment: Java 1.6.0_43-b01 64 bit Windows7. maven 3.0.4. Reporter: Bob Fields Attachments: mvnsiteFailure.zip mvn install recognizes additional directories from maven-buildhelper-plugin= . Running mvn site afterwards does not recognize the additional src directo= ries. This was not a problem until compiler 3.0 plugin changed the way comp= ilation is done, it now recompiles the project every time even when no chan= ges have been made, unfortunately it needs to recompile during the site pha= se now. Multiple recompilations normally would not be a problem (though pre= ferred not to have to do), if it found all the source directories. I tested= the old 2.5.1 plugin by deleting the target/classes files and then running= mvn site, and it fails the same way (additional buildhelper directories no= t added to compilation path), so this issue also exists in the plugin v2.x.= Attached a debug log output, it shows that the buildhelper dirs were added= when that plugin was run under 'Source directories' but were not passed to= the javac command line when the compiler plugin was run. Running the same = under mvn install shows both sourcepath values passed to the javac compiler= . I'm hoping there's a simple solution to this, otherwise I'll build the SN= APSHOT version of the compiler-plugin and attempt to troubleshoot (probably= easier than duplicating the problem in a very small project). Because it i= s such a large project, I have to run the install phase separately from the= site phase (memory constraints). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira