Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
For mojo parameters which have default values in the POM but can be overriden we should have a standard way of doing this:
/**
- Directory containing the generated JAR.
* - @parameter expression="${outputDirectory}" default-value="${pom.build.outputDirectory}"
- @required
*/
private File outputDirectory;
So there is a short name which can be overriden in a POM configuration or the command line (outputDirectory), but if not specified we'll fall back to the standard recommended value in the POM. There is some inconsistencies in a lot of the plug-ins with respect to this.