[jboss-as7-dev] A mvn question - ejb/ear packaging

Ondrej Zizka ozizka at redhat.com
Sat Oct 27 07:02:16 EDT 2012


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20121027/5ef7141e/attachment-0001.html 


More information about the jboss-as7-dev mailing list