Yes, but why do you need to do this? In principle, they will not interfere with each other, so you can have the pom.xml of the maven + build file for ant and maintain the dependencies for each of them manually, but how do you manage it? IMHO, everything you can do with ant, you can do with maven
source share