Maven antrun: pass maven properties to ant

前端 未结 3 1878
不知归路
不知归路 2021-01-07 23:20

I am trying to pass maven properties (defined through profiles) to a antrun execution:


    

        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-08 00:05

    Most properties are automatically passed along to ant, at least if you're running an inlined ant script. Some of the properties get renamed. I suggest running "mvn -X" and the antrun plugin prints a list of all the variable mappings into ant (things like basedir becomes project.basedir, etc.)

提交回复
热议问题