karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6232) the karaf-maven-plugin features-add-to-repository goal creates fixed snapshot versions for bundles referenced via -SNAPSHOT version in a feature descriptor
Date Wed, 17 Apr 2019 13:21:00 GMT

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

ASF subversion and git services commented on KARAF-6232:
--------------------------------------------------------

Commit 3039eff80745601df35d848edb262129aaf2fbb4 in karaf's branch refs/heads/karaf-4.2.x from
Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=3039eff ]

[KARAF-6232] Introduce timestampedSnapshot parameter in karaf:add-to-repository to define
the SNAPSHOT version format


> the karaf-maven-plugin features-add-to-repository goal creates fixed snapshot versions
for bundles referenced via -SNAPSHOT version in a feature descriptor
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-6232
>                 URL: https://issues.apache.org/jira/browse/KARAF-6232
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.3, 4.2.4
>            Reporter: Andre Flakowski
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.3.0, 4.2.5
>
>
> We have an advanced  custom assembly, so we use the features-add-to-repository for
generating the repository.
> in case there is a bundle with a snapshot version in a feature descriptor that gets downloaded
as a dependency, the affected version will now generate a fixed versioned filename, which
results in a failure to find the corresponding bundle at runtime:
> e. g.
> <bundle>mvn:org.example.bundles/my-bundle/1.0.0-SNAPSHOT</bundle>
> 4.2.2
> org/example/bundles/my-bundle/1.0.0-SNAPSHOT/my-bundle-1.0.0-SNAPSHOT.jar
> 4.2.3, 4.2.4
> org/example/bundles/my-bundle/1.0.0-SNAPSHOT/my-bundle-1.0.0-20190410.124431-31.jar
> Which results in an ArtifactNotFoundException during runtime.
>  
> This might be related to the recent change in https://issues.apache.org/jira/browse/KARAF-6116
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message