maven-bundle-plugin Questions

2

Solved

I'm trying to develop onto Karaf an OSGi WAB containing a REST API and a call from a custom-made service. However, for some weird reason, the OSGi framework complains about an unsatisfied capabilit...
Tamatave asked 24/11, 2016 at 15:56

2

I have an OSGI bundle that has a dependency on a 3rd Party library, I don't want to deploy that library in the container, I'd rather embed it in my bundle. Of course, that library has its own depe...
Albanian asked 7/3, 2017 at 16:19

3

Solved

After adding a dependency that contains a JPMS module, the maven-bundle-plugin (version 3.3.0) fails with: [INFO] --- maven-bundle-plugin:3.3.0:bundle (default-bundle) @ my-bundle --- [ERROR] Bund...
Hammering asked 25/5, 2018 at 14:0

1

I am moving from maven-bundle-plugin which provided the "convenient" configuration using Embed-Dependency, but it appears i need to specify my Embed Dependency "manually" in bnd format when using t...
Insurrection asked 5/11, 2019 at 19:27

3

I'm building an OSGI base application, in one of my classes I do an important number of imports ( arround 30 ) and when i launch the app i get this exception : java.lang.ArrayIndexOutOfBoundsExce...
Bradytelic asked 19/2, 2015 at 13:14

1

Solved

When building my OSGi bundles with JDK 10, maven-bundle-plugin (3.5.1) generates the following manifest attribute: Require-Capability: osgi.ee;filter:="(osgi.ee=UNKNOWN)" This fails runtime: Un...
Carty asked 2/7, 2018 at 14:16

4

I'm using the maven-shade-plugin to relocate some packages during the package phase of my build. I'm also using the maven-bundle-plugin to generate a manifest. The problem is the bundle plugin runs...
Adahadaha asked 16/8, 2013 at 19:19

2

Solved

I'm trying to upgrade to OpenSAML 3 in an OSGi bundle running on Apache Karaf (4.0.5) using opensaml servicemix bundle (org.apache.servicemix.bundles:org.apache.servicemix.bundles.opensaml:jar:3.2....
Diacritical asked 21/6, 2016 at 15:14

1

Solved

I am migrating from org.apache.felix.scr annotations to org.osgi.service.component annotations. I have a set of Components that inherit from a common abstract class. In the felix case, I can use a ...
Tenstrike asked 22/12, 2016 at 9:42

2

Solved

I'm using maven-bundle-plugin (bnd effectively). It's straightforward to include a resource file from sources. For example, a resource file (src/main/resources/some.xml) is moved under target dir...
Odyssey asked 24/5, 2016 at 3:41

1

I’m using Felix Framework for my OSGi project, but I’ve came across a severe problem concerning third party dependencies. I’m using eclipse and maven-bundle-plugin to generate my bundles from the ...

1

Solved

After updating the maven-bundle-plugin from version 2.3.5 to version 2.4.0 running mvn clean install outputs some warning messages, which I don't fully understand. E.g. Export ch.entwine.weblounge...
Metatherian asked 19/1, 2014 at 14:55

3

Solved

I want to build an OSGi compliant multi-moduled application where I have all the required bundles in 3 folders after compilation. I am using maven-bundle-plugin and maven-scr-plugin to create the b...
Vandiver asked 31/3, 2013 at 12:3

2

Solved

http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.3.7/doc/site/wrap-mojo.html says bundle:wrap is deprecated, same with bundle:bundleall. I currently use wrap to create an OSGi b...
Romberg asked 11/4, 2012 at 9:55

3

Solved

There are two main approaches when developing an OSGi application with Maven: POM-first and MANIFEST first. I'm looking for an answer that is in a form of a table that shows pros and cons of each ...
Floria asked 7/7, 2012 at 7:4

1

I have a java project that compiles down to an OSGi bundle. I'm using the maven-bundle-plugin to create the bundle, and the maven-sling-plugin to push the bundle to my running OSGi server. At the m...
Crackbrained asked 6/4, 2012 at 15:56
1

© 2022 - 2024 — McMap. All rights reserved.