gitlab4j-api
gitlab4j-api copied to clipboard
merge_commit_template is not in maven central repo for versionId 6.0.0-rc.4
Hi. I'm trying to set the merge_commit_template using ProjectApi. I've noticed that it was introduced in 6.X I'm using the 6.0.0-rc.4 maven dependency downloaded from maven central and I don't see those changes in the source code.
Is 6.0.0-rc.4 uploaded to maven central repo? Thank you very much in advance
Best regards
When I talk about source code I mean the jar with source code in maven central repo
The tag is in the repo: https://github.com/gitlab4j/gitlab4j-api/releases/tag/gitlab4j-api-6.0.0-rc.4
The jar is on maven central: https://repo1.maven.org/maven2/org/gitlab4j/gitlab4j-api/6.0.0-rc.4/gitlab4j-api-6.0.0-rc.4.jar
Maybe you want to use a change that was done after the tag?
The changes I mentioned were made in commit 45d6da03bcb3d5f2da33f5cfa0699620c4f527bd (Feb-09-2024) in classes ProjectApi.java and Project.java
The rc.4 was sent to maven project Dec-29-2023. Obviously is previous to the changes in those classes
My question is: Is there an estimated date when those changes will be uploaded to maven central repo?
Thank you very much in advance Best regards
Additional Comment: Those changes were merged to main branch and 6.X
I've tried to get the latest version from jitpack.io
This is what I get from jitpack.io
How can I get the latest version (it is merged to main branch) ?
Thank you very much in advance Best regards Alfredo
Maybe the version is not main-SNAPSHOT but just -SNAPSHOT (I just found it in the docs)
I see the build here: https://jitpack.io/#gitlab4j/gitlab4j-api/-SNAPSHOT
But I did not manage to fetch it.
The build logs looks good: https://jitpack.io/com/github/gitlab4j/gitlab4j-api/main-gitlab4j-api-5.5.0-g6c06521-9/build.log
Personally I want to decide of updates of my dependency myself so I am always referencing dependency from jitpack using the commit id:
Example for commit 4ac5e9c56b2a6c00a5b15134f39346e67a1c2e35:
I use:
<dependency>
<groupId>com.github.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>4ac5e9c56b</version>
</dependency>