[ https://issues.apache.org/jira/browse/KARAF-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-4145: ------------------------------------------- Assignee: Jean-Baptiste Onofré > 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)