i see


so either

  <dependency>
     <groupId>junit.framework</groupId>
     <artifactId>junit</artifactId>
     <version>3.8.1</version>
  </dependency>

or
  <dependency>
     <id>junit</id>
     <version>3.8.1</version>
  </dependency>

but what is the meaning of the 'type' element?

got it working, thanks for the help





At 08:59 AM 7/2/2003 -0500, you wrote:

You cannot mix <id> and <groupId>.

Dependencies are either
  <id> -- Jar files only
or
  <artifactId>
  <groupId>
  <type> -- optional

hope this helps

-----Original Message-----
From: Christopher Prince [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 8:54 AM
To: Maven Users List
Subject: Re: newbie: can't build


no it is just the email


At 03:44 PM 7/2/2003 +0200, you wrote:

>On 02-07-2003 15:37, "Christopher Prince" <[EMAIL PROTECTED]> wrote:
>
> > the problem occurs when maven attempts to compile the junit test code. The
> > compile fails because it
> > cannot find the junit jar. So I added in a dependency
> >
> > <!-- dependency for junit -->
> > <dependency>
> > <id>juint</id>
> > <groupID>juint</groupID>
> > <version>3.8.1</version>
> > </dependency>
> >
> > and this didn't help at all and there is a junit jar in the repository
> >
> > what's the scoop?
> >
>
>Maybe it's just in your mail, but junit is spelled junit, not juint.
>
>regards
>
>
>m.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to