You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The base folder for all other locations within the project.
  • ${project.basedir
    • This references to the root folder of the module/project (The location where the pom.xml file is located.)

Project Properties reference the locations which are defined in the Super POM.

  • ${project.build.directory}
    • This represents the target folder.
  • ${project.build.outputDirectory}
    • This represents the target/classes folder.
  • ${project.build.testOutputDirectory}
    • This represents the target/test-classes folder.
  • ${project.build.sourceDirectory}
    • This represents the src/main/java folder.
  • ${project.build.testSourceDirectory}
    • This represents the src/test/java folder.

 

You can use further properties like the following:

 

  • ${project.build.FinalName}
    • This is by default defined like the following {{${project.artifactId}-${project.version}. Sometimes it might be convenient to change the definition. But be aware that 
  • No labels