You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rahul Thakur (JIRA)" <ji...@codehaus.org> on 2005/11/20 05:50:06 UTC
[jira] Updated: (MNG-1480) archetype-plugin copies sub-packaged source template files into wrong location
[ http://jira.codehaus.org/browse/MNG-1480?page=all ]
Rahul Thakur updated MNG-1480:
------------------------------
Attachment: Sample-archetype.zip
Sample Test archetype testcase to mimick this scenario.
To use :
a) extract the zip (should get extracted as an Eclipse Project)
b) run 'mvn clean install' from the directory extracted to and from command prompt
Patch follows...
> archetype-plugin copies sub-packaged source template files into wrong location
> ------------------------------------------------------------------------------
>
> Key: MNG-1480
> URL: http://jira.codehaus.org/browse/MNG-1480
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Environment: WindowsXP, Sun JDK1.4.2_08, Maven2.0
> Reporter: YOKOTA Takehiko
> Attachments: Sample-archetype.zip
>
>
> When generating project skelton using archetype-plugin and a custom archetype which has
> sub-packaged source template files, the plugin copies the source template files into wrong
> location.
> For example, let a custom archetype have the following source template files:
> archetype-resources/src/main/java/App.java
> archetype-resources/src/main/java/impl/AppImpl.java
> I expect the source files copied as the following:
> PROJECTTOP/src/main/java/PACKAGE/App.java
> PROJECTTOP/src/main/java/PACKAGE/impl/AppImpl.java
> But the actual result is like the following:
> PROJECTTOP/src/main/java/PACKAGE/App.java
> PROJECTTOP/src/main/java/impl/PACKAGE/AppImpl.java
> AFAIK, Maven1.x's genapp plugin behaves like I expect. Can you fix the behavior If possible?
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org