Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 60034 invoked from network); 26 Mar 2008 13:09:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 13:09:28 -0000 Received: (qmail 34864 invoked by uid 500); 26 Mar 2008 13:09:27 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 34557 invoked by uid 500); 26 Mar 2008 13:09:26 -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 34546 invoked by uid 99); 26 Mar 2008 13:09:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 06:09:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS 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; Wed, 26 Mar 2008 13:08:47 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 86E7E14A8046 for ; Wed, 26 Mar 2008 08:08:58 -0500 (CDT) Message-ID: <3704039.1206536938550.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 26 Mar 2008 08:08:58 -0500 (CDT) From: "thomas bruyelle (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (ARCHETYPE-152) sources in archetype.xml will not work outside of src/main/java dir. In-Reply-To: <6907659.1206394858432.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/ARCHETYPE-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128672#action_128672 ] thomas bruyelle commented on ARCHETYPE-152: ------------------------------------------- archetype.xml is obsolete in version 2.0 isn't it ? Now plugin use archetype-metadata.xml in the same directory > sources in archetype.xml will not work outside of src/main/java dir. > -------------------------------------------------------------------- > > Key: ARCHETYPE-152 > URL: http://jira.codehaus.org/browse/ARCHETYPE-152 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes > Affects Versions: 2.0-alpha-2 > Environment: MacOSX and WindowsXP > Reporter: Zemian Deng > > If source is not in src/main/java with ".java" files, the or elements in META-INF/archetype.xml will cause errors of "files not found" when run. This used to work on 1.0-alpha-7. > Example of failed Testcase in the META-INF/archetype.xml file: > > src/main/scala/App.scala > > > src/test/scala/AppTest.scala > -- 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