Skip to end of metadata
Go to start of metadata

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<configuration>
<!--tasks unless="maven.test.skip">
<echo message="To skip me, just call mvn -Dmaven.test.skip=true"/>
</tasks-->
<tasks>
<taskdef
resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.plugin.classpath"/>

<delete file="$

Unknown macro: {wsm.jboss.server}

/deploy/$

Unknown macro: {build.finalName}

.war"/>
<delete dir="$

/deploy/$

Unknown macro: {build.finalName}

.war"/>

<if>
<isset property="unpacked"/>
<then>
<mkdir dir="$

Unknown macro: {wsm.jboss.server}

/deploy/$

.war"/>
<copy todir="$

Unknown macro: {wsm.jboss.server}

/deploy/$

Unknown macro: {build.finalName}

.war">
<fileset dir="$

Unknown macro: {project.build.directory}

/$

"/>
</copy>
</then>
<else>
<copy todir="$

/deploy">
<fileset dir="$

Unknown macro: {project.build.directory}

"
includes="$

Unknown macro: {build.finalName}

.war"/>
</copy>
</else>
</if>
</tasks>

</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>

  • No labels