OSDN Git Service

Maven Ant Pluginのtaskをtargetに変更
authorseraphy <seraphy@users.osdn.me>
Thu, 17 Jan 2019 00:58:50 +0000 (09:58 +0900)
committerseraphy <seraphy@users.osdn.me>
Thu, 17 Jan 2019 00:58:50 +0000 (09:58 +0900)
pom.xml

diff --git a/pom.xml b/pom.xml
index 557205e..34cf2c2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                        <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>