Show / display a property of a Maven pom.xml

mvn help:evaluate -Dexpression=maven.compiler.source
where maven.compiler.source is defined in the corresponding pom.xml as
<properties>
    <maven.compiler.source>1.8</maven.compiler.source>
</properties>

is going to show
...
[INFO] 
1.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
...

Comments

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

Java 8: Default Interface Implementations, The Diamond Problem, Multiple Inheritance, and Precedence

Tuning ext3 for performance without losing its data integrity potential