[ https://issues.apache.org/jira/browse/KARAF-5229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-5229. ------------------------------------ Resolution: Fixed Assignee: Guillaume Nodet Fix Version/s: 4.2.0 > The download manager may generate wrong jar with custom urls > ------------------------------------------------------------ > > Key: KARAF-5229 > URL: https://issues.apache.org/jira/browse/KARAF-5229 > Project: Karaf > Issue Type: Bug > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Fix For: 4.2.0 > > > If you deploy a jar such as {{wrap:mvn:xxx}} and later change the URL to > deploy {{wrap:mvn:xxx$wrap-instructions}} or if you change the instructions, > the first jar is returned early. > The cause is the check at > > https://github.com/apache/karaf/blob/master/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/SimpleDownloadTask.java#L63-L66 > where the name of the computed file is always the same. -- This message was sent by Atlassian JIRA (v6.4.14#64029)