mavenmaven-3

Where does ${basedir} variable in pom.xml directs to?


Where does ${basedir} directs to? Does this variable directs to path where pom.xml file is in?


Solution

  • Explanation can be read in here: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Available_Variables

    As per description: "The directory that the current project resides in."