Also, if an ant build uses the Ant Maven plugin, for example to access a dependency, the plugin will read the pom file.
<!-- Frank Gorham-Engard → "Be kinder than necessary. Everyone you work here with is fighting some kind of battle." -----Original Message----- From: Shan Syed [mailto:shan...@gmail.com] Sent: Wednesday, July 14, 2010 1:08 PM To: Maven Users List Subject: Re: Relationsship "pom.xml" and "build.xml" from Ant maven/POMs can make use of ant build scripts, so be wary of this scenario; it is fairly common to use ant via maven > So if I get a project which contains a pom.xml and a build.xml then the > developer offers to use > either Ant or Maven. If I select Maven then I can delete build.xml. If I > select Ant then I can delete pom.xml without harm. also a project can have various components that build in different ways, so again, I wouldn't make the above assumption there is no way to convert an ant build script into a maven POM, because ant scripts don't have any kind of enforced convention; it would be impossible to write such a converter On Wed, Jul 14, 2010 at 1:02 PM, benxs <bxsto...@yahoo.co.uk> wrote: > > Sorry for this Maven newbie question but I want to clarify the relationsship > between pom.xml and Ant's build.xml. > Are the following statements correct? > > pom.xml is solely Maven related > build.xml is solely Ant related > > Both do not (never) depend on each other (are e.g. included). > > So if I get a project which contains a pom.xml and a build.xml then the > developer offers to use > either Ant or Maven. If I select Maven then I can delete build.xml. If I > select Ant then I can delete pom.xml without harm. > > Is there a way to convert a build.xml into a pom.xml and vice versa? > Ok in case of pom.xml -> build.xml I would loose some functionality but this > should not be the question at this point. > > Is there such a converter? > > Thank you > Ben > -- > View this message in context: > http://maven.40175.n5.nabble.com/Relationsship-pom-xml-and-build-xml-from-Ant-tp1092912p1092912.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org