Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 2.5
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
in the documentation and plugin descriptor the outputDirectory config element is marked as mandatory. But since there is a default value of ${project.build.outputDirectory} this element is not really mandatory. Other configuration elements with the same default value semantics are not marked as mandatory so i think for outputDirectory the same semantics should be applied.
this is especially troublesome for ideas that try to assist in maven configuration and rely on the plugin descriptor to figure out if elements are mandatory or not. See http://youtrack.jetbrains.net/issue/IDEA-80626
Mandatory has nothing to do with default values. If you empty a mandatory parameter, the build should fail.