Skip to content

Commit

Permalink
Update to JGit 4.9.0, commons-io 2.6, jetty 9.3.22 and slf4j-simple 1…
Browse files Browse the repository at this point in the history
….7.25
  • Loading branch information
centic9 committed Nov 28, 2017
1 parent c0f0d59 commit dc2c8c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The JGit framework is rich and diverse, it has two layers, a low-level _api_ and

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

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](http://download.eclipse.org/jgit/site/4.7.1.201706071930-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.
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](http://download.eclipse.org/jgit/site/4.9.0.201710071750-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.

*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.*

Expand Down Expand Up @@ -118,15 +118,15 @@ Just import the project in your IDE and start up the `Main` application, see the
* Amend a previous commit: http://stackoverflow.com/questions/4772142/jgit-unstaging-files-removing-files-from-the-index-and-ammending-a-commit
* Remove a file from the index: http://stackoverflow.com/questions/4803462/jgit-java-git-library-unstaging-files
* 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/
* Doing stuff without local storage: Using org.eclipse.jgit.storage.dfs.InMemoryRepository to clone a Git repo in-memory and work from there, see http://download.eclipse.org/jgit/site/4.7.1.201706071930-r/apidocs/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.html
* CherryPick: http://download.eclipse.org/jgit/site/4.7.1.201706071930-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
* Doing stuff without local storage: Using org.eclipse.jgit.storage.dfs.InMemoryRepository to clone a Git repo in-memory and work from there, see http://download.eclipse.org/jgit/site/4.9.0.201710071750-r/apidocs/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.html
* CherryPick: http://download.eclipse.org/jgit/site/4.9.0.201710071750-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
* More authentication: http://www.lordofthejars.com/2016/09/authenticating-with-jgit.html

#### Sources

The following sources were used to build the snippets:

* [JGit JavaDoc](http://download.eclipse.org/jgit/site/4.7.1.201706071930-r/apidocs/)
* [JGit JavaDoc](http://download.eclipse.org/jgit/site/4.9.0.201710071750-r/apidocs/)
* [JGit User Guide](http://wiki.eclipse.org/JGit/User_Guide)
* [JGit related questions on Stackoverflow](http://stackoverflow.com/questions/tagged/jgit)
* [AlBlue's Blog: Embedding JGit](http://alblue.bandlem.com/2013/11/embedding-jgit.html)
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repositories {
}

dependencies {
compile 'org.eclipse.jgit:org.eclipse.jgit:4.7.1.201706071930-r'
compile 'org.eclipse.jgit:org.eclipse.jgit.archive:4.7.1.201706071930-r'
compile 'commons-io:commons-io:2.5'
compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'org.eclipse.jgit:org.eclipse.jgit:4.9.0.201710071750-r'
compile 'org.eclipse.jgit:org.eclipse.jgit.archive:4.9.0.201710071750-r'
compile 'commons-io:commons-io:2.6'
compile 'org.slf4j:slf4j-simple:1.7.25'

testCompile 'junit:junit:4.12'
}
Expand Down
6 changes: 3 additions & 3 deletions httpserver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ repositories {
}

dependencies {
compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:4.7.1.201706071930-r'
compile 'org.eclipse.jetty:jetty-servlet:9.3.14.v20161028'
compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:4.9.0.201710071750-r'
compile 'org.eclipse.jetty:jetty-servlet:9.3.22.v20171030'

compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'org.slf4j:slf4j-simple:1.7.25'
}

task wrapper(type: Wrapper) {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>4.7.1.201706071930-r</version>
<version>4.9.0.201710071750-r</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.archive</artifactId>
<version>4.7.1.201706071930-r</version>
<version>4.9.0.201710071750-r</version>
</dependency>

<dependency>
Expand Down

0 comments on commit dc2c8c6

Please sign in to comment.