You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Stephen Duncan Jr (JIRA)" <ji...@codehaus.org> on 2006/01/03 21:23:12 UTC

[jira] Commented: (MNG-1557) Dependency Ignored

    [ http://jira.codehaus.org/browse/MNG-1557?page=comments#action_54800 ] 

Stephen Duncan Jr commented on MNG-1557:
----------------------------------------

I think I've been able to determine the source of this problem, now that it's happened on another project.  Will verify on original problem project tomorrow.

Here's the situation.  The dependency being ignored is taglibs:standard.  I also have a depedency on org.springframework:spring-web.  The details of these dependencies are specified in a parent POM's dependencyMangament section.  The spring-web dependency specified an exclusion of taglibs:standard.

Removing that exclusion allows things to work as expected.

This is still a bug though, right?  An exclusion of a transitive dependency shouldn't prevent me from directly depending on it.

> Dependency Ignored
> ------------------
>
>          Key: MNG-1557
>          URL: http://jira.codehaus.org/browse/MNG-1557
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0
>  Environment: Fedora Core 4
>     Reporter: Stephen Duncan Jr
>      Fix For: 2.0.3
>  Attachments: debug-output.txt, effective-pom.txt
>
>
> A typical dependency (with version, scope, and exclusions set by parent POM via dependency management) shows up in the effective pom and the exported pom.  However, it does not show up in the dependency tree in the debug output of an attempt to package the project, it doesn't show up in the resulting war (which it should by it's scope of runtime), and if it's deleted from the local repository, Maven does not attemtp to download it.  Other project with this dependency specified the same way, with the same parent, download the dependency, and work as expected.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org