Re: /META-INF/services and maven-bundle-plugin

2019-03-15 Thread James Carman
I’m sure there are any number of things I can do.  I didn’t know if the
bundle plugin had a configuration I could use to help.  I tried a bunch of
the settings, but nothing seems to help.  I would consider it a bug that it
removes files that are found in target/classes.  Would the Felix folks
agree it’s a bug?

On Fri, Mar 15, 2019 at 3:03 PM nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Couldn't you hack it using the resource plugin? I know its not using the
> Bundle Plugin..
>
> On Fri, 15 Mar 2019, 18:27 James Carman, 
> wrote:
>
> > It appears that the maven-bundle-plugin does not include files in the
> > target/classes/META-INF/ directory when it builds the resulting jar
> > file.  Is there some configuration I can use to force it to include
> > those files?  We have some ServiceLoader service definitions,
> > generated by the Immutables library for use by GSON for JSON
> > serialization and we'd like them included in the jar file.
> >
> > Thanks,
> >
> > James
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> > For additional commands, e-mail: users-h...@felix.apache.org
> >
> >
>


Re: /META-INF/services and maven-bundle-plugin

2019-03-15 Thread nino martinez wael
Couldn't you hack it using the resource plugin? I know its not using the
Bundle Plugin..

On Fri, 15 Mar 2019, 18:27 James Carman,  wrote:

> It appears that the maven-bundle-plugin does not include files in the
> target/classes/META-INF/ directory when it builds the resulting jar
> file.  Is there some configuration I can use to force it to include
> those files?  We have some ServiceLoader service definitions,
> generated by the Immutables library for use by GSON for JSON
> serialization and we'd like them included in the jar file.
>
> Thanks,
>
> James
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


Re: /META-INF/services and maven-bundle-plugin

2019-03-15 Thread James Carman
Unfortunately, the services file is generated by an APT processor
provided by the Immutables library:

https://immutables.github.io/json.html#generating-type-adapters

On Fri, Mar 15, 2019 at 1:38 PM Jean-Baptiste Onofré  wrote:
>
> Maybe you can use a regular resource there.
>
> Regards
> JB
>
> On 15/03/2019 18:27, James Carman wrote:
> > It appears that the maven-bundle-plugin does not include files in the
> > target/classes/META-INF/ directory when it builds the resulting jar
> > file.  Is there some configuration I can use to force it to include
> > those files?  We have some ServiceLoader service definitions,
> > generated by the Immutables library for use by GSON for JSON
> > serialization and we'd like them included in the jar file.
> >
> > Thanks,
> >
> > James
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> > For additional commands, e-mail: users-h...@felix.apache.org
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>

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



Re: /META-INF/services and maven-bundle-plugin

2019-03-15 Thread Jean-Baptiste Onofré
Maybe you can use a regular resource there.

Regards
JB

On 15/03/2019 18:27, James Carman wrote:
> It appears that the maven-bundle-plugin does not include files in the
> target/classes/META-INF/ directory when it builds the resulting jar
> file.  Is there some configuration I can use to force it to include
> those files?  We have some ServiceLoader service definitions,
> generated by the Immutables library for use by GSON for JSON
> serialization and we'd like them included in the jar file.
> 
> Thanks,
> 
> James
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
> 

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

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