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


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