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

Stephen Coy steve.coy at me.com
Fri Oct 26 20:58:57 EDT 2012


What's your actual use case?

This fragment:

 <configuration>
    ...
     <excludes>
       <exclude>**/*Impl.class</exclude>
       <exclude>**/*Bean.class</exclude>
     </excludes>
    ...
 </configuration>

should work.

Steve C

On 26/10/2012, at 3:11 AM, Wolf-Dieter Fink <wfink at redhat.com> 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



More information about the jboss-as7-dev mailing list