Maven antrun Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * The Assembly Plugin http://maven.apache.org/plugins/maven-antrun-plugin =Internal= * Maven =Overview= <pre> </pre>")
 
 
Line 10: Line 10:


<pre>
<pre>
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-antrun-plugin</artifactId>
    <version>1.8</version>
    <dependencies>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.7.0</version>
        </dependency>
    </dependencies>
    <executions>
        <execution>
            <phase>generate-test-resources</phase>
            <configuration>
                <tasks>
                    <mkdir dir="${test.scratch.directory}" />
                </tasks>
            </configuration>
            <goals>
                <goal>run</goal>
            </goals>
      </execution>
  </executions>
</plugin>
</pre>
</pre>

Latest revision as of 20:44, 19 April 2017

External

Internal

Overview

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-antrun-plugin</artifactId>
    <version>1.8</version>
    <dependencies>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.7.0</version>
        </dependency>
    </dependencies>
    <executions>
        <execution>
            <phase>generate-test-resources</phase>
            <configuration>
                 <tasks>
                     <mkdir dir="${test.scratch.directory}" />
                 </tasks>
            </configuration>
            <goals>
                <goal>run</goal>
            </goals>
       </execution>
   </executions>
</plugin>