Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: pom. prefix more strongly deprecated

...

  • ${basedir} represents the directory containing pom.xml
  • ${version} equivalent to ${project.version} or (deprecated: ${pom.version})

Pom/Project properties

All elements in the pom.xml, can be referenced with the project. prefix or using pom. as prefix. This list is just an example of some commonly used elements. (deprecated: {pom.} prefix)

  • ${project.build.directory} results in the path to your "target" dirdirectory, this is the same as ${pom.project.build.directory}
  • ${project.build.outputDirectory} results in the path to your "target/classes" dirdirectory
  • ${project.name} or ${pom.name} refers to the name of the project .(deprecated: ${projectpom.versionname} or ).
  • ${pomproject.version} refers to the version of the project (deprecated: or ${pom.version}).
  • ${project.build.finalName} refers to the final name of the file created when the built project is packaged

...