You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "thomas bruyelle (JIRA)" <ji...@codehaus.org> on 2008/03/26 14:08:58 UTC
[jira] Commented: (ARCHETYPE-152) sources in archetype.xml will not
work outside of src/main/java dir.
[ 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 <sources> or <testSources> 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:
> <sources>
> <source>src/main/scala/App.scala</source>
> </sources>
> <testSources>
> <source>src/test/scala/AppTest.scala</source>
> </testSources>
--
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