<execution>
<phase>package</phase>
<configuration>
- <tasks>
+ <target>
<delete dir="${project.build.directory}/appbundle" />
<mkdir dir="${project.build.directory}/appbundle" />
<copy todir="${project.build.directory}/appbundle">
<arg value="-yes"/>
<arg value="${project.build.directory}/${project.artifactId}_${project.version}_with_jre.dmg"/>
</exec>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>