Optional dependencies of dependencies are beeing ignored
--------------------------------------------------------

                 Key: MECLIPSE-274
                 URL: http://jira.codehaus.org/browse/MECLIPSE-274
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: dependency resolution
            Reporter: Francois Fernandes


If a projects depends on a artifact that has optional dependencies, these 
optional dependencies are beeing ignored by the plugin.

Reproducing is easy:

{code:xml}
<dependencies>
        <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jmx</artifactId>
                <version>2.0.4</version>
        </dependency>
</dependencies>
{code}

The spring-jmx has a optional dependency to spring-aop which isn't included as 
a project dependency inside the eclipse project. As the spring-aop artifact is 
not beeing excluded explicitly it should be included as a dependency into the 
eclipse project

-- 
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

        

Reply via email to