It's all about the answers!

Ask a question

How can I pass in Properties from ant into maven?


chung Lin (1036) | asked Dec 18 '13, 9:45 a.m.
retagged Dec 18 '13, 4:02 p.m. by David Lafreniere (4.0k7)
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.0k3233) | 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.