Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I pass in Properties from ant into maven?

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?

0 votes



One answer

Permanent link
You can pass properties to Maven via -D on the command line.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 562
× 63
× 45

Question asked: Dec 18 '13, 9:45 a.m.

Question was seen: 5,349 times

Last updated: Dec 18 '13, 4:02 p.m.

Confirmation Cancel Confirm