You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2008/10/17 16:46:44 UTC
[jira] Created: (FELIX-782) Manifest goal ignores version attribute
specified in _exportcontents
Manifest goal ignores version attribute specified in _exportcontents
--------------------------------------------------------------------
Key: FELIX-782
URL: https://issues.apache.org/jira/browse/FELIX-782
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-1.4.3
Environment: OpenSolaris, JDK 1.5
Reporter: Sahoo
Fix For: metatype-1.0.4
I am using maven-bundle-plugin version 1.4.3. We use the manifest goal and configure the plugin to read bnd instructions from a file called osgi.bundle like this:
<_include>-${basedir}/osgi.bundle</_include>
In thet artifact's osgi.bundle file, we use _exportcontents to list the packages to be exported. I am observing that even if I set a version attribute explicitly as part of _exportcontents instruction, the generated Export-Package headers in the manifest always contains version as 3.0-Prelude-SNAPSHOT, which is the version of the artifact being built. If I switch to using Export-Package, the generated manifest contains whatever version I specify in the osgi.bundle file. This looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-782) Manifest goal ignores version attribute
specified in _exportcontents
Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch updated FELIX-782:
-----------------------------------
Fix Version/s: (was: metatype-1.0.4)
maven-bundle-plugin-1.6.0
> Manifest goal ignores version attribute specified in _exportcontents
> --------------------------------------------------------------------
>
> Key: FELIX-782
> URL: https://issues.apache.org/jira/browse/FELIX-782
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-1.4.3
> Environment: OpenSolaris, JDK 1.5
> Reporter: Sahoo
> Fix For: maven-bundle-plugin-1.6.0
>
>
> I am using maven-bundle-plugin version 1.4.3. We use the manifest goal and configure the plugin to read bnd instructions from a file called osgi.bundle like this:
> <_include>-${basedir}/osgi.bundle</_include>
> In thet artifact's osgi.bundle file, we use _exportcontents to list the packages to be exported. I am observing that even if I set a version attribute explicitly as part of _exportcontents instruction, the generated Export-Package headers in the manifest always contains version as 3.0-Prelude-SNAPSHOT, which is the version of the artifact being built. If I switch to using Export-Package, the generated manifest contains whatever version I specify in the osgi.bundle file. This looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-782) Manifest goal ignores version
attribute specified in _exportcontents
Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch reassigned FELIX-782:
--------------------------------------
Assignee: Stuart McCulloch
> Manifest goal ignores version attribute specified in _exportcontents
> --------------------------------------------------------------------
>
> Key: FELIX-782
> URL: https://issues.apache.org/jira/browse/FELIX-782
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-1.4.3
> Environment: OpenSolaris, JDK 1.5
> Reporter: Sahoo
> Assignee: Stuart McCulloch
> Fix For: maven-bundle-plugin-1.6.0
>
>
> I am using maven-bundle-plugin version 1.4.3. We use the manifest goal and configure the plugin to read bnd instructions from a file called osgi.bundle like this:
> <_include>-${basedir}/osgi.bundle</_include>
> In thet artifact's osgi.bundle file, we use _exportcontents to list the packages to be exported. I am observing that even if I set a version attribute explicitly as part of _exportcontents instruction, the generated Export-Package headers in the manifest always contains version as 3.0-Prelude-SNAPSHOT, which is the version of the artifact being built. If I switch to using Export-Package, the generated manifest contains whatever version I specify in the osgi.bundle file. This looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-782) Manifest goal ignores version
attribute specified in _exportcontents
Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch resolved FELIX-782.
------------------------------------
Resolution: Fixed
My local tests suggest this has been fixed by the changes in trunk, which include an update to BND.
I haven't deployed a new 1.5.0-SNAPSHOT, but will do so tomorrow morning (about 8hrs from now).
> Manifest goal ignores version attribute specified in _exportcontents
> --------------------------------------------------------------------
>
> Key: FELIX-782
> URL: https://issues.apache.org/jira/browse/FELIX-782
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-1.4.3
> Environment: OpenSolaris, JDK 1.5
> Reporter: Sahoo
> Assignee: Stuart McCulloch
> Fix For: maven-bundle-plugin-1.6.0
>
>
> I am using maven-bundle-plugin version 1.4.3. We use the manifest goal and configure the plugin to read bnd instructions from a file called osgi.bundle like this:
> <_include>-${basedir}/osgi.bundle</_include>
> In thet artifact's osgi.bundle file, we use _exportcontents to list the packages to be exported. I am observing that even if I set a version attribute explicitly as part of _exportcontents instruction, the generated Export-Package headers in the manifest always contains version as 3.0-Prelude-SNAPSHOT, which is the version of the artifact being built. If I switch to using Export-Package, the generated manifest contains whatever version I specify in the osgi.bundle file. This looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.