[ 
https://issues.apache.org/jira/browse/SM-5529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aristide updated SM-5529:
-------------------------
    Description: 
looking inside the pom file, there's an imported package with :  


{code:java}
com.google.inject;version="[3,4)"{code}

But the dependency declared is 4.0, *plus* if i check the artifact 
*com.google.inject/guice* it exports its package with {*}"1.3" not "3.0"{*}. 
This is the part of the manifest of {*}com.google.inject/guice/3.0{*}:


{code:java}
Export-Package: com.google.inject.matcher;version="1.3",com.google.inj
ect.name;version="1.3",com.google.inject.spi;version="1.3",com.google
.inject.binder;version="1.3",com.google.inject.util;version="1.3",com
.google.inject;version="1.3" {code}
 

  was:
looking inside the pom file, there's an imported package with : , 
com.google.inject;version="[3,4)".
but the dependency declared is 4.0, plus if i check the artifact 
com.google.inject/guice it exports its package with "1.3" not "3.0". This is 
the part of the manifest of com.google.inject/guice/3.0:
Export-Package: com.google.inject.matcher;version="1.3",com.google.inj
ect.name;version="1.3",com.google.inject.spi;version="1.3",com.google
.inject.binder;version="1.3",com.google.inject.util;version="1.3",com
.google.inject;version="1.3"


> Wrong import package of com.google.inject in 
> servicemix-bundles/hadoop-client-3.3.5/pom.xml
> -------------------------------------------------------------------------------------------
>
>                 Key: SM-5529
>                 URL: https://issues.apache.org/jira/browse/SM-5529
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: bundles
>            Reporter: Aristide
>            Priority: Critical
>
> looking inside the pom file, there's an imported package with :  
> {code:java}
> com.google.inject;version="[3,4)"{code}
> But the dependency declared is 4.0, *plus* if i check the artifact 
> *com.google.inject/guice* it exports its package with {*}"1.3" not "3.0"{*}. 
> This is the part of the manifest of {*}com.google.inject/guice/3.0{*}:
> {code:java}
> Export-Package: com.google.inject.matcher;version="1.3",com.google.inj
> ect.name;version="1.3",com.google.inject.spi;version="1.3",com.google
> .inject.binder;version="1.3",com.google.inject.util;version="1.3",com
> .google.inject;version="1.3" {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to