Maven Archetype

Support excluding files from to-be-created archetype

Details

  • Type: Wish Wish
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0-alpha-4
  • Fix Version/s: None
  • Component/s: Creator
  • Labels:
    None
  • Number of attachments :
    1

Description

Please support configuration option for archetype:create-from-project mojo to exclude ((eclipse) IDE specific) files and directories (like .project, .classpath, .settings, .svn) when creating an archetype.

Activity

Hide
Jordan Zimmerman added a comment -

FYI - I've implemented support for this in a forked version of the plugin at: https://github.com/Randgalt/Maven-Archetype

Show
Jordan Zimmerman added a comment - FYI - I've implemented support for this in a forked version of the plugin at: https://github.com/Randgalt/Maven-Archetype
Hide
Ryan Connolly added a comment -

Jordan: Just curious why you opted to fork this instead of contributing a patch to this project?

Show
Ryan Connolly added a comment - Jordan: Just curious why you opted to fork this instead of contributing a patch to this project?
Hide
Guillaume Boucherie added a comment - - edited

I just add a patch for this case.
Its add a property archetypeExcludedPatterns to the mojo, this value will be used by FilesetArchetypeCreator in resolveFileNames in addition to default exclude patterns.

Show
Guillaume Boucherie added a comment - - edited I just add a patch for this case. Its add a property archetypeExcludedPatterns to the mojo, this value will be used by FilesetArchetypeCreator in resolveFileNames in addition to default exclude patterns.

People

Vote (3)
Watch (4)

Dates

  • Created:
    Updated: