You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2016/02/03 06:20:30 UTC

Re: Jenkins not recognizing "bundle" packaging

Hi Jason,

the "bundle" packaging is valid only if you use maven-bundle-plugin 
extension (<extension>true</extension>).

You can use "jar" package, and define the maven-bundle-plugin with 
supportedType configuration.

Regards
JB

On 02/03/2016 02:48 AM, Pratt, Jason wrote:
> Hello – We’re getting a CI system setup to build our bundles for us, the
> first issue we’ve encountered is that Jenkins is not recognizing
> anything with a “bundle”.
>
> When we change the packaging to “jar” and use the maven-jar-plugin to
> copy the manifest over everything appeared to be working correctly. As
> per the end of
> http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
>
> However, we discovered that the blueprint autowire.xml is never being
> moved. Has anyone run into this issue before, how did you solve it?
>
> Regards,
>
> Jason
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Jenkins not recognizing "bundle" packaging

Posted by "Pratt, Jason" <Ja...@windriver.com>.
Hi JB - I've tried setting package to "jar" with 

<supportedProjectTypes>
	<supportedProjectType>jar</supportedProjectType>
	<supportedProjectType>bundle</supportedProjectType>
	<supportedProjectType>war</supportedProjectType>
</supportedProjectTypes>

Added to the maven-bundle-plugin, it still is not picking up the autowire.xml file from generated-resources\OSGI-INF\blueprint directory generated by the blueprint annotations and adding it to the final jar.

Jason

-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Sent: Tuesday, February 02, 2016 9:21 PM
To: user@karaf.apache.org
Subject: Re: Jenkins not recognizing "bundle" packaging

Hi Jason,

the "bundle" packaging is valid only if you use maven-bundle-plugin extension (<extension>true</extension>).

You can use "jar" package, and define the maven-bundle-plugin with supportedType configuration.

Regards
JB

On 02/03/2016 02:48 AM, Pratt, Jason wrote:
> Hello - We're getting a CI system setup to build our bundles for us, 
> the first issue we've encountered is that Jenkins is not recognizing 
> anything with a "bundle".
>
> When we change the packaging to "jar" and use the maven-jar-plugin to 
> copy the manifest over everything appeared to be working correctly. As 
> per the end of 
> http://felix.apache.org/documentation/subprojects/apache-felix-maven-b
> undle-plugin-bnd.html
>
> However, we discovered that the blueprint autowire.xml is never being 
> moved. Has anyone run into this issue before, how did you solve it?
>
> Regards,
>
> Jason
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com