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 AEBCEC391 for ; Sat, 6 Jul 2013 15:25:39 +0000 (UTC) Received: (qmail 65676 invoked by uid 500); 6 Jul 2013 15:25:38 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 65496 invoked by uid 500); 6 Jul 2013 15:25:34 -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 65486 invoked by uid 99); 6 Jul 2013 15:25:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jul 2013 15:25:30 +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 [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jul 2013 15:25:26 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 0642CB104F for ; Sat, 6 Jul 2013 10:25:06 -0500 (CDT) Date: Sat, 6 Jul 2013 10:25:06 -0500 (CDT) From: "marc schipperheyn (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MECLIPSE-443) Only include **/*.java in Java source directories MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MECLIPSE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=328103#comment-328103 ] marc schipperheyn commented on MECLIPSE-443: -------------------------------------------- This fix has a really annoying side effect of force including **/*.java on src/main/resources folders every time you maven-update the project. I haven't been able to turn this off by specifying **/src/main/resources/**/* in the configuration of the plugin. > Only include **/*.java in Java source directories > ------------------------------------------------- > > Key: MECLIPSE-443 > URL: https://jira.codehaus.org/browse/MECLIPSE-443 > Project: Maven 2.x Eclipse Plugin > Issue Type: Improvement > Affects Versions: 2.5.1 > Reporter: Michael Johns > Assignee: Barrie Treloar > Priority: Minor > Fix For: 2.6 > > Attachments: MECLIPSE-443.2.patch, MECLIPSE-443.patch > > > Since Maven only recognizes *.java files in Java source directories (src/main/java, or src/test/java, for example), it would be nice if the plugin produced .classpath files configured the same way. Right now, a developer can inadvertently leave a non-Java resource in one of those directories, and everything will work fine in Eclipse. But when the time comes to produce a package, that artifact will be missing since Maven won't pick it up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira