Hi,

I submitted a patch for this one. Can we close this if it looks good?

Cheers
Rahul

----- Original Message ----- From: "John Casey (JIRA)" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 24, 2005 4:49 PM
Subject: [jira] Moved: (ARCHETYPE-16) archetype-plugin copies sub-packaged source template files into wrong location


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

John Casey moved MNG-1480 to ARCHETYPE-16:
------------------------------------------

      Version:     (was: 2.0)
   Complexity:   (was: Novice)
          Key: ARCHETYPE-16  (was: MNG-1480)
      Project: Maven Archetype  (was: Maven 2)

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



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

Reply via email to