Search code examples
mavenmaven-archetypearchetypes

Maven archetypes dynamic folder not properly generated


I've Maven Archetype with folder a structure which I want to be src/main/java/__package__/model.

So I filled that structure while defining. The issue is that maven archetype generates this resulting structure: src/main/java/com.myapp/model (notice the dot in place of the expected folder separator :( ).

Anyone's got an idea on how to resolve?

I also tried

<directory>src/main/java/__package__/model</directory>

On my fileset definition, but it doesn't help.

Thanks in advance, Charlie


Solution

  • Please use __packageInPathFormat__ instead.