maven - mvn archetype:create-from-project -DoutputDirectory -
i'm creating archetype project , i'm running that:
mvn archetype:create-from-project -doutputdirectory=../archetype maven didn't generate code in ../archetype. know how resolve this?
the documentation of outputdirectory parameter of create-from-project goal not define user property. therefore, maven-archetype-plugin ignoring whatever value set -doutputdirectory , keeps default value, ${project.build.directory}/generated-sources/archetype.
you should create improvement request @ their jira , maybe submit patch: should not difficult add user property this. looking source code, should needed add property attribute @parameter annotation.
Comments
Post a Comment