[
https://issues.apache.org/jira/browse/KARAF-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154855#comment-16154855
]
Guillaume Nodet commented on KARAF-5340:
----------------------------------------
The following call is also suspicious:
https://github.com/apache/karaf/blob/master/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java#L218
However, I think both work because of
https://github.com/apache/karaf/blob/master/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/LocalDependency.java#L48-L50
The code could certainly be enhanced though...
> A "Set<LocalDependency>" cannot contain a "Artifact" in Depenency31Helper
> -------------------------------------------------------------------------
>
> Key: KARAF-5340
> URL: https://issues.apache.org/jira/browse/KARAF-5340
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 4.1.2
> Reporter: Aurélien Pupier
> Attachments: screenshot-1.png
>
>
> a check if a Set<LocalDependency> is containing an Artifact is done, it will
> always return false!
> !screenshot-1.png!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)