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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -