It's all about the answers!

Ask a question

How can I pass in Properties from ant into maven?


chung Lin (1046) | asked Dec 18 '13, 9:45 a.m.
retagged Dec 18 '13, 4:02 p.m. by David Lafreniere (4.8k7)
We want to trigger Maven by using Invoke Ant, however the build fails because we didn't pass in the properties into the maven. Does anyone knows how to pass in the properties into Maven?

One answer



permanent link
Jeff Care (1.0k3833) | answered Dec 18 '13, 3:28 p.m.
You can pass properties to Maven via -D on the command line.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.