This should work:

<dependency>
   <groupId>mysql</groupId>
   <artifactId>mysql-connector-java</artifactId>
   <version>5.0.4</version>
</dependency>

I found this by searching mvnrepository.com for "mysql".

Matt

On 2/19/07, Scott Purcell <[EMAIL PROTECTED]> wrote:




Hello,



Over the weekend, I downloaded I believe 1.6 or 1.7 Equinox [ struts,
hibernate, spring] combo. Anyway I was unable to get past the tests because
the pom did not contain my mysql driver. It contains the postgres, but that
isn't what I am running.



When I look at the existing pom, I see the postgres entry, but I am not sure
what to put in for the mysql entry? Is there a way or document that explains
the values that go into the file. I went to the mysql site, but didn't see
anything for maven there that shows the values.



Also, I was not running Maven on my home dev box, but it downloaded and
create a directory of all the jars under my ~/mvn/repository. That was cool.
I guess ant did that?



Thanks,

Scott





Here is postgres example:

<dependency>

      <groupId>postgresql</groupId>

      <artifactId>postgresql</artifactId>

      <version>8.1-404.jdbc3</version>

    </dependency>






--
http://raibledesigns.com

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

Reply via email to