Description
Currently targetJdk has to be defined separately from maven.compiler.target property that most plugins already default to, so target JDK information is unnecessarily repeated, making POMs with maven-pmd-plugin less DRY, harder to maintain, prone to mistakes and unwanted behavior.
So, please make targetJdk default to maven.compiler.target property.
Attached is MPMD-170.patch which adds this behavior.
Attachments
Attachments
Issue Links
- is duplicated by
-
MPMD-194 Set ${maven.compiler.target} as the default value for targetJdk parameter
- Closed
- relates to
-
MPMD-245 targetJdk property should use maven.compiler.source by default
- Closed
-
MJAVADOC-310 compiler plugin settings aren't inherited from parent for linking Java API links
- Closed
-
MPIR-263 improve minimum java requirement when m-compiler-p not explicitely configured: use default properties
- Closed