Extracting values from the effective POM

The plugin processes the POM file as is.  If your POM extends from a parent POM, the plugin will not resolve the effective POM.  If you need values from the effective POM, you can use the Maven help plugin to generate the effective POM and then have this plugin extract values from the effective POM.

mvn help:effective-pom -Doutput effective-pom.xml