You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/03 13:25:45 UTC

[jira] Closed: (ARCHETYPE-16) archetype-plugin copies sub-packaged source template files into wrong location

     [ http://jira.codehaus.org/browse/ARCHETYPE-16?page=all ]
     
Brett Porter closed ARCHETYPE-16:
---------------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

> archetype-plugin copies sub-packaged source template files into wrong location
> ------------------------------------------------------------------------------
>
>          Key: ARCHETYPE-16
>          URL: http://jira.codehaus.org/browse/ARCHETYPE-16
>      Project: Maven Archetype
>         Type: Bug

>  Environment: WindowsXP, Sun JDK1.4.2_08, Maven2.0
>     Reporter: YOKOTA Takehiko
>     Assignee: Brett Porter
>  Attachments: MNG-1480.diff, 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