InterviewSolution
Saved Bookmarks
| 1. |
How would you refer to a property declared in your pom.xml file? |
|
Answer» In order to refer to a property declared in your pom.xml, the property name MAKES use of the names of the XML COMPONENTS that designate the VALUE, with "pom" being ACCEPTED as a synonym for the project (root) element. So ${pom.name} is the project's name, ${pom.version} is the project's version, ${pom.build.finalName} is the final name of the file generated when the built project is PACKAGED, and so on. |
|