GitHub user maggu2810 opened a pull request: https://github.com/apache/karaf/pull/102 KAR Mojo: fix metadata generation of artifacts 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. Signed-off-by: Markus Rathgeb You can merge this pull request into a Git repository by running: $ git pull https://github.com/maggu2810/karaf kmp-kar-snapshots Alternatively you can review and apply these changes as the patch at: https://github.com/apache/karaf/pull/102.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #102 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---