Is it possible to manage a project by both Ant and Maven?
Can those two coexist for th开发者_如何学JAVAe same project?
The simple answer is YES, you can do that
Suggestion: Doing that is like constructing the same building using two different mechanisms and machines. It is better to choose which one would suit you the best after experimenting with it and discard one of them to avoid a maintenance overhead.
Yes , but why would you do that to yourself? Basically , they won't bother each other , so you can have the pom.xml of maven + a build file for ant , and maintain the dependencies for each one manually - but how does it serves you to have both of them? IMHO , everything you can do with ant , you can do with maven
精彩评论