-
Notifications
You must be signed in to change notification settings - Fork 4
Publish to maven central #2
Comments
Hi @kopper, thanks for your interest in this. I was actually thinking about doing this just the other day. As you mention, I will have to change the package name since Maven Central has extremely strict guidelines about having to have control over the domain your groupId is a reverse of. Following that, I'll likely publish to JFrog's jCenter first, and then sync to Maven Central from there. Reason being that many projects (especially Android projects, which is my common purview) use jCenter these days rather than Maven Central. Hopefully I'll be able to get this all done soon, but with the holidays it might take a bit (especially since all Maven Central additions are manually reviewed, if their process hasn't changed since I last tried). Thanks! |
jcenter is fine for me 😇 -> I'm also using jcenter -> https://github.com/JabRef/jabref/blob/master/build.gradle#L51 |
Excellent, that makes it much simpler! |
Hi @koppor, as you can see here on Bintray, I have uploaded java-diff-utils and have managed to get it linked into jCenter. You should now be able to resolve the dependency by adding this line to your compile 'com.github.bkromhout:java-diff-utils:2.1.1' Once you verify that it works for you, I'll add that to the README so everyone can benefit. |
The JAR is only 1kb in size and only contains an empty MANIFEST.MF |
Ha, well that certainly isn't right! Let me take a look, I clearly must have missed something 😅 |
@koppor Yep, bit of a snafu with the project structure. It should be correct this time around, I've verified the JAR actually contains the classes this time. Sorry about that! |
This time, I can confirm that it works fine: https://travis-ci.org/JabRef/jabref/builds/178358084 Thank you for the quick action! 👍 |
Could you continue trying to publish to maven central? 😇 VersionEye does not crawl repos offered by jFrog and cannot change this behavior (non-technical reasons). |
This fork seems to be the most actively maintained, therefore I propose to publish this work on MavenCentral. For that, the GroupId has to be adapted.
Currently, the groupId is
com.github.java-diff-utils
: (https://github.com/bkromhout/java-diff-utils/blob/master/build.gradle#L4) I think, this should be changed tocom.github.bkromhout
.Minor comment: The Changelog states a change in the groupId (commit: 42d93b3):
This change was introduced at https://github.com/jycr/java-diff-utils and does not affect this repository.
jp.skypencil.java-diff-utils
is also available on MavenCentral: http://search.maven.org/#search%7Cga%7C1%7Cjava-diff-utils - I would, however, not go back to com.googlecode as this has no relation with this repository here (bkromhout
).After the change of the groupId, this fork can be published to MavenCentral.
The modern gradle way seems to be https://docs.gradle.org/current/userguide/publishing_maven.html. One can also just generate the POM required for publishing: https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven:generate-pom
The text was updated successfully, but these errors were encountered: