Bug #67245 MySQL Connector/J 5.1.22 not available in Maven repo
Submitted: 15 Oct 2012 21:43 Modified: 16 Oct 2012 20:13
Reporter: Dragisa Krsmanovic Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.22 OS:Any
Assigned to: CPU Architecture:Any

[15 Oct 2012 21:43] Dragisa Krsmanovic
Description:
Please deploy latest Connector/J to Maven central repo. 

5.1.22 was released September 11th but, one month later (10/15), the latest version available in Maven is still 5.1.21 

How to repeat:
Try adding this to your pom.xml:

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.22</version>
</dependency>
[15 Oct 2012 22:11] MySQL Verification Team
Thank you for the bug report. Are you no able to get it from another repository (here isn't forum for website issue). Thanks.
[15 Oct 2012 23:00] Dragisa Krsmanovic
The issue is regarding latest version of Connector/J not being available in Maven. 

Which other repositories are you suggesting ?
[16 Oct 2012 0:09] MySQL Verification Team
I can get it from here i.e:

dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.22.tar.gz/from/http://cdn.mysql.com/
[16 Oct 2012 0:39] Dragisa Krsmanovic
The link which you posted doesn't seem to be a valid Maven repository. 

What should I set in <repositories> in my pom file to use this alternative location ?
[16 Oct 2012 19:24] MySQL Verification Team
Sorry what I understood you want to download the package, anyway how I said you here isn't forum to handle that kind of issue, however if I will find answer for that I will write here. Thanks.
[16 Oct 2012 20:13] Dragisa Krsmanovic
I think it would be a good idea to have somebody who understands Java development and Connector/J take a look at this ticket.
[17 Oct 2012 15:22] Biff Labs
This is a reproducible issue affecting Maven users of Connector/J; the 5.1.22 bits need to be present on repo1.maven.org in order for Maven users to be able to automatically download the library.

See 47158 for a similar issue that was fixed on the MySQL.com side
[20 Nov 2012 14:16] Tim Böhler
It's now nearly the end of November and the artifact is still missing in the Central Maven Repository. Please fix this issue.
[11 Dec 2012 14:16] Joel Orlina
The synchronization process that publishes these files to Maven Central was interrupted as we re-organized our automated jobs.  That interruption was corrected in the first week of November.  Version 5.1.22 of the MySQL connector is available on Maven Central here:

http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.22/

And is discoverable via search.maven.org:

http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22mysql-connector-java%22