Skip to content

Commit f0ebc61

Browse files
committed
Update github-action, jgit, junit 6, jetty
1 parent a1a0dc3 commit f0ebc61

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.github/workflows/gradle-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ on:
1212

1313
jobs:
1414
build-and-test:
15-
uses: centic9/actions/.github/workflows/gradle-build.yml@8
15+
uses: centic9/actions/.github/workflows/gradle-build.yml@9
1616
with:
1717
fullCheckout: true

.github/workflows/maven-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ on:
1212

1313
jobs:
1414
build-and-test:
15-
uses: centic9/actions/.github/workflows/maven-build.yml@8
15+
uses: centic9/actions/.github/workflows/maven-build.yml@9
1616
with:
1717
fullCheckout: true

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The JGit framework is rich and diverse, it has two layers, a low-level _api_ and
1010

1111
This project tries to provide a collection of ready-to-run snippets which provide a quick start for building functionality using JGit.
1212

13-
Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively.
13+
Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](https://download.eclipse.org/jgit/site/7.4.0.202509020913-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively.
1414

1515
*Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.*
1616

@@ -140,12 +140,12 @@ Another simple way to start the sample-server is to run `./gradlew run` in the h
140140

141141
* Iterate all commits of a repository: https://gerrit.googlesource.com/plugins/branch-network/+log/refs/heads/master/src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/JGitFacade.java
142142
* Take some of the unit tests as example: https://github.com/eclipse/jgit/tree/master/org.eclipse.jgit.test/tst/org/eclipse/jgit/api
143-
* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/org/eclipse/jgit/submodule/package-frame.html
143+
* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/7.4.0.202509020913-r/apidocs/org/eclipse/jgit/submodule/package-frame.html
144144
* Diffing: http://stackoverflow.com/questions/12987364/how-to-diff-with-two-files-by-jgit-without-creating-repo
145145
* Amend a previous commit: http://stackoverflow.com/questions/4772142/jgit-unstaging-files-removing-files-from-the-index-and-ammending-a-commit
146146
* Remove a file from the index: http://stackoverflow.com/questions/4803462/jgit-java-git-library-unstaging-files
147147
* Git repo on Amazon S3: http://stackoverflow.com/questions/8744611/git-repository-on-s3-as-origin-not-as-backup http://stackoverflow.com/questions/7031729/publish-to-s3-using-git http://www.fancybeans.com/blog/2012/08/24/how-to-use-s3-as-a-private-git-repository/
148-
* CherryPick: https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent
148+
* CherryPick: https://download.eclipse.org/jgit/site/7.4.0.202509020913-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent
149149
* More authentication: http://www.lordofthejars.com/2016/09/authenticating-with-jgit.html
150150
* How to do a shallow clone (i.e. --depth 1) as soon as https://bugs.eclipse.org/bugs/show_bug.cgi?id=475615 is implemented
151151

@@ -157,7 +157,7 @@ If you find these snippets useful and would like to support it, you can [Sponsor
157157

158158
The following sources were used to build the snippets:
159159

160-
* [JGit JavaDoc](https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/)
160+
* [JGit JavaDoc](https://download.eclipse.org/jgit/site/7.4.0.202509020913-r/apidocs/)
161161
* [JGit User Guide](http://wiki.eclipse.org/JGit/User_Guide)
162162
* [JGit related questions on stackoverflow](http://stackoverflow.com/questions/tagged/jgit)
163163
* [AlBlue's Blog: Embedding JGit](http://alblue.bandlem.com/2013/11/embedding-jgit.html)

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ repositories {
88
}
99

1010
dependencies {
11-
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.3.0.202506031305-r'
12-
implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:7.3.0.202506031305-r'
13-
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:7.3.0.202506031305-r'
14-
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:7.3.0.202506031305-r'
11+
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.4.0.202509020913-r'
12+
implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:7.4.0.202509020913-r'
13+
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:7.4.0.202509020913-r'
14+
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:7.4.0.202509020913-r'
1515
implementation 'commons-io:commons-io:2.20.0'
1616
implementation 'org.slf4j:slf4j-simple:2.0.17'
1717

1818
// optional dependency of commons-compress which is needed by JGit
1919
implementation 'org.tukaani:xz:1.9'
2020

21-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.4'
22-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.4'
23-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.4'
21+
testImplementation 'org.junit.jupiter:junit-jupiter-api:6.0.0'
22+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:6.0.0'
23+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:6.0.0'
2424
}
2525

2626
test {

httpserver/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ repositories {
2626
}
2727

2828
dependencies {
29-
implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:7.3.0.202506031305-r'
30-
implementation 'org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.23'
29+
implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:7.4.0.202509020913-r'
30+
implementation 'org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.28'
3131

3232
implementation 'org.slf4j:slf4j-simple:2.0.17'
3333
}

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@
2626
<dependency>
2727
<groupId>org.eclipse.jgit</groupId>
2828
<artifactId>org.eclipse.jgit</artifactId>
29-
<version>7.3.0.202506031305-r</version>
29+
<version>7.4.0.202509020913-r</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>org.eclipse.jgit</groupId>
3333
<artifactId>org.eclipse.jgit.archive</artifactId>
34-
<version>7.3.0.202506031305-r</version>
34+
<version>7.4.0.202509020913-r</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.eclipse.jgit</groupId>
3838
<artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
39-
<version>7.3.0.202506031305-r</version>
39+
<version>7.4.0.202509020913-r</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>org.eclipse.jgit</groupId>
4343
<artifactId>org.eclipse.jgit.ssh.apache</artifactId>
44-
<version>7.3.0.202506031305-r</version>
44+
<version>7.4.0.202509020913-r</version>
4545
</dependency>
4646

4747
<dependency>

0 commit comments

Comments
 (0)