You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rolf Strijdhorst <ro...@gmail.com> on 2005/12/16 23:56:22 UTC

Fwd: Does project a include project b in the classpath if they are both part of a multi

Hi I'm working with maven2 and using eclipse I have a war project and a jar
project.
when i am using the maven-eclipse plugin and have stated that my war project
has a dependency on my jar project. I do not see the jar in my list of
project dependencies. in the ide.
This seems to cause a problem with my integration of the jetty plugin as
well because it cannot find any of my classes in the jar project when i'm
running jetty6.

The packaged war however works as expected. does anyone have a clue how to
fix it or have a work around for it?

thanx Rolf

Re: Fwd: Does project a include project b in the classpath if they are both part of a multi

Posted by Rolf Strijdhorst <ro...@gmail.com>.
I have included the M2_REPO variable and all my other dependencies appear as
normally in my classpath structure
when i looked in the folder in the repository containing the jar it is
there. as i expected because the war file has the jar included
Regards Rolf

On 12/17/05, Allan Ramirez <ar...@exist.com> wrote:
>
> Hi Rolf,
>
> Have you specified the M2_REPO classpath variable in eclipse? as stated
> in http://maven.apache.org/guides/mini/guide-ide-eclipse.html
>
> regards,
> -allan
>
> Rolf Strijdhorst wrote:
>
> >Hi I'm working with maven2 and using eclipse I have a war project and a
> jar
> >project.
> >when i am using the maven-eclipse plugin and have stated that my war
> project
> >has a dependency on my jar project. I do not see the jar in my list of
> >project dependencies. in the ide.
> >This seems to cause a problem with my integration of the jetty plugin as
> >well because it cannot find any of my classes in the jar project when i'm
> >running jetty6.
> >
> >The packaged war however works as expected. does anyone have a clue how
> to
> >fix it or have a work around for it?
> >
> >thanx Rolf
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date:
> 12/14/2005
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Fwd: Does project a include project b in the classpath if they are both part of a multi

Posted by Allan Ramirez <ar...@exist.com>.
Hi Rolf,

Have you specified the M2_REPO classpath variable in eclipse? as stated 
in http://maven.apache.org/guides/mini/guide-ide-eclipse.html

regards,
-allan

Rolf Strijdhorst wrote:

>Hi I'm working with maven2 and using eclipse I have a war project and a jar
>project.
>when i am using the maven-eclipse plugin and have stated that my war project
>has a dependency on my jar project. I do not see the jar in my list of
>project dependencies. in the ide.
>This seems to cause a problem with my integration of the jetty plugin as
>well because it cannot find any of my classes in the jar project when i'm
>running jetty6.
>
>The packaged war however works as expected. does anyone have a clue how to
>fix it or have a work around for it?
>
>thanx Rolf
>
>  
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005
>
>  
>