maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Creating jar for RMI client
Date Thu, 22 Oct 2009 11:57:25 GMT
I believe someone did send you a link already!?
The info is in the plugin docs:
http://maven.apache.org/plugins/maven-jar-plugin/usage.html
look for "How to create an additional attached jar artifact from the
project"
/Anders

On Thu, Oct 22, 2009 at 13:45, Michael Remijan <mjremijan@yahoo.com> wrote:

> No, it's not an EJB and it's not an Java EE application.  It's a
> client-server application using RMI.
>
> I somehow need to get 2 jar files out of the same project.
>
> JAR#1 will have all the class files from the project. This is the RMI
> Server.
>
> JAR#2 will have just a subset of those from the JAR#1.  These are the
> classes which the RMI Client needs.  I want to pull JAR#2 into the RMI
> Client application as a dependency.
>
> This is pretty simple stuff but the Maven plugin docs are very limited and
> I can't figure this out.  I need a real example of how to do this.
>
>
>
>
> ________________________________
> From: Anders Hammar <anders@hammar.net>
> To: Maven Users List <users@maven.apache.org>
> Sent: Wed, October 21, 2009 11:31:04 PM
> Subject: Re: Creating jar for RMI client
>
> Is it an EJB client jar your asking about? Have a look here:
>
> http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html
>
> /Anders
>
> On Thu, Oct 22, 2009 at 04:08, Michael Remijan <mjremijan@yahoo.com>
> wrote:
>
> > I'm working on a older app which is an RMI server and client.  The client
> > application needs interface classes and stub classes from the server and
> > previously we did this with ANT just pulling out the classes we needed. I
> > can't figure out how to do with with Maven though. Basically I need to
> > create an rmi client jar that's just a subset of the server jar.  How can
> I
> > do this?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message