[ http://jira.codehaus.org/browse/MNG-1936?page=all ]
John Casey updated MNG-1936:
----------------------------
Fix Version: 2.1
> pattern: for mojo parameters which have default values in the POM we need
> standard usage
> ----------------------------------------------------------------------------------------
>
> Key: MNG-1936
> URL: http://jira.codehaus.org/browse/MNG-1936
> Project: Maven 2
> Type: Improvement
> Components: Design, Patterns & Best Practices
> Reporter: Jason van Zyl
> Fix For: 2.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira