1

I am trying to programatically connect to a STASH repository from a Java class. I have had a look and I cannot find any Java clients to do this. Has anyone come across any?

The reason I want to connect to a STASH repository is that I am writing a Maven plugin that will go to a Git repository in STASH and return a list of commits and then Jiras for a given tag.

Any help would be greatly appreciated.

SQB
  • 3,926
  • 2
  • 28
  • 49
rascal1981
  • 11
  • 2

1 Answers1

0

(Consolidating two answers given in comments as a Community Wiki answer)

First of all, there's JGit:

JGit is an EDL (new-style BSD) licensed, lightweight, pure Java library implementing the Git version control system.

And then there's the Stash Java Client:

The Stash Java Client, is a small, light-weight Java library that can be used to interface with a Stash instance via its REST API.

SQB
  • 3,926
  • 2
  • 28
  • 49
  • stash java client doesn't have any builds available so it is mostly useless – Krzysztof Krasoń Sep 23 '15 at 11:51
  • @krzyk Please feel free to edit this (cw) answer as you see fit; I was only consolidating two comments as an answer, since comments are not as solid as answers. – SQB Sep 23 '15 at 12:46