Hi!

I hope I write to the correct mailing list... ;)

I try to create an archetype (Maven version: 2.0.4), but I can't manage 
package problems.

My project contains the file
  src/main/resources/archetype-resources/src/main/java/cfg/Constants.java

which is package as java source inside archetype.xml:
  <archetype>
    <id>jsf</id>
      <sources>
        <source>src/main/java/cfg/Constants.java</source>
      </sources>

The package declaration of Constants.java looks like this:
  package ${groupId}.cfg;

I installed my archetype locally (mvn install) and create a sample project:
mvn archetype:create -DarchetypeGroupId=net.sit -DarchetypeArtifactId=jsf 
-DarchetypeVersion=0.1 -DgroupId=my.jsf.test -DartifactId=JSF

And now my Constants.java is located inside:
  src/main/java/cfg/my/jsf/test/Constants.java

Why? I expect it to be inside:
  src/main/java/my/jsf/test/cfg/Constants.java

Is this a kown issue perhaps?

Thanks for any help,
Christoph

Reply via email to