I would like to find out the values of all Maven properties as they apply to some Maven project.
mvn help:system
lists OS environment variables and
As a workaround, add this to the
section inside your project's pom.xml
:
org.apache.maven.plugins
maven-antrun-plugin
1.7
validate
run
Now execute mvn validate
.
On the console, prefixed with [echoproperties]
, there will be the full list of system properties, including those set by Maven such as project.build.outputDirectory
, basedir
, and settings.localRepository
.