in Maven - Coalescing Pipeline by (14.5k points)
Is it possible to refer a property defined in your pom.xml file?

1 Answer

0 votes
by (14.5k points)
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.

Related questions

+1 vote
asked Oct 25, 2021 in Maven - Coalescing Pipeline by Robin (14.5k points)
...