From a4b1c463f67701ead3fd52fb16ab3bef179db703 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 27 Oct 2025 13:48:35 +0100 Subject: [PATCH] Update JGit links to new Eclipse project URLs The previous JGit links lead to 404 page not found. This was [reported over in the git-scm.com repository](https://github.com/git/git-scm.com/issues/2044), and to my utter disappointment the reporter not only did a shoddy job at reporting it there, not only a shoddy job of saying "I cannot find the correct location" instead of typing in "jgit" in the search page that is _linked directly from the 404 page_. And of course the reporter deemed it totally beneath himself to contribute the fix. Sometimes I am not happy in the open source world. Most people there are nice. But not all of them. Signed-off-by: Johannes Schindelin --- book/B-embedding-git/sections/jgit.asc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/B-embedding-git/sections/jgit.asc b/book/B-embedding-git/sections/jgit.asc index fc042563f..74ae05a38 100644 --- a/book/B-embedding-git/sections/jgit.asc +++ b/book/B-embedding-git/sections/jgit.asc @@ -3,7 +3,7 @@ (((jgit)))(((Java))) If you want to use Git from within a Java program, there is a fully featured Git library called JGit. JGit is a relatively full-featured implementation of Git written natively in Java, and is widely used in the Java community. -The JGit project is under the Eclipse umbrella, and its home can be found at https://www.eclipse.org/jgit/[^]. +The JGit project is under the Eclipse umbrella, and its home can be found at https://projects.eclipse.org/projects/technology.jgit[^]. ==== Getting Set Up @@ -22,7 +22,7 @@ Probably the easiest is to use Maven – the integration is accomplished by addi The `version` will most likely have advanced by the time you read this; check https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit[^] for updated repository information. Once this step is done, Maven will automatically acquire and use the JGit libraries that you'll need. -If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from https://www.eclipse.org/jgit/download[^]. +If you would rather manage the binary dependencies yourself, pre-built JGit binaries are available from https://projects.eclipse.org/projects/technology.jgit/downloads[^]. You can build them into your project by running a command like this: [source,console] @@ -155,6 +155,6 @@ Many other commands are available through the Git class, including but not limit This is only a small sampling of JGit's full capabilities. If you're interested and want to learn more, here's where to look for information and inspiration: -* The official JGit API documentation can be found at https://www.eclipse.org/jgit/documentation[^]. +* The official JGit API documentation can be found at https://help.eclipse.org/latest/topic/org.eclipse.egit.doc/help/JGit/User_Guide/User-Guide.html[^]. These are standard Javadoc, so your favorite JVM IDE will be able to install them locally, as well. * The JGit Cookbook at https://github.com/centic9/jgit-cookbook[^] has many examples of how to do specific tasks with JGit.