Skip to content

Instantly share code, notes, and snippets.

@spaceCamel
Created July 2, 2010 19:33
Show Gist options
  • Save spaceCamel/461803 to your computer and use it in GitHub Desktop.
Save spaceCamel/461803 to your computer and use it in GitHub Desktop.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>testMavenOpt</groupId>
<artifactId>testMavenOpt</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>testMavenOpt</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>[MAVEN_OPTIONS]${env.MAVEN_OPTIONS}</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins></build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment