How would you like B and C included?

You could refer to them in the manifest of A's jar.

You could explode them and include all the classes in A's jar.

You could include their jars in A's jar somewhere.

-- Lee

On 2/16/06, Gerard Garrigan <[EMAIL PROTECTED]> wrote:
>
> My apologies,
>
> To make it easier, I've been asked to "mavenise" project A. Project A
> relies on classes contained in projects B and C. Projects B and C are
> not Maven projects. Project A when jarred using Maven does not contain
> references to these files and does not run correctly. Is there some way
> of including the B and C classes in the build?
>
> Thanking you,
>
> Ger
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Lee Meador
> Sent: 16 February 2006 15:35
> To: Maven Users List
> Subject: Re: Maven 2.0: Referring to another projects classes using
> maven
>
> I'm having trouble figuring out what you want to do.
>
> Who is "he" and which of the projects are "his"?
>
> How are the "other" projects built and referenced from the project you
> are
> using maven with?
>
> Are you building the other projects with maven2?
>
> On 2/16/06, Gerard Garrigan <[EMAIL PROTECTED]>
> wrote:
> >
> >  Hello,
> >
> >
> >
> > I've been asked to move a project over to maven. This project refers
> to
> > classes in two other projects. So when the jar is built it contains
> his
> > projects classes and any classes he refers to. However when I use
> maven the
> > jar only contains his project classes and no other. How do I refer to
> the
> > other classes using maven?
> >
> >
> >
> > Thanks in advance for any help,
> >
> >
> >
> > *Ger Garrigan
> > **Software Engineer**
> > **
> > Castlewood House, Castlewood Ave,
> > Rathmines, Dublin 6, Ireland.
> > **Tel:  +353 1 4060738   Fax:  +353 1 4060748
> > **www.precisionsoftware.com*
> >
> >
> >
> >
> >
>
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to