You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2010/03/11 11:36:27 UTC

[jira] Commented: (FELIX-2173) Fix inconsistent maven->osgi version conversion between maven-bundle-plugin and DefaultMaven2OsgiConverter

    [ https://issues.apache.org/jira/browse/FELIX-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844002#action_12844002 ] 

Stuart McCulloch commented on FELIX-2173:
-----------------------------------------

Note that the code under "org/apache/maven/shared/osgi" is our locally patched version of the
maven-osgi shared component (http://jira.codehaus.org/browse/MSHARED/component/13273)

Duplicate issues have been raised against the maven-osgi component for each of these local
patches, but have unfortunately not yet been committed/released which is why we're still using
our local copy...

You might want to raise an issue at http://jira.codehaus.org/browse/MSHARED/component/13273
for this additional change, to make sure it's in the shared component when they make a release.
( http://jira.codehaus.org/browse/MSHARED-98 might be related, could attach your patch there? )

> Fix inconsistent maven->osgi version conversion between maven-bundle-plugin and DefaultMaven2OsgiConverter
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2173
>                 URL: https://issues.apache.org/jira/browse/FELIX-2173
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Graham Charters
>            Assignee: Guillaume Nodet
>             Fix For: maven-bundle-plugin-2.1.0
>
>
> The maven bundle plug converts maven version like : 1.0.0-incubating-SNAPSHOT to 1.0.0.incubating-SNAPSHOT which I think is correct.
> The DefaultMaven2OsgiConverter coverts maven version like: 1.0.0-incubating-SNAPSHOT to 1.0.0.incubating_SNAPSHOT which unnecessarily coverts '-' to '_'.
> The conversion should be reusable and consistent to ensure they match when used in other plugins or environments.  I think the DefaultMaven2OsgiConverter  needs to be changed to match the maven bundle plugin.
> See also: http://www.mail-archive.com/dev@felix.apache.org/msg15894.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.