Skip to content

Instantly share code, notes, and snippets.

@johnament
Created September 21, 2014 15:50
Show Gist options
  • Save johnament/4156e690feb35044e91d to your computer and use it in GitHub Desktop.
Save johnament/4156e690feb35044e91d to your computer and use it in GitHub Desktop.
Example config for exec plugin.
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution><!-- apply patch to WildFly 8.1 -->
<id>prep-patch</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/${cli.app}</executable>
<arguments>
<argument>${jb.out.dir}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment