You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/06/28 18:18:00 UTC
[jira] [Created] (KARAF-5229) The download manager may generate
wrong jar with custom urls
Guillaume Nodet created KARAF-5229:
--------------------------------------
Summary: 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
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)