felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Ziuchkovski (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-3385) Maven-bundle-plugin uses resolved version for embedded artifacts (Artifact.getVersion() vs Artifact.getBaseVersion())
Date Tue, 13 Mar 2012 03:33:55 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Bob Ziuchkovski closed FELIX-3385.

    Resolution: Not A Problem

This can be worked-around with configuration changes...the change probably doesn't make much
> Maven-bundle-plugin uses resolved version for embedded artifacts (Artifact.getVersion()
vs Artifact.getBaseVersion())
> ---------------------------------------------------------------------------------------------------------------------
>                 Key: FELIX-3385
>                 URL: https://issues.apache.org/jira/browse/FELIX-3385
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.7
>            Reporter: Bob Ziuchkovski
>            Priority: Trivial
>         Attachments: maven-bundle-plugin-2.3.7-embedversion.patch
> When using the <Embed-Dependency> directive, dependencies are resolved via Artifact.getVersion()
as opposed to Artifact.getBaseVersion().  This means SNAPSHOT versions of dependencies are
fully resolved to artifacts such as mylib-1.0.0-20120307.090901-3.jar as opposed to mylib-2.0.0-SNAPSHOT.jar.
 This causes problems when the project being built is a jar/war/etc. artifact, since the manifest
generated by maven-bundle-plugin disagrees with the name of the dependency file copied.  I
humbly propose changing the use of Artifact.getVersion() to Artifact.getBaseVersion() for
embedded dependencies.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message