Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven dependency with MySQL

I need to specify the MySQL database with the help of Maven 2. In the dependency, what kind of groupID and artifactID shall I use?

How can one find groupID and artifactID`s for different products? That is, I don't know those for MySQL, or they are not important? How does it work?

like image 292
Artem Moskalev Avatar asked May 22 '12 21:05

Artem Moskalev


1 Answers

The main Maven repository is located at repo.maven.apache.org. You can search it (for packages) at the site http://search.maven.org. A search for mysql turns up the mysql-java-connector, which is probably what you want. The groupid and artifactid are listed on the search page.

like image 85
matt5784 Avatar answered Oct 31 '22 16:10

matt5784