I guess splitting to different packages isn't appropriate for your case; so:

I'd try copying the selected classes to a new dir using the resource plugin,
then pointing the archiver to this dir instead of target/classes .

my2c,
Ondra



On Thu, 2012-10-25 at 18:11 +0200, Wolf-Dieter Fink wrote:
I want to add all classes in the ejb/jar follow a pattern:
   i.e.  all *Bean.class and *Impl.class
There are other classes in the path without that suffix that should not 
included.

I use different combinations of includes/excludes and 
useDefaultIncludes/useDefaultExcludes

But the result is more or less ALL or NO class in the jar.

I've google and look into the plugin docs but don't find a helpful hint.


Any ideas?

cheers
Wolf
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev