Hi sorting is not happening successfully with Maven Artifact ChoiceListProvider (Nexus) w.r.t the artifact versioning.
Reason: It is doing simple string sorting, artifact version not considered.
Example attached.
Stephan Watermeyer any luck with this? Please let me know if you need any help.
Shyam
Hi Shyam, not yet. No issue with that, only lack of time.
The issue is with the TreeSet as https://github.com/jenkinsci/maven-artifact-choicelistprovider-plugin/blob/master/src/main/java/org/jenkinsci/plugins/maven_artifact_choicelistprovider/nexus3/Nexus3RestApiSearchService.java#L39
This will add items in the natural order https://github.com/jenkinsci/maven-artifact-choicelistprovider-plugin/blob/master/src/main/java/org/jenkinsci/plugins/maven_artifact_choicelistprovider/nexus3/Nexus3RestApiSearchService.java#L66
Feel free to raise a PR on GitHub. https://github.com/jenkinsci/maven-artifact-choicelistprovider-plugin
thanks Stephan Watermeyer, Any plans to have this fixed?
There is no ETA. Feel free to raise a PR and then i can merge it to get a new release build.
Hi Stephan Watermeyer,
Created a PR JENKINS-60753
Can you verify if it has come through in the correct format?
I work with Shyam and hence updating this case.
Thank & Regards
Sirisha
What is this second issue about? If you want to have this issue fixed you should have raised a PullRequest (a git commit with the fix for your problem) on Github, so that i can merge your commit to the master branch and build a new release.
Hi Stephan,
Thanks for your response. Will create a PR and let you know. You may close the JENKINS-60753
shyam varghese: Have you tried to activate the RESTful interface in the Global Options?
This might solve your problem.