This will require some changes to the pom.
<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>
Of course, the easiest way to run
echo $MAVEN_OPT
sblundy
source share