Re: Maven2 compilation problem

2008-04-17 Thread Wayne Fay
as) also a dependency and the version > being used contained an older version of mail.InternetAddress. > > Thanks for your help. > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 17, 2008 3:42 PM > To: Maven Users List > S

RE: Maven2 compilation problem

2008-04-17 Thread Granse, Erik A
Subject: Re: Maven2 compilation problem Unjar the file, dig into the files, and make sure that method exists. You might even decompile it to be sure. Wayne On 4/17/08, Granse, Erik A <[EMAIL PROTECTED]> wrote: > I'm in the process of migrating from Maven1 to Maven2 (using v. 2.0.8)

Re: Maven2 compilation problem

2008-04-17 Thread Wayne Fay
Unjar the file, dig into the files, and make sure that method exists. You might even decompile it to be sure. Wayne On 4/17/08, Granse, Erik A <[EMAIL PROTECTED]> wrote: > I'm in the process of migrating from Maven1 to Maven2 (using v. 2.0.8) > and have run into a problem I'm unable to solve. Whe

Maven2 compilation problem

2008-04-17 Thread Granse, Erik A
I'm in the process of migrating from Maven1 to Maven2 (using v. 2.0.8) and have run into a problem I'm unable to solve. When compiling one of my projects, I receive the following error: cannot resolve symbol symbol : method validate () location: class javax.mail.internet.InternetAddress I've h

Re: maven2 compilation problem

2007-11-14 Thread Stuart McCulloch
On 14/11/2007, Christian Andersson <[EMAIL PROTECTED]> wrote: > > Thank you that was the problem, I had a written multiline > tag in the pom.xml for the first project. > > the best would be if either maven2 complained about this when creating > my first project OR convert "illegal" characters to s

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
Thank you that was the problem, I had a written multiline tag in the pom.xml for the first project. the best would be if either maven2 complained about this when creating my first project OR convert "illegal" characters to something legal. Stuart McCulloch skrev: > On 14/11/2007, Christian Ande

Re: maven2 compilation problem

2007-11-14 Thread Stuart McCulloch
On 14/11/2007, Christian Andersson <[EMAIL PROTECTED]> wrote: > > I have defined it in my second project, otherwise it would not had tried > to load it. since the only plac eI have it in the parent project is in > the dependencymanegment so that I get the same version number for all my > projects..

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
I have defined it in my second project, otherwise it would not had tried to load it. since the only plac eI have it in the parent project is in the dependencymanegment so that I get the same version number for all my projects.. my problem seems to be that maven has created a jar file for my first

Re: maven2 compilation problem

2007-11-14 Thread Nicole Lacoste
Hi Christian, If you want to depend on another artifact you must define the artifact in the depencencies section in the pom of the project that needs the dependecy, not its parent. You can have a dependency management section in a project's parent pom where you declare the version number, so that

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
anyone, this completely stops me from going to maven 2 Christian Andersson skrev: > OK, I have successfully created a pom.xm (with a parent pom.xml) and > built my first maven2 project (minus some stuff described in earlier mails) > > but when I tried to create my second maven2 project that depen

maven2 compilation problem

2007-11-13 Thread Christian Andersson
OK, I have successfully created a pom.xm (with a parent pom.xml) and built my first maven2 project (minus some stuff described in earlier mails) but when I tried to create my second maven2 project that depends on the first one, I got into problems... the second project depends on the first projec