you can reference an external build file within the ant-run plugin, so
something like:
..
<ant antfile="${basedir}/build.xml">
<target name="test"/>
</ant>
..
taken from the second example
http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html
chances are that in your case:
-the two separate builds are required to build the overall project,
and maybe they didn't have time to migrate certain parts of the ant
build to maven
or
-the maven build references the ant one and invokes it
and/or
-the ant is used for something other than an actual build (ant is
still a great tool for other stuff)
On Wed, Jul 14, 2010 at 1:37 PM, benxs <[email protected]> wrote:
>
>>maven/POMs can make use of ant build scripts, so be wary of this
>>scenario; it is fairly common to use ant via maven
>
> Thank you. But how do I find out if a pom.xml uses a build.xml in the same
> directory?
>
> Do I have to search for a
> <include>build.xml</include>
> or a
> <call>build.xml</call>
>
> statement in pom.xml?
>
> Ben
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Relationsship-pom-xml-and-build-xml-from-Ant-tp1092912p1092935.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]