Felix maven bundle plugin

2011-05-26 Thread rgubler2
bundle because it can't resolve the imported packages from a huge count of third party jars. We want to generate the Manifest during the maven build without any hand work. Yours Rüdiger -- View this message in context: http://old.nabble.com/Felix-maven-bundle-plugin-tp31706136p31706136.html

Re: Felix maven bundle plugin

2011-05-26 Thread sam lee
fest during the maven build without any hand work. > > > Yours Rüdiger > -- > View this message in context: > http://old.nabble.com/Felix-maven-bundle-plugin-tp31706136p31706136.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > > --

Re: Felix maven bundle plugin

2011-05-26 Thread rgubler2
Hello, i added only the following line: *;resolution:=optional Now it works as expected. Thank you very much. Rüdiger -- View this message in context: http://old.nabble.com/Felix-maven-bundle-plugin-tp31706136p31707518.html Sent from the Apache Felix - Users mailing list archive at

Re: Felix maven bundle plugin

2011-05-26 Thread sam lee
nal > > Now it works as expected. > > > Thank you very much. > > Rüdiger > > -- > View this message in context: > http://old.nabble.com/Felix-maven-bundle-plugin-tp31706136p31707518.html > Sent from

Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
Hi, I'm new to OSGI and trying to deploy my first application. I've a spring dependency in my pom. While deploying I realized that Felix runtime requires all transitive dependencies to install the bundle properly. Since then, I'm sort of struggling to resolve this issue. I've tried embedded-depend

[ANN] Felix maven-bundle-plugin 2.4.0 Released

2013-06-13 Thread Stuart McCulloch
The Apache Felix team is pleased to announce the release of maven-bundle-plugin 2.4.0 which uses the latest release of bnd (2.1.0) This is a plugin for building OSGi bundles in Maven by using the bnd library from Peter Kriens: http://felix.apache.org/site/apache-felix-maven-bundle-plugin

[ANN] Apache Felix maven-bundle-plugin 4.1.0

2018-11-25 Thread Raymond Auge
A little while ago the Apache Felix released the maven-bundle-plugin 4.1.0 to sync with release of bndlib 4.1.0. This release is significant for being the first release that supports: - OSGi R7 Bundle Annotation [1] processing. This feature makes external metadata sources _practically obsolete_ b

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Richard S. Hall
Maybe this will have some advice: http://www.manning.com/hall/OSGIiAsamplech6.pdf -> richard On 6/10/11 13:56, Shamik Bandopadhyay wrote: Hi, I'm new to OSGI and trying to deploy my first application. I've a spring dependency in my pom. While deploying I realized that Felix runtime requir

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread mvangeertruy
if that helps! - Original Message - From: "Shamik Bandopadhyay" To: users@felix.apache.org Sent: Friday, June 10, 2011 1:56:54 PM Subject: Felix maven-bundle-plugin transitive dependency issue Hi, I'm new to OSGI and trying to deploy my first application. I've a

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
Richard, Thanks for the pointer, I'll do the reading and get back to you if I need any clarification. Appreciate your help. Regards, Shamik On Fri, Jun 10, 2011 at 11:02 AM, Richard S. Hall wrote: > Maybe this will have some advice: > >    http://www.manning.com/hall/OSGIiAsamplech6.pdf >

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
t; > So, in short, try not embedding any dependencies in your bundle; instead, > deploying all of the necessary bundles into OSGi first. If that doesn't work, > only then should you try to embed. > > > > Please let me know if that helps! > > > - Original Messag

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread sam lee
gt; > > > > > > > So, in short, try not embedding any dependencies in your bundle; instead, > deploying all of the necessary bundles into OSGi first. If that doesn't > work, only then should you try to embed. > > > > > > > > Please let me know if

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
e into OSGi before >> you deploy your taxonomy dao bundle.  A rule of thumb that I use is, if a >> bundle is listed in the dependencies section of the pom, that bundle should >> be available within OSGi. >> > >> > >> > >> > So, in short, try no

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread mvangeertruy
To: users@felix.apache.org Sent: Friday, June 10, 2011 2:52:09 PM Subject: Re: Felix maven-bundle-plugin transitive dependency issue Hi,   Thanks for your reply. Being a newbie, I'm finding a li'l hard to grasp the concept maybe. I agree, that embedding transitive dependency might

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread sam lee
l-ready bundle, you can use the bnd tool to wrap > your existing bundle. Bnd is a very powerful tool and is pretty well > documented. Google it for more information. > > > > Please let me know if this helps! > > > - Original Message - > From: "Shamik Band

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Achim Nierbeck
users@felix.apache.org Sent: Friday, June 10, 2011 2:52:09 PM Subject: Re: Felix maven-bundle-plugin transitive dependency issue Hi, Thanks for your reply. Being a newbie, I'm finding a li'l hard to grasp the concept maybe. I agree, that embedding transitive dependency might not b

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
e the best approach for an operational environment, >> this will definately help you get your test stuff working. >> >> >> >> To make a more operational-ready bundle, you can use the bnd tool to wrap >> your existing bundle.  Bnd is a very powerful tool a

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread mvangeertruy
That's kind of what I thought, but didn't have the time to confirm. Thanks for doing the heavy-lifting. Gotta love Karaf! - Original Message - From: "Achim Nierbeck" To: users@felix.apache.org Sent: Friday, June 10, 2011 3:33:19 PM Subject: Re: Felix

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
efinately help you get your test stuff working. >> >> >> >> To make a more operational-ready bundle, you can use the bnd tool to wrap >> your existing bundle.  Bnd is a very powerful tool and is pretty well >> documented. Google it for more information. >>

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread sam lee
e not provided ( isn't provided). 2. List them under Embed-Dependency. 3. Import-Package *;resolution:=optional 4. If things don't work, add true Or, like you mentioned, you can decipher http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html and look at the source code f

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Justin Edelson
> 1. List s that are not provided ( isn't provided). > 2. List them under Embed-Dependency. > 3. Import-Package *;resolution:=optional > 4. If things don't work, add true > > > Or, like you mentioned, you can decipher > http://felix.apache.org/site/apache-feli

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread mvangeertruy
ot; To: users@felix.apache.org Sent: Friday, June 10, 2011 5:22:43 PM Subject: Re: Felix maven-bundle-plugin transitive dependency issue I would highly recommend not using resolution=optional with * It would be very atypical for *all* imports to truly be optional. When you use optional impor

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Justin Edelson
lson" > To: users@felix.apache.org > Sent: Friday, June 10, 2011 5:22:43 PM > Subject: Re: Felix maven-bundle-plugin transitive dependency issue > > I would highly recommend not using resolution=optional with * > > It would be very atypical for *all* imports to trul

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Holger Hoffstätte
On 10.06.2011 23:39, mvangeert...@comcast.net wrote: > Do you feel that embedding all of a file's dependencies into a bundle > is the right approach? I think it contravenes some of the core > principles of OSGi to embed dependencies except in some rare > corner-cases. I'm not Justin, but.. Yes a

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Shamik Bandopadhyay
;> >> My intuition is: >> >> 1. List s that are not provided ( isn't provided). >> 2. List them under Embed-Dependency. >> 3. Import-Package *;resolution:=optional >> 4. If things don't work, add true >> >> >> Or, like you mentioned,

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-10 Thread Justin Edelson
                >>>                            mysql-connector-java;scope=compile|runtime >>>                         >>> >>> >>> I tried various combinations of maven-bundle-plugin.. but I only found the >>> above working. >>> >>> >

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-11 Thread Shamik Bandopadhyay
t;>            mysql-connector-java >>>>            5.1.9 >>>>         >>>> >>>> >>>> To make the dependency work in the osgi bundle, I had to: >>>>                         >>>>                            *;resoluti

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-14 Thread Justin Edelson
Justin >>>> >>>> On Jun 10, 2011, at 5:08 PM, sam lee wrote: >>>> >>>>> freemarker and gwt are just examples.. >>>>> >>>>> >>>>> Let's say I have a maven module that depends on: >>>>> >>>

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-15 Thread Per-Erik Svensson
gt; 3) once embedding is configured, configure the exports (if any) by > explicitly listing the packages and versions > >>>> 4) finally, iteratively tweak the auto-generated imports > >>>> > >>>> Shamik - I'd suggest you file bug repor

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-15 Thread Shamik Bandopadhyay
point. >> >>>> >> >>>> What I generally advise people is this: >> >>>> 1) deal with embedding first. >> >>>> 2) don't use transitive embeds - list all dependencies to be embedded >> with a scope of compile and use the s

[ANN] Apache Felix maven-bundle-plugin 2.3.6 released

2011-12-02 Thread Stuart McCulloch
The Apache Felix team is pleased to announce the release of maven-bundle-plugin 2.3.6 This is a plugin for building OSGi bundles in Maven by using the BND library from Peter Kriens http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html http://svn.apache.org/repos/asf/felix

[ANN] Apache Felix maven-bundle-plugin 2.3.7 released

2012-02-15 Thread Stuart McCulloch
The Apache Felix team is pleased to announce the release of maven-bundle-plugin 2.3.7 This is a plugin for building OSGi bundles in Maven by using the BND library from Peter Kriens http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html http://svn.apache.org/repos/asf/felix

[ANN] Felix maven-bundle-plugin version 2.0.1 released

2009-09-22 Thread Stuart McCulloch
y.app -DartifactId=my-app # edit the pom.xml, change packaging from jar to bundle and add: org.apache.felix maven-bundle-plugin 2.0.1 true mvn clean install # you should now have a valid OSGi bundle plugin docs: http://felix.apache.org/site/apa

Re: [ANN] Felix maven-bundle-plugin 2.4.0 Released

2013-06-29 Thread Elliot Huntington
sing the bnd > library from Peter Kriens: > > http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html > > > http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.4.0/doc/site/index.html > > http://www.aqute.biz/Bnd/Bnd > > https://g

Re: [ANN] Felix maven-bundle-plugin 2.4.0 Released

2013-06-29 Thread Stuart McCulloch
d (2.1.0) >> >> This is a plugin for building OSGi bundles in Maven by using the bnd >> library from Peter Kriens: >> >> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html >> >> >> http://svn.apache.org/repos/asf/feli

[ANN] Felix maven-bundle-plugin version 2.5.0 released

2014-06-26 Thread Stuart McCulloch
/site/apache-felix-maven-bundle-plugin-bnd.html http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/site/index.html http://www.aqute.biz/Bnd/Bnd https://github.com/bndtools/bnd This release is available from http://felix.apache.org/site/downloads.cgi and Maven

[ANN] Felix Maven Bundle Plugin version 3.0.1 Released

2015-11-14 Thread Benson Margulies
The Felix team is pleased to announce the release of Felix Maven Bundle Plugin version 3.0.1 The Maven Bundle Plugin provides Maven integration for the bnd tool that adds OSGi metadata to jar files. http://felix.apache.org/components/bundle-plugin This release is available from http

[ANN] Felix maven-bundle-plugin version 5.1.1 Released

2020-07-14 Thread Raymond Auge
The Felix team is pleased to announce the release of Felix maven-bundle-plugin version 5.1.1 The release updates the dependency of bndlib to 5.1.1 and fixes the following issues: https://issues.apache.org/jira/projects/FELIX/versions/12346016 This release is available from https

How to create WAB using felix maven bundle plugin ?

2012-03-30 Thread Tarun Ramakrishna
Hi all, Could someone provide a POM snippet of how to create a WAB (OSGI web application bundle) using the felix maven bundle plugin where the current project's classes don't go into the root of the jar but into WEB-INF/classes (as recommended by the WAB spec) and where the Bundle-Cl

Re: [ANN] Felix maven-bundle-plugin version 2.0.1 released

2009-09-24 Thread Patrick Forhan
On Tue, Sep 22, 2009 at 11:07 PM, Stuart McCulloch wrote: > The Apache Felix team is pleased to announce the release of > maven-bundle-plugin 2.0.1 >... > Improvements >... >   - [FELIX-1552 ] - Add >   support for blueprint and spring-dm declarati

Re: [ANN] Felix maven-bundle-plugin version 2.0.1 released

2009-09-24 Thread Stuart McCulloch
2009/9/25 Patrick Forhan > On Tue, Sep 22, 2009 at 11:07 PM, Stuart McCulloch > wrote: > > The Apache Felix team is pleased to announce the release of > > maven-bundle-plugin 2.0.1 > >... > > Improvements > >... > > - [FELIX-1552 ] - > Add > >

Re: [ANN] Felix maven-bundle-plugin version 2.0.1 released

2009-09-24 Thread Patrick Forhan
On Thu, Sep 24, 2009 at 2:03 PM, Stuart McCulloch wrote: > could you also raise a JIRA issue to investigate how best to solve the > property issue? (loading spring sounds like overkill) https://issues.apache.org/jira/browse/FELIX-1639 As I mention there, I think the aQute plugin is doing the spr

Re: [ANN] Felix maven-bundle-plugin version 2.5.0 released

2014-06-27 Thread Stuart McCulloch
en 2) by using the bnd library from Peter Kriens: > > http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html Sorry, copy-paste error - that's the old pre-CMS site. Here's the correct link: http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-pl

Re: [ANN] Felix maven-bundle-plugin version 2.5.0 released

2014-06-27 Thread Christian Schneider
supports Java 8 bytecode. This is a plugin for building OSGi bundles in Maven 3 (and Maven 2) by using the bnd library from Peter Kriens: http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.5.0/doc/site

Re: How to create WAB using felix maven bundle plugin ?

2012-03-30 Thread Stuart McCulloch
On 30 Mar 2012, at 21:25, Tarun Ramakrishna wrote: > Hi all, > > Could someone provide a POM snippet of how to create a WAB (OSGI web > application bundle) using the felix maven bundle plugin where the > current project's classes don't go into the root of the jar but i

Re: How to create WAB using felix maven bundle plugin ?

2012-03-30 Thread Tarun Ramakrishna
Thanks Stuart! That worked like a charm :) > > >   >    org.apache.felix >    maven-bundle-plugin >    2.3.7 >    true >     >       >        <_wab>src/main/webapp   >       >     >   > > >> Any guidance appreciated! >> Thanks, >> Tarun >> >> -

[ANN] Felix maven-bundle-plugin version 2.3.5 and Bundle Repository 1.6.6 Released

2011-07-11 Thread Stuart McCulloch
://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html The Felix Bundle Repository provides a service to query, install, and update a bundle (along with its deployment dependencies) from one or more OSGi bundle repositories: http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html

Re: Export-Package header declaration for Felix Maven-Bundle-Plugin has unexpected behaviour

2009-01-28 Thread Stuart McCulloch
2009/1/28 Florian Rampp > Hello! > > I'm using the Maven-Bundle-Plugin and having problems with specifying > export-package and import-package. > > Since my package structure in java does not fit the default export-package > (..*), I specify this on my own: > >org.apache.felix >m

Re: Export-Package header declaration for Felix Maven-Bundle-Plugin has unexpected behaviour

2009-01-28 Thread Arjun Panday
Florian, I believe that part of the answer to your problem is explained in section 3.5.6 "Exporting and Importing a Package" of the core OSGi spec, which states that "Bundles should import exported packages, allowing the resolver to substitute packages that contain interfaces and other shared

Re: Export-Package header declaration for Felix Maven-Bundle-Plugin has unexpected behaviour

2009-01-28 Thread Florian Rampp
Hello! Thank you for your help, it now works. For everybody, having similar problems, here is my maven-bundle-plugin configuration. Since the packages imported by my bundles are disjoint, I added ;-noimport:=true to Export-Package, but I will think more about whether this is good. deus.storag

felix maven-bundle-plugin : import packages are added random version ranges which are not explicitly defined in the pom.xml

2012-09-07 Thread Dileepa Jayakody
Hi All, In our projects we use maven bundle plugin: 2.3.5 to bundle our components. And recently I have come across this intermittent case of having random version-ranges added for import-packages in the bundle Manifest for some packages without defined explicitly in the pom. Eg: In some of our p

Re: felix maven-bundle-plugin : import packages are added random version ranges which are not explicitly defined in the pom.xml

2012-09-07 Thread Felix Meschberger
Hi, Am 07.09.2012 um 10:15 schrieb Dileepa Jayakody: > Hi All, > > In our projects we use maven bundle plugin: 2.3.5 to bundle our components. > And recently I have come across this intermittent case of having random > version-ranges added for import-packages in the bundle Manifest for some > pa

Re: felix maven-bundle-plugin : import packages are added random version ranges which are not explicitly defined in the pom.xml

2012-09-07 Thread Dileepa Jayakody
Thanks Felix for your advice. On Fri, Sep 7, 2012 at 2:56 PM, Felix Meschberger wrote: > Hi, > > Am 07.09.2012 um 10:15 schrieb Dileepa Jayakody: > > > Hi All, > > > > In our projects we use maven bundle plugin: 2.3.5 to bundle our > components. > > And recently I have come across this intermitt