Resolution: Not A Problem
Affects Version/s: 2.0
Fix Version/s: None
Environment:Windows XP SP3, Java 220.127.116.11, x86-64.
For a pom packaging project, running a profile with this jar configuration results in a jar containing only the META-INF folder =>
[WARNING] JAR will be empty - no content was marked for inclusion!
This is the plugin configuration:
I tried all sorts of configurations, all sorts of paths, but it does not work, the jar is still empty (and I'm sure that the path is valid, or so I hope ).
Don't ask why I'm making a jar in a pom packaging project, it has to do with Maven limitations (it is a wonderful tools, but it's not perfect, and real life > any tool ). There are ways around this, but this is the most elegant solution (or I'd have to make a 2 step build which is cumbersome for the users of this build, so not an option).