gumtree icon indicating copy to clipboard operation
gumtree copied to clipboard

Update Maven Repo with current version

Open SaliZumberi opened this issue 8 years ago • 11 comments

Hi Jean-Rémy

I want to build a tool on top of gumtree :) and would really appreciate if you could update the maven repo

best sali

SaliZumberi avatar May 21 '18 13:05 SaliZumberi

Done ;)

jrfaller avatar Mar 05 '19 21:03 jrfaller

Done ;)

Hi, standing at 2021, I found that the maven repo (https://mvnrepository.com/artifact/com.github.gumtreediff/core, and https://search.maven.org/artifact/com.github.gumtreediff/core/2.1.2/jar) has not been updated since 2.1.2, do you have any plan to keep it up to date since now we have 3.0.0 version?

Symbolk avatar Mar 26 '21 07:03 Symbolk

Maven packages are now released on github packages, there is a snapshot and 3.0.0-beta2.

Cheers

jrfaller avatar Mar 26 '21 07:03 jrfaller

Maven packages are now released on github packages, there is a snapshot and 3.0.0-beta2.

Cheers

Yeah, I kind of noticing that after the issue :->, I am just checking out how to configure gradle to use Github package.

Symbolk avatar Mar 26 '21 07:03 Symbolk

Maybe you can provide a doc when you manage to get it working ;)

Cheers!

jrfaller avatar Mar 26 '21 09:03 jrfaller

Maybe you can provide a doc when you manage to get it working ;)

Cheers!

Yeah, I think it is not hard, the only extra step is to add the registry beside the mavenCentral(), with authentication, as you have done here: https://github.com/GumTreeDiff/gumtree/blob/961191bd9513faa962e3ee89a7fe091831b6f64c/build.gradle#L132-L141

By the way, how do you configure the username and token as the Gradle property (in command line, property file and IDEA)? I looked at that but am still confused.

Symbolk avatar Mar 27 '21 03:03 Symbolk

I use a property file locally and an environment variable in the CI

jrfaller avatar Mar 29 '21 11:03 jrfaller

I use a property file locally and an environment variable in the CI

Alright, I think I am figuring out how to do it, should I contribute a doc in wiki/Getting Started/Installation about how to consume the latest version from GitHub Packages with Gradle (and even Maven)?

Symbolk avatar Mar 30 '21 13:03 Symbolk

Alright, I think I am figuring out how to do it, should I contribute a doc in wiki/Getting Started/Installation about how to consume the latest version from GitHub Packages with Gradle (and even Maven)?

If you could it would be awesome!!

Cheers

jrfaller avatar Mar 31 '21 07:03 jrfaller

Wiki done here! @jrfaller

Symbolk avatar Apr 01 '21 13:04 Symbolk

Awesome! Thanks

jrfaller avatar Apr 01 '21 15:04 jrfaller