[ http://jira.codehaus.org/browse/MNG-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed MNG-2997. -------------------------- Assignee: Brian Fox Resolution: Fixed Already in the docs: {noformat} * <Optional dependencies> - If project Y depends on project Z, the owner of project Y can mark project Z as an optional dependency, using the "optional" element. When project X depends on project Y, X will depend only on Y and not on Y's optional dependency Z. The owner of project X may then explicitly add a dependency on Z, at her option. (It may be helpful to think of optional dependencies as "excluded by default.") {noformat} AFAIK, optional has nothing to do with scope, only transitivity of consumers of your project. > Dependency mechanism page should describe the 'optional' element > ---------------------------------------------------------------- > > Key: MNG-2997 > URL: http://jira.codehaus.org/browse/MNG-2997 > Project: Maven 2 > Issue Type: Improvement > Components: Documentation: Introductions > Affects Versions: 2.0.6 > Reporter: Wendy Smoak > Assignee: Brian Fox > Priority: Minor > Fix For: Documentation Deficit > > > The introduction-to-dependency-mechanism page should explain how the > 'optional' element combines with the 'scope' element. > http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -- 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