You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pe...@ubs.com on 2006/08/03 14:06:31 UTC

[M2] Maven EJB Plug-in is not exclude files

Hi

I got a problem with the Maven EJB Plug-in it does appear
to remove the EJB froms the client jar files.

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <configuration>
           <generateClient>true</generateClient>
           <!-- <ejbVersion>2.1</ejbVersion> -->
           <clientExcludes>
              <clientExclude>**/*EJB.class</clientExclude>
           </clientExcludes>
        </configuration>
      </plugin>
    </plugins>
  </build>  

Why are the files the same size?



C:\Workspace_External\M2SpringEJBExample\ejb>dir target
 Volume in drive C has no label.
 Volume Serial Number is FC12-3556

 Directory of C:\Workspace_External\M2SpringEJBExample\ejb\target

03/08/2006  12:56    <DIR>          .
03/08/2006  12:56    <DIR>          ..
03/08/2006  11:51    <DIR>          classes
03/08/2006  13:03             3,374 exported-pom.xml
03/08/2006  13:03            13,537
M2SpringEJBExample-ejb-1.0-SNAPSHOT-client.jar
03/08/2006  13:03            13,537
M2SpringEJBExample-ejb-1.0-SNAPSHOT.jar
02/08/2006  17:11    <DIR>          test-classes
               3 File(s)         30,448 bytes
               4 Dir(s)  138,210,035,200 bytes free

C:\Workspace_External\M2SpringEJBExample\ejb>

Strange but true!

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org