Skip to content

Instantly share code, notes, and snippets.

@mattmusc
Created December 1, 2019 15:54
Show Gist options
  • Select an option

  • Save mattmusc/7c9a86f501ddbc9faf55a224504273c5 to your computer and use it in GitHub Desktop.

Select an option

Save mattmusc/7c9a86f501ddbc9faf55a224504273c5 to your computer and use it in GitHub Desktop.
Example of Maven plugin to list all the properties
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<!-- useful to list all the properties specified -->
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echoproperties />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment