[ http://jira.codehaus.org/browse/MNG-1480?page=all ]

Rahul Thakur updated MNG-1480:
------------------------------

    Attachment: MNG-1480.diff

Submitted patch to fix this issue.

Any extra directories other than the default ones should now get created in 
correct order, that is - after appropriate package structure has been created.


> 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: 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to