Maven Archetype

resources file don't copy to the proper location

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Generator
  • Labels:
    None
  • Environment:
    Win XP

    Eclipse
    Version: 3.4.0
    Build id: I20080617-2000
  • Number of attachments :
    0

Description

I make an archetype plugin.
when I use maven in command line my resources file will locate as
package structure with archetype:generate but archetype:create will not.

I test it in eclipse with m2e plugin, files in the resources are all in
the root directory of resources. how do I make it locate as package
structure ?

Issue Links

Activity

Hide
Ching Yi, Chan added a comment -

I issue it on maillist,

Eugene suggested I can post problem here

[quote]
m2eclipse actually is not calling either of those goals. It is directly
working with archetype-common component.

Please report issue about resources to the Archetype project at
http://jira.codehaus.org/browse/ARCHETYPE

regards,
Eugene
[/quote]

Show
Ching Yi, Chan added a comment - I issue it on maillist, Eugene suggested I can post problem here [quote] m2eclipse actually is not calling either of those goals. It is directly working with archetype-common component. Please report issue about resources to the Archetype project at http://jira.codehaus.org/browse/ARCHETYPE regards, Eugene [/quote]
Hide
Wendy Smoak added a comment -

Possible duplicate of ARCHETYPE-65 (Restore the ability to "package" non-Java resources)

I commented there to see whether it was intentional to leave the archetype:create behavior alone and only fix it in the new archetype:generate goal.

Show
Wendy Smoak added a comment - Possible duplicate of ARCHETYPE-65 (Restore the ability to "package" non-Java resources) I commented there to see whether it was intentional to leave the archetype:create behavior alone and only fix it in the new archetype:generate goal.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: