Provided scope included in transitive dependency resolution
-----------------------------------------------------------

                 Key: BUILDR-606
                 URL: https://issues.apache.org/jira/browse/BUILDR-606
             Project: Buildr
          Issue Type: Bug
          Components: Dependency management
    Affects Versions: 1.4.6
         Environment: OS X Lion

Java 1.6.0_26 (64 bit Hotspot)
Ruby 1.9.2
Jruby 1.6.3

            Reporter: Julio Arias
            Priority: Critical
             Fix For: 1.4.7


The provided scope is include when resolving dependencies.

I found this bug while migrating one of our company Java projects from maven to 
buildr

The project depends on org.springframework:spring-web:jar:3.0.5.RELEASE and 
other Spring artifacts and all its provided dependencies where been added to 
the compile classpath, this is not the same behavior as maven where those are 
excluded.

Here is the print of the compile dependencies for the attached build file.

~/.m2/repository/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar
~/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
~/.m2/repository/portlet-api/portlet-api/1.0/portlet-api-1.0.jar
~/.m2/repository/commons-digester/commons-digester/2.0/commons-digester-2.0.jar
~/.m2/repository/commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar
~/.m2/repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar
~/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar
~/.m2/repository/org/springframework/spring-core/3.0.5.RELEASE/spring-core-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-asm/3.0.5.RELEASE/spring-asm-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-context/3.0.5.RELEASE/spring-context-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-aop/3.0.5.RELEASE/spring-aop-3.0.5.RELEASE.jar
~/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
~/.m2/repository/org/springframework/spring-beans/3.0.5.RELEASE/spring-beans-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-aspects/3.0.5.RELEASE/spring-aspects-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-context-support/3.0.5.RELEASE/spring-context-support-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-test/3.0.5.RELEASE/spring-test-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-tx/3.0.5.RELEASE/spring-tx-3.0.5.RELEASE.jar
~/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar
~/.m2/repository/org/springframework/spring-jdbc/3.0.5.RELEASE/spring-jdbc-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-orm/3.0.5.RELEASE/spring-orm-3.0.5.RELEASE.jar
~/.m2/repository/org/springframework/spring-web/3.0.5.RELEASE/spring-web-3.0.5.RELEASE.jar
~/.m2/repository/javax/portlet/portlet-api/2.0/portlet-api-2.0.jar
~/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
~/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar
~/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar
~/.m2/repository/activation/activation/1.0.2/activation-1.0.2.jar
~/.m2/repository/org/springframework/spring-webmvc/3.0.5.RELEASE/spring-webmvc-3.0.5.RELEASE.jar
~/.m2/repository/javax/el/el-api/1.0/el-api-1.0.jar
~/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
~/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
~/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to