Use <target> instead of deprecated <tasks> with maven-antrun-plugin
This commit is contained in:
parent
8be8f16e57
commit
6c84fa4609
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue