Have you tried putting the taskdef inside the target that needs it? E.g.
<target name="x">
<taskdef name="xjc"
classname="com.sun.tools.xjc.XJCTask"
classpathref="maven.dependency.classpath" />
<xjc
schema="${src.loc}/main/resources/TestScript.xsd"
target="src/main/java/"
package="com.avaya.automation.testscripts" />
</target>
--
View this message in context:
http://www.nabble.com/pom-dependences-on-the-antrun-plugin-tf2822307s177.html#a7878788
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]