0
Is it possible to refer a property defined in your pom.xml file?

Open 1 Answers 4 Views Technology
Is it possible to refer a property defined in your pom.xml file?

1 Answer

0
To refer a property that is defined in your pom.xml, the property name uses the names of the XML elements that define the value, with “pom” being allowed as an alias for the project element i.e root.

So ${pom.name} points to the name of the project, ${pom.version} refers to the project version, ${pom.build.finalName} refers to the final name of the file created during the built project packaging etc.
by (53.7k points)
...