Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-12 Thread Tommy Svensson
. From: tommybsvens...@me.com Subject: Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved Date: Sat, 11 Aug 2012 18:56:43 +0200 To: users@maven.apache.org I finally found the source of this problem! Or close to it at least. I have managed to get my META-INF

RE: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-12 Thread Martin Gainty
pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: tommybsvens...@me.com Subject: Re: maven-jar-plugin refuses to include META-INF

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-12 Thread Mark Derricutt
If you use the packagingbundle/packaging style in your pom, then its bnd that does the actual jar creation, and NOT the traditional jar plugin. We hit this same issue awhile ago when including compiled coffee-script into our jars, just putting them directly in target/classes doesn't just work.

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Tommy Svensson
I finally found the source of this problem! Or close to it at least. I have managed to get my META-INF/persistence.xml included in the jar, but I'm unsure what is to blame :-). I'm also using the Apache Felix bundle-plugin which allows for: packagingbundle/packaging This due to the

RE: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Martin Gainty
refuses to include META-INF/persistence.xml ! - Problem solved Date: Sat, 11 Aug 2012 18:56:43 +0200 To: users@maven.apache.org I finally found the source of this problem! Or close to it at least. I have managed to get my META-INF/persistence.xml included in the jar, but I'm unsure what

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Wayne Fay
I'm also using the Apache Felix bundle-plugin which allows for: packagingbundle/packaging This is not a packaging delivered by Apache Maven. Thus you can blame whoever is making this packaging available to you. That is, I can use either or of bundle or jar for packaging. However when

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Stuart McCulloch
On 12 Aug 2012, at 03:54, Wayne Fay wayne...@gmail.com wrote: I'm also using the Apache Felix bundle-plugin which allows for: packagingbundle/packaging This is not a packaging delivered by Apache Maven. Thus you can blame whoever is making this packaging available to you. That

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Wayne Fay
Most likely the bundle packaging does not include META-INF for some reason. I would talk to the Apache Felix people about this issue so they can resolve it in their code. This is working as designed, as covered in the FAQ: Thanks Stuart. This is a good thing to keep in mind for when future