You should include the dependency code given in this page to add Maven Dependency of mysql >> mysql-connector-java version5.1.1 in your project.
In this page we are going to discuss about mysql-connector-java version 5.1.1 maven dependencies. Maven tool is project management tool which you use to manage your project and easily use mysql-connector-java version 5.1.1 dependency by just including the code discussed here in pom.xml file of your Maven project.
Maven dependency automatically download dependent library of mysql-connector-java version 5.1.1 and include the necessary jar files in the project.
Code given here should be included inside <dependencies> ...... </dependencies> tag in the Maven configuration file pom.xml.
We also explained you dependency code of different build system like Gradle Dependency, SBT Dependency, Ivy Dependency, Grape Dependency etc...
Maven dependency of mysql-connector-java version 5.1.1:
<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.1</version> </dependency>
Gradle Dependency of mysql-connector-java version 5.1.1
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.1'
SBT Dependency of mysql-connector-java version 5.1.1
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.1"
Ivy Dependency of mysql-connector-java version 5.1.1
<dependency org="mysql" name="mysql-connector-java" rev="5.1.1"/>
Grape Dependency of mysql-connector-java version 5.1.1
@Grapes( @Grab(group='mysql', module='mysql-connector-java', version='5.1.1') )
Leiningen Dependency of mysql-connector-java version 5.1.1
Buildr Dependency of mysql-connector-java version 5.1.1
Posted on: June 17, 2017 If you enjoyed this post then why not add us on Google+? Add us to your Circles