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 17:35:38 UTC

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

Nevermind. The default m2 ejb plug-in has a bug. 

Building the plug-in from Subversion source code work.

Essentially, get a copy of Subversion for Windows.

% svn co https://svn.apache.org/repos/asf/plugins/trunks maven-plugins

% chdir maven-plugins\maven-ejb-plugin

% mvn install

And you're done.

PS: I want to pass the archive (maven-ejb-plugin-2.1-SNAPSHOT.jar)
to other developers in my team, who probably will need it.
Is there a standard maven method for this process?


> -----Original Message-----
> From: Pilgrim, Peter 
==////==
> 
> 
> 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 ::
> 

--
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


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

Posted by Wayne Fay <wa...@gmail.com>.
I don't know any particular reason why that would NOT work...

Wayne

On 8/3/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
> > -----Original Message-----
> > From: Wayne Fay [mailto:waynefay@gmail.com]
> > Sent: 03 August 2006 17:27
> > To: Maven Users List
> > Subject: Re: [M2] Maven EJB Plug-in is not exclude files [SOLVED]
> >
> > Yes, tell them to download from SVN and "mvn install" it. ;-)
> >
> > Or... if you have a corporate repo (configured in pom with
> > snapshot = true), you could put the snapshot there and their
> > Maven2 should download and use it the next time Maven updates
> > itself or you run "mvn -U".
> >
> Thanks Wayne
>
> Is it possible to get the JAR file (maven-ejb-plugin-2.1-SNAPSHOT.jar)
> from my local repository and tell the other developers to do a 3rd
> party library repository install e.g
>
> % mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
>    -DartifactId=<artifact-id> -Dversion=<version>
> -Dpackaging=<packaging>
>
> ?
>
>
> > Wayne
> >
> > On 8/3/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
> > >
> > > Nevermind. The default m2 ejb plug-in has a bug.
> > >
> > > Building the plug-in from Subversion source code work.
> > >
> > > Essentially, get a copy of Subversion for Windows.
> > >
> > > % svn co https://svn.apache.org/repos/asf/plugins/trunks
> > maven-plugins
> > >
> > > % chdir maven-plugins\maven-ejb-plugin
> > >
> > > % mvn install
> > >
> > > And you're done.
> > >
> > > PS: I want to pass the archive (maven-ejb-plugin-2.1-SNAPSHOT.jar)
> > > to other developers in my team, who probably will need it.
> > > Is there a standard maven method for this process?
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> --
> 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
>
>

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


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

Posted by Pe...@ubs.com.
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com] 
> Sent: 03 August 2006 17:27
> To: Maven Users List
> Subject: Re: [M2] Maven EJB Plug-in is not exclude files [SOLVED]
> 
> Yes, tell them to download from SVN and "mvn install" it. ;-)
> 
> Or... if you have a corporate repo (configured in pom with 
> snapshot = true), you could put the snapshot there and their 
> Maven2 should download and use it the next time Maven updates 
> itself or you run "mvn -U".
> 
Thanks Wayne

Is it possible to get the JAR file (maven-ejb-plugin-2.1-SNAPSHOT.jar)
from my local repository and tell the other developers to do a 3rd
party library repository install e.g

% mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
    -DartifactId=<artifact-id> -Dversion=<version>
-Dpackaging=<packaging>

?


> Wayne
> 
> On 8/3/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
> >
> > Nevermind. The default m2 ejb plug-in has a bug.
> >
> > Building the plug-in from Subversion source code work.
> >
> > Essentially, get a copy of Subversion for Windows.
> >
> > % svn co https://svn.apache.org/repos/asf/plugins/trunks 
> maven-plugins
> >
> > % chdir maven-plugins\maven-ejb-plugin
> >
> > % mvn install
> >
> > And you're done.
> >
> > PS: I want to pass the archive (maven-ejb-plugin-2.1-SNAPSHOT.jar)
> > to other developers in my team, who probably will need it.
> > Is there a standard maven method for this process?
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

--
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


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

Posted by Wayne Fay <wa...@gmail.com>.
Yes, tell them to download from SVN and "mvn install" it. ;-)

Or... if you have a corporate repo (configured in pom with snapshot =
true), you could put the snapshot there and their Maven2 should
download and use it the next time Maven updates itself or you run "mvn
-U".

Wayne

On 8/3/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
>
> Nevermind. The default m2 ejb plug-in has a bug.
>
> Building the plug-in from Subversion source code work.
>
> Essentially, get a copy of Subversion for Windows.
>
> % svn co https://svn.apache.org/repos/asf/plugins/trunks maven-plugins
>
> % chdir maven-plugins\maven-ejb-plugin
>
> % mvn install
>
> And you're done.
>
> PS: I want to pass the archive (maven-ejb-plugin-2.1-SNAPSHOT.jar)
> to other developers in my team, who probably will need it.
> Is there a standard maven method for this process?
>

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