I create an artifact with the following archetype.xml:
<archetype>
<id>simple</id>
<sources>
<source>src/main/java/App.java</source>
</sources>
</archetype>
And now and I using it to create a new project,
mvn archetype:create
-DarchetypeGroupId=myarchetype
-DarchetypeArtifactId=myarchetype
-DarchetypeVersion=1.0
-DgroupId=my.cc
-DartifactId=cc
And see that the directory
"src/main/java/App.java" change to "src/main/java/my/cc/App.java" in the
final project directory. The new directory struture, now have the groupId
before App.java!!
I want to know if this is right behavior: to put all my default package
struture after the project groupId ?
--
View this message in context:
http://www.nabble.com/-M2--Creating-archetype-default-directoy-tf2193554.html#a6070532
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]