You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/24 21:25:11 UTC

[jira] [Commented] (KARAF-4145) KAR is created with defect maven metadata

    [ https://issues.apache.org/jira/browse/KARAF-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025285#comment-15025285 ] 

ASF GitHub Bot commented on KARAF-4145:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/102


> KAR is created with defect maven metadata
> -----------------------------------------
>
>                 Key: KARAF-4145
>                 URL: https://issues.apache.org/jira/browse/KARAF-4145
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.3
>            Reporter: Markus Rathgeb
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.4
>
>
> Problem description:
> * use the kmp to generate a kar that contains snapshot version
> * use the kmp to generate a custom distribution that fills the local repository of the distribution with the content of that kar
> * try to install the snapshot artifact (not using any other repository then the system directory
> * if your snapshots has been timestamped and a maven metadata XML does not exist on KAR creation the installation of the artifact will fail
> The KAR Mojo contains a workaround to use the base version of a snapshot
> instead of a timestamped one because it does not work in
> startup.properties.
> The metadata that is used for a snapshot artifact is generated (if not
> present) using the timestamped version. Also if there exists already a
> metadata, we can not use them without further checking for the
> version...
> Let's move the version fix in front of the metadata generation and
> generate the metadata for every snapshot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)