Set plugin's property on the command line in maven 2

后端 未结 4 1286
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 23:28

In maven 2.x, how would one set a plugin\'s property on the command line instead of in the of that plugin in the pom or in settings.xml?

For exampl

4条回答
  •  盖世英雄少女心
    2021-02-06 23:48

    Usually you set maven properties using the same syntax as java system properties. Have you tried the following line?

    mvn -DuseRepositoryLayout=true dependency:copy-dependencies
    

提交回复
热议问题