You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by TOM <to...@embracesource.com> on 2014/08/13 04:40:04 UTC

hi, I just want to get help about maven archetype,please help me

I use mvn archetype:create-from-project to generate a archetype project.
and use it to generate a project

the content of archetype file UserDTO(generaged by
archetype:create-from-project)
package ${package}.${artifactId}.dto;

then i mvn archetype:generate -DarchetypeArtifactId=myapp -DgroupId=test
-DartifactId=good

then the generated UserDTO with correct package(package test.good.dto),
but it is in src/main/java/test/dto , not expected
src/main/java/test/good/dto

please help me and thank a lot