[CONJ-3] Maven repository for MariaDB client Created: 2012-12-06 Updated: 2015-01-20 Resolved: 2014-04-04 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.7 |
| Type: | Task | Priority: | Minor |
| Reporter: | Claudiu Dumitrescu | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 13 |
| Labels: | jdbc | ||
| Issue Links: |
|
||||||||
| Description |
|
It would be nice to have a Maven repository from where to get the client jar. |
| Comments |
| Comment by Vladislav Vaintroub [ 2012-12-06 ] |
|
I do not mind to do it, however I have to admit I being not well versed in Maven. We use Maven currently because Drizzle-JDBC used it, and because it runs test suite and produces packages nicely (I freely admit being not well versed in latest Java trends, where "latest" is anything newer than 2004 |
| Comment by Claudiu Dumitrescu [ 2012-12-06 ] |
|
You can take a look here for how to install it on Maven Central repo: http://maven.apache.org/guides/mini/guide-central-repository-upload.html |
| Comment by Vladislav Vaintroub [ 2013-07-01 ] |
|
I created ticket https://issues.sonatype.org/browse/OSSRH-6558, so lets see how this works out |
| Comment by Andrew Gaul [ 2013-09-13 ] |
|
Any progress on this issue? Most Java projects I use bring their external dependencies in via Maven Central. |
| Comment by Maurice Betzel [ 2013-09-17 ] |
|
Maven would be really cool. |
| Comment by Vladislav Vaintroub [ 2013-09-17 ] |
|
If someone of you guys , who thinks mariadb in maven public repo would be cool, ctranslate maven-ish response to https://issues.sonatype.org/browse/OSSRH-6558 into plain English instructions what to do (without reading documentation, because it is written in Mavenish), this could speed up the process considerably. |
| Comment by Neale [ 2013-09-23 ] |
|
It looks like you're ready to rock and roll. I have a tendency to avoid the mvn release:perform step for doing the uploads, and instead:
You'll need PGP sorted as per https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven (which might just work if you've already got PGP set up). Once done, you can then log-in to https://oss.sonatype.org/
You could even get the community to try out the staging repository before releasing it, as once it's released, there's no deleting it due to all the mirrors. |
| Comment by Vladislav Vaintroub [ 2013-09-23 ] |
|
Neale, thanks. |
| Comment by Neale [ 2013-09-23 ] |
|
Hi, There's no reason it shouldn't be possible. Jenkins and other build servers deploy using their own tools. It's just WebDAV with some standards for the folder structure. The following should do the job (with appropriate auth): curl -T [artifact.jar] https://oss.sonatype.org/service/local/staging/deploy/maven2/org/mariadb/jdbc/mariadb-java-client/1.1.5/ |
| Comment by Darren Shepherd [ 2014-01-23 ] |
|
Is there anything I can do to help with this? I'd really like to get the mariadb driver into Maven Central. According to the Sonatype docs https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven it seems like if you already have a release and have a pom and jar file then you can just run the below command against the existing files. If you don't have the pom of the jar file, it is inside the jar in the META-INF/maven/... folder. It should use whatever GPG key you have configured locally and it will prompt for the passphrase $ mvn gpg:sign-and-deploy-file |
| Comment by Michael Vorburger [ 2014-02-20 ] |
|
+1... note that someone already pushed a |
| Comment by Massimo Siani (Inactive) [ 2014-03-31 ] |
|
Hi, |
| Comment by Vladislav Vaintroub [ 2014-04-01 ] |
|
Massimo, I bet Georg won't argue if you just grab it and assign to yourself |
| Comment by Massimo Siani (Inactive) [ 2014-04-04 ] |
|
Uploaded: http://search.maven.org/#artifactdetails%7Corg.mariadb.jdbc%7Cmariadb-java-client%7C1.1.7%7Cjar |
| Comment by Georg Richter [ 2014-04-04 ] |
|
Maven repository now contains MariaDB JDBC. |