You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Toni Menzel <to...@okidokiteam.com> on 2009/06/04 12:27:11 UTC

maven-bundle-plugin 1.4.3 vs. 2.0.0

Just have a tiny question about changes in maven-bundle-plugin 2.0.0.

As i noticed, the plugin now recognizes all dependency scopes and
passes them to bnd. As a result deflates jars into the resulting
bundle.

My usecase is a typical "wrap" a single jar (dependency) but inline=false.
So, <Embed-Dependency>*;inline=false</Embed-Dependency>

But, since 2.0.0, i get a deflated version in my final jar as well.
I do not want that. I want a
+ calculated manifest but
+ bundle-classpath refereing to my jar
+ no deflated stuff.

Usecase is so "simple" that there should be a simple solution i do not see ??
Worked in 1.4.3.

Toni

-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
toni@okidokiteam.com
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: maven-bundle-plugin 1.4.3 vs. 2.0.0

Posted by Toni Menzel <to...@okidokiteam.com>.
found it myself..(before just after sent initial mail ..) it was
Export-Package vs. _exportcontents ;)
Sorry,Sorry,Sorry,Sorry,Sorry,Sorry..

On 6/4/09, Stuart McCulloch <mc...@gmail.com> wrote:
> 2009/6/4 Toni Menzel <to...@okidokiteam.com>
>
>> Just have a tiny question about changes in maven-bundle-plugin 2.0.0.
>>
>> As i noticed, the plugin now recognizes all dependency scopes and
>> passes them to bnd. As a result deflates jars into the resulting
>> bundle.
>>
>> My usecase is a typical "wrap" a single jar (dependency) but inline=false.
>> So, <Embed-Dependency>*;inline=false</Embed-Dependency>
>>
>> But, since 2.0.0, i get a deflated version in my final jar as well.
>> I do not want that. I want a
>> + calculated manifest but
>> + bundle-classpath refereing to my jar
>> + no deflated stuff.
>>
>> Usecase is so "simple" that there should be a simple solution i do not see
>> ??
>> Worked in 1.4.3.
>>
>
> sigh, does no-one read the docs or the FAQ...
>
>
> http://felix.apache.org/site/apache-felix-bundle-plugin-faq.html#ApacheFelixBundlePluginFAQ-WhydoIseemoreclassesinmybundleafterupgradingtomavenbundleplugin2.0.0%3F
>
> you'll need to click that link to see the solution ;)
>
>
>> Toni
>>
>> --
>> Toni Menzel
>> Independent Software Developer
>> Professional Profile: http://okidokiteam.com
>> toni@okidokiteam.com
>> http://www.ops4j.org     - New Energy for OSS Communities - Open
>> Participation Software.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
> Cheers, Stuart
>


-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
toni@okidokiteam.com
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: maven-bundle-plugin 1.4.3 vs. 2.0.0

Posted by Stuart McCulloch <mc...@gmail.com>.
2009/6/4 Toni Menzel <to...@okidokiteam.com>

> Just have a tiny question about changes in maven-bundle-plugin 2.0.0.
>
> As i noticed, the plugin now recognizes all dependency scopes and
> passes them to bnd. As a result deflates jars into the resulting
> bundle.
>
> My usecase is a typical "wrap" a single jar (dependency) but inline=false.
> So, <Embed-Dependency>*;inline=false</Embed-Dependency>
>
> But, since 2.0.0, i get a deflated version in my final jar as well.
> I do not want that. I want a
> + calculated manifest but
> + bundle-classpath refereing to my jar
> + no deflated stuff.
>
> Usecase is so "simple" that there should be a simple solution i do not see
> ??
> Worked in 1.4.3.
>

sigh, does no-one read the docs or the FAQ...


http://felix.apache.org/site/apache-felix-bundle-plugin-faq.html#ApacheFelixBundlePluginFAQ-WhydoIseemoreclassesinmybundleafterupgradingtomavenbundleplugin2.0.0%3F

you'll need to click that link to see the solution ;)


> Toni
>
> --
> Toni Menzel
> Independent Software Developer
> Professional Profile: http://okidokiteam.com
> toni@okidokiteam.com
> http://www.ops4j.org     - New Energy for OSS Communities - Open
> Participation Software.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 
Cheers, Stuart