Skip to content

Instantly share code, notes, and snippets.

@hasandiwan
Created December 16, 2018 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hasandiwan/292e40abfbdd9798917e0470486d36d3 to your computer and use it in GitHub Desktop.
Save hasandiwan/292e40abfbdd9798917e0470486d36d3 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
<phase>package</phase>
<configuration>
<target>
<java classname="hello.GistMap">
<classpath>
<path id="classpath">
<fileset dir="/Users/owner/.m2/repository">
<include name="**/*.jar" />
</fileset>
</path>
<pathelement location="target/classes" />
</classpath>
</java>
</target>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment