karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Rathgeb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4145) KAR is created with defect maven metadata
Date Tue, 24 Nov 2015 18:41:11 GMT
Markus Rathgeb created KARAF-4145:
-------------------------------------

             Summary: 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


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)

Mime
View raw message