You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Joshua (JIRA)" <ji...@apache.org> on 2014/08/13 20:30:16 UTC
[jira] [Created] (FELIX-4605) Split packages not working with
maven-bundle-plugin 2.5.0
Joshua created FELIX-4605:
-----------------------------
Summary: Split packages not working with maven-bundle-plugin 2.5.0
Key: FELIX-4605
URL: https://issues.apache.org/jira/browse/FELIX-4605
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Environment: Windows 8.1
Reporter: Joshua
Does anyone know why with maven-bundle-plugin 2.5.0 the split packages aren’t working anymore?
With maven-bundle-plugin 2.4.0 the manifest is generated like this..
org.eclipse.swt.events,
org.eclipse.swt.layout,
org.eclipse.swt.widgets,
org.eclipse.ui;ui.workbench=split,
org.eclipse.ui.themes
Originally-Created-By: Apache Maven Bundle Plugin
Tool: Bnd-2.1.0.20130426-122213
With maven-bundle-plugin 2.5.0 the manifest is generated like this…
org.eclipse.swt.events,
org.eclipse.swt.layout,
org.eclipse.swt.widgets,
org.eclipse.ui,
org.eclipse.ui.themes
Originally-Created-By: Apache Maven Bundle Plugin
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
Tool: Bnd-2.3.0.201405100607
We noticed this when we checked out one of our existing projects and just updated it from 2.4.0 to 2.5.0. No other changes were made. Once we up to 2.5.0 we couldn’t use the bundle anymore because the split package isn’t referenced correctly in the manifest.
Is there some new configuration I am missing?
I checked the release notes for 2.5 and didn’t see any changes are split packages
Release Notes: http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/changelog.txt
Site: http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/site/index.html
Ideas?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Re: [jira] [Created] (FELIX-4605) Split packages not working with maven-bundle-plugin 2.5.0
Posted by Alexey Aksenov <al...@gmail.com>.
>
> Joshua created FELIX-4605:
> -----------------------------
>
> Summary: Split packages not working with maven-bundle-plugin
2.5.0
> Key: FELIX-4605
> URL: https://issues.apache.org/jira/browse/FELIX-4605
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Environment: Windows 8.1
> Reporter: Joshua
>
> Does anyone know why with maven-bundle-plugin 2.5.0 the split packages
aren’t working anymore?
>
> With maven-bundle-plugin 2.4.0 the manifest is generated like this..
>
> org.eclipse.swt.events,
> org.eclipse.swt.layout,
> org.eclipse.swt.widgets,
> org.eclipse.ui;ui.workbench=split,
> org.eclipse.ui.themes
> Originally-Created-By: Apache Maven Bundle Plugin
> Tool: Bnd-2.1.0.20130426-122213
>
> With maven-bundle-plugin 2.5.0 the manifest is generated like this…
>
> org.eclipse.swt.events,
> org.eclipse.swt.layout,
> org.eclipse.swt.widgets,
> org.eclipse.ui,
> org.eclipse.ui.themes
> Originally-Created-By: Apache Maven Bundle Plugin
> Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"
> Tool: Bnd-2.3.0.201405100607
>
> We noticed this when we checked out one of our existing projects and just
updated it from 2.4.0 to 2.5.0. No
> other changes were made. Once we up to 2.5.0 we couldn’t use the bundle
anymore because the split package
> isn’t referenced correctly in the manifest.
>
> Is there some new configuration I am missing?
> I checked the release notes for 2.5 and didn’t see any changes are split
packages
> Release Notes:
http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/changelog.txt
> Site:
http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/site/index.html
>
> Ideas?
>
> --
> This message was sent by Atlassian JIRA
> (v6.2#6252)
>
>
I have the same issue. I fix it with
osgiBndImportPackage := List("!org.eclipse.core.runtime", "!org.eclipse.ui",
"org.digimead.*", "org.eclipse.core.runtime;common=!",
"org.eclipse.ui;ui.workbench=split", "*"),
I use sbt, not maven, but I hope that you adapt solution.
PS Bud report https://github.com/bndtools/bnd/issues/604
Joshua (JIRA <ji...@...> writes: