Hi,

I want to execute a Ant build script but none of the properties are found
when using Mavens antrun-plugin. If I run the script using Ant the first
property is displayed correctly. Is this a known bug or am I doing something
wrong?

<?xml version="1.0"?>
<project name="movlan-server" default="test">
    <target name="test">
        <echo message="${os.name}"/>
        <echo message="${project.build.directory}"/>
    </target>
</project>

The POM plugin part looks like this.

<ant antfile="${basedir}/src/main/misc/testbuild.xml" target="test"
inheritRefs="true"/>

I'm using:

Maven2: 2.0.2
maven-antrun-plugin: 1.1
OS: Windows 2000 and Mac OS X

Kind regards,
Roland

Reply via email to