Maven Archetype

Cannot define sources elsewhere than in src/main/java

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: 2.0-alpha-4
  • Fix Version/s: None
  • Component/s: Generator
  • Labels:
    None
  • Environment:
    Observed on Ubuntu (Affects all?)
  • Number of attachments :
    0

Description

I have additional sources & resources in src/setup/*, but project generation complains as this path is not recognized as a standard one...

It is very fustrating to be limited to src/main, as the main reason for defining a custom archetype is to have custom layout.

Activity

Hide
Herve Boutemy added a comment -

it seems you're using Archetype 1.0.x: see Archetype 1.0.x Descriptor

Archetype 2 doesn't have this limitation: see Archetype Descriptor

Show
Herve Boutemy added a comment - it seems you're using Archetype 1.0.x: see Archetype 1.0.x Descriptor Archetype 2 doesn't have this limitation: see Archetype Descriptor

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: