I am working on a JAVA project that is Ant based and I need to make it Mule enabled so that I can implement RAML based web-service in this. And to make it Mule enabled, I have collected number of jars required and finally Mule flow is working fine. But, using any different Mule component requires further dependencies hence, it is becoming difficult to collect all those every time and then I thought to Mavenize my project first but that I am not allowed to do. So, I need to know that is there any way I can use POM.xml together with Ant or any other way so that I don't need to collect required jars rather it get managed automatically.
Asked
Active
Viewed 66 times
2 Answers
2
I haven't used it yet but for Ant there is Ivy which can work with Maven Central. Maybe it can help in your situation as well.

Puce
- 37,247
- 13
- 80
- 152
-
And here's an example ivy project: http://stackoverflow.com/questions/15979391/class-not-found-with-ant-ivy-and-junit-error-in-build-xml/15982144#15982144 – Mark O'Connor Nov 16 '15 at 21:29
-
Hi Puce, thanks for replying quickly. I have started researching on it and till now I haven't completed what I wanted actually but it seems promising. Well, I am towards the result and may be I can come up with further problems... :) – Sanni Nov 17 '15 at 11:21
0
You won't be needing pom.xml unless you mavenise your project but you can use Apache IVY to do the dependency management. You can maintain an ivy.xml file and let your ant script include its execution while building the project. You can also have a ivy settings.xml to take care of patterns/locations.
-Shanky G.

Shanky_Gupta
- 250
- 2
- 14
-
Thank you Shanky, Actually I am working in the same way as you have suggested. And right now I am dealing with the ivysettings.xml because it looks like very important because several aspects has enforced me to look into it. – Sanni Nov 23 '15 at 05:19