The Maven Super POMarrow-up-right includes several default properties.
If a property contains several children they can be accessed as an array.
For example this gets the path to the first test resources directory:
${project.build.testResources[0].directory}
The following properties should be set up to match the project requirements:
Variable
Recommended value
Usage
project.build.sourceEncoding
UTF-8
Used by plugins to define the file encoding of input files
project.reporting.outputEncoding
Used by plugins to define the file encoding of output files
maven.compiler.source
1.7
Used by the compiler plugin to define the source code version
maven.compiler.target
Used by the compiler plugin to define the generated artifacts compatibility version
maven.compiler.showDeprecation
true
Shows deprecation warnings on compilation
maven.compiler.showWarnings
Shows compilation warnings on compilation
These properties have an impact in the Maven flow. Don't override them without having a good reason.
maven.test.skip
Set to true to disable tests
Last updated 6 years ago