Use <target> instead of deprecated <tasks> with maven-antrun-plugin

This commit is contained in:
Ville Skyttä 2015-12-21 22:30:10 +02:00 committed by Clebert Suconic
parent 8be8f16e57
commit 6c84fa4609
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
<execution>
<phase>generate-resources</phase>
<configuration>
<tasks>
<target>
<taskdef name="schemagen" classname="com.sun.tools.jxc.SchemaGenTask" />
<mkdir dir="${project.build.directory}/schema/org.apache.activemq/dto" />
<echo message="Generating XSD to: ${project.build.directory}/schema/org.apache.activemq/dto" />
@ -79,7 +79,7 @@
<copy todir="${project.build.directory}/classes">
<fileset dir="${project.build.directory}/schema" />
</copy>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>