[
https://issues.apache.org/jira/browse/FELIX-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105311#comment-14105311
]
Jonathan DELAIRE commented on FELIX-4591:
-----------------------------------------
Hello Carsten,
It is correctly pulling the correct version with the correct classifier from
the repository to perform the comparison,
But it does not take into account the classifier for the jar used for the
current_version, so basically it tells old version is version x.x.x while the
current one is 0.0.0 (because the default jar generated is just a jar, the
bundle is generated as classifier bundle)
So I would expect that if a classifier is specified it would also be taken into
account for the current_version jar, because usually jar classifier won't
change between two version,
Thanks
> add the ability to specify the classifier in the new baseline configuration
> of the plugin.
> ------------------------------------------------------------------------------------------
>
> Key: FELIX-4591
> URL: https://issues.apache.org/jira/browse/FELIX-4591
> Project: Felix
> Issue Type: New Feature
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.5.0
> Reporter: Jonathan DELAIRE
> Assignee: Carsten Ziegeler
> Fix For: maven-bundle-plugin-2.5.1
>
>
> The new baselining feature is nice, unfortunately it compare to a specific
> version without the option to compare specific classifier, if we don't
> generate an OSGi bundle by default it doesn't work.
> For example I'm working on a project that is generating NetBeans modules and
> OSGi bundle for the same artifact.
> But since the OSGi bundle is generated as <classifier>bundle</classifier> and
> the baseline feature only compare the jar generated by the project default
> packaging (which in this case is a jar without the packageinfo and with a
> netbeans module manifest) so the baselining fail.
> Adding the ability to specify the classifier in the plugin configuration
> would be good.
--
This message was sent by Atlassian JIRA
(v6.2#6252)