Re: Maven Jar Plugin - Testjar: includes together with skipIfEmpty

2014-04-29 Thread Jörg Schaible
Hi Nick, Nick Stolwijk wrote: Hi Folks, I found a little curiosity in the maven jar plugin. if you specify includes and the skipIfEmpty property a jar is still created and attached while it only has a pom file in it. I would have expected that the creation of the jar was skipped if no

Maven Jar Plugin - Testjar: includes together with skipIfEmpty

2014-04-28 Thread Nick Stolwijk
Hi Folks, I found a little curiosity in the maven jar plugin. if you specify includes and the skipIfEmpty property a jar is still created and attached while it only has a pom file in it. I would have expected that the creation of the jar was skipped if no files where selected by my includes

Re: Maven Jar Plugin - Testjar: includes together with skipIfEmpty

2014-04-28 Thread Tonio Caputo
Hi, I think I faced something similar, some time ago, but not absolutely sure, here is what I remember: skipIfEmpty works by testing if directory is present, so if src/test/java is present (no matter if empty or not) jar will be created. hope it helps tonio On Mon, Apr 28, 2014 at 6:12