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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -