[ http://jira.codehaus.org/browse/MNG-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-1936. ----------------------------- Assignee: Brett Porter Resolution: Duplicate Fix Version/s: (was: 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 > Issue Type: Improvement > Components: Design, Patterns & Best Practices > Reporter: Jason van Zyl > Assignee: Brett Porter > > 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