Commit Graph

593 Commits

Author SHA1 Message Date
Matthias Sohn c70c0acb47 Update eclipse-jarsigner-plugin to 1.3.2
Change-Id: Id5d05d96c392913de7b4451421c2ffb7b63ab83f
2021-09-24 00:19:00 +02:00
Matthias Sohn ed9992896a Prepare 5.9.1-SNAPSHOT builds
Change-Id: I9006e7961111982943ffef496d15bd525959b3e4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-09-08 17:45:20 +02:00
Matthias Sohn dd169769bf JGit v5.9.0.202009080501-r
Change-Id: Ic98ae61b3f327ef72256fd9b2e28510e3a481de7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-09-08 13:01:43 +02:00
Marco Miller 68fbd7817c Upgrade maven-resources-plugin to 3.2.0
Change-Id: Ib0b2dc7c5b781dbc4ce26782c508b8c7e11641ed
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
2020-09-01 14:40:47 -04:00
Marco Miller 2704707749 Upgrade plexus-compiler version to 2.8.8
Change-Id: I827da3973f489b03f9321b065dfb96ad7c29e270
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
2020-09-01 14:40:47 -04:00
Matthias Sohn a3d7240352 Prepare 5.9.0-SNAPSHOT builds
Change-Id: Ia3e8382ec503150979d8acb6161031ccfb7fd921
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-08-27 10:22:51 +02:00
Matthias Sohn bf6b2b9314 JGit v5.9.0.202008260805-m3
Change-Id: Ic4de8340f3ab038e38b239b725b8bd6d6dbee413
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-08-26 14:05:07 +02:00
Thomas Wolf dc856c28ba [releng] Update plexus-compiler to 2.8.7
Change-Id: Idc00c877544af7434c3a71c9ab0b2bd6a2b8fb66
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-08-15 08:40:49 -04:00
Matthias Sohn 3e856ff697 Update Jetty to 9.4.30.v20200611
Change-Id: I9e14502f290483ad755aac30acd1e256f8abc8f8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-07-14 17:41:25 +02:00
David Pursehouse d1577f79c4 Upgrade maven-site-plugin to 3.9.1
Change-Id: I8fd46eef2851d48429b21c543c2441efcb1378fe
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-25 19:05:07 +09:00
David Pursehouse 73717f7660 Upgrade build-helper-maven-plugin to 3.2.0
Change-Id: I1826a1641e026320d433031c45030712977e8151
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-25 16:44:32 +09:00
David Pursehouse b67224005c Upgrade spotbugs to 4.0.4
Change-Id: I774e625efe486383c66a034091da16500677466a
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-25 16:44:32 +09:00
David Pursehouse b2e260e618 Upgrade ecj to 3.22.0
Change-Id: I97a99f6245afb49d916e226b16a5e60927f32353
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-18 18:31:14 +09:00
Matthias Sohn c3db32d51a Remove workaround for signing jars using Tycho plugins
The workaround became obsolete when https://git.eclipse.org/r/#/c/16027/
was released.

Change-Id: Id20f79a1059550c1e5637fec30ae09a202cb2f2a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-06-14 21:11:29 +02:00
Matthias Sohn fa0f47698a Use https for URL of jgit website
Change-Id: Ic9bcbac5de23f670ae6b008a201b1fe9c6478fab
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-06-14 20:39:27 +02:00
Matthias Sohn 1d6385280f Fix CI information in pom.xml
Change-Id: I066702cd9f4465eff919e46fc0cc8558d3f3178b
2020-06-14 20:35:45 +02:00
Matthias Sohn c40ee7b4b9 Use gitiles as scm url in pom.xml for browsing source code
Change-Id: I6c18ffe822f62883d2f331ad77c28ce8afc3ebd8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-06-14 20:34:18 +02:00
Matthias Sohn 96fd562d02 Update API baseline to 5.8.0.202006091008-r
Change-Id: I3afc8a9ec5a49b9dd0b392b56fd1860a6285ec2f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-06-10 15:44:25 +02:00
Matthias Sohn 855842af19 Prepare 5.9.0-SNAPSHOT builds
Change-Id: Ia998e2772df1285a4c674b07201f15d53156eb78
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-06-09 12:51:12 +02:00
David Pursehouse 18050b569f Upgrade maven-project-info-reports-plugin to 3.1.0
Change-Id: I16e24bbec033ea707cb5c5a0ff3c21859e602f39
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-05 02:23:00 -04:00
David Pursehouse 6e6590d27e Upgrade maven-shade-plugin to 3.2.4
Change-Id: Iba47e9304b6f20e8aa4855378bc86063919bb909
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-06-05 02:22:48 -04:00
Matthias Sohn 8d2d683655 Decouple JSch from JGit Core
Motivation: JSch serves as 'default' implementations of the SSH
transport. If a client application does not use it then there is no need
to pull in this dependency.

Move the classes depending on JSch to an OSGi fragment extending the
org.eclipse.jgit bundle and keep them in the same package as before
since moving them to another package would break API. Defer moving them
to a separate package to the next major release.

Add a new feature org.eclipse.jgit.ssh.jsch feature to enable
installation. With that users can now decide which of the ssh client
integrations (JCraft JSch or Apache Mina SSHD) they want to install.
We will remove the JCraft JSch integration in a later step due to the
reasons discussed in bug 520927.

Bug: 553625
Change-Id: I5979c8a9dbbe878a2e8ac0fbfde7230059d74dc2
Also-by: Michael Dardis <git@md-5.net>
Signed-off-by: Michael Dardis <git@md-5.net>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
2020-06-01 01:46:59 +02:00
Matthias Sohn 77848d635b Decouple BouncyCastle from JGit Core
Motivation: BouncyCastle serves as 'default' implementation of
the GPG Signer. If a client application does not use it there is no need
to pull in this dependency, especially since BouncyCastle is a large
library.

Move the classes depending on BouncyCastle to an OSGi fragment extending
the org.eclipse.jgit bundle. They are moved to a distinct internal
package in order to avoid split packages. This doesn't break public API
since these classes were already in an internal package before this
change.

Add a new feature org.eclipse.jgit.gpg.bc to enable installation. With
that users can now decide if they want to install it.

Attempts to sign a commit if org.eclipse.jgit.gpg.bc isn't available
will result in ServiceUnavailableException being thrown.

Bug: 559106
Change-Id: I42fd6c00002e17aa9a7be96ae434b538ea86ccf8
Also-by: Michael Dardis <git@md-5.net>
Signed-off-by: Michael Dardis <git@md-5.net>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
2020-06-01 01:26:22 +02:00
Matthias Sohn efb15a56f7 Update jetty to 9.4.28.v20200408
Change-Id: I6fe26c1efcf812de3102ee82ce67f9e0bc3b0135
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-05-27 02:00:45 +02:00
Matthias Sohn bcf4879781 Update to bouncycastle 1.65 and orbit I20200506000552
Bug: 553206
Change-Id: I867bbe88b847bf6d17f17f6cf8c565cd4a2437cc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-05-06 17:22:45 +02:00
Michael Keppler 6fcd95cfed Upgrade Tycho to 1.7.0
Change-Id: I41d927e53f040750bbf0160dc15d8ca8a3f9f7ca
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2020-05-01 10:34:22 +02:00
David Pursehouse 5072af6524 Upgrade wagon-ssh to 3.4.0
Change-Id: Id9a1bf7fcdba7c011ccff54188dfb1bef8bf8a4b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-04-29 18:34:07 -04:00
David Pursehouse f5be334a44 Upgrade maven-antrun-plugin to 3.0.0
Change-Id: I79d55d1c0b30cddfcc6a188af87ea08d802c4c3c
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-04-16 20:15:45 +09:00
David Pursehouse 2b1d9d697a Upgrade maven-shade-plugin to 3.2.3
Change-Id: Idf84a1a22b250484db5d03cf55c5207be37511b9
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-04-16 20:15:45 +09:00
David Pursehouse b50e4a39b1 Upgrade ecj to 3.21.0
Change-Id: Id337a320a59a77c36866f668ea1e30780bb55f35
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-28 12:41:34 +09:00
Thomas Wolf fd3778b935 Update to org.apache.sshd 2.4.0
Change target platforms to Orbit I20200319180910 and regenerate them.
Change package imports to [2.4.0,2.5.0); adapt code to upstream API
changes.

Maven build: update version in root pom.

Bazel build: update version & hash in WORKSPACE file.

Proxy functionality verified manually using 3proxy (HTTP & SOCKS,
with basic authentication) and ssh -vvv -D7020 localhost (SOCKS, no
authentication).

Bug: 561078
Change-Id: I582f6b98055b013c006f2c749890fe6db801cbaa
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-03-22 00:37:05 +01:00
David Pursehouse 6e0a923e90 Upgrade spotbugs-maven-plugin to 4.0.0
Change-Id: I28369d116eff053e27d6853a3df914e58120fde5
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-17 08:26:53 -05:00
David Pursehouse 753ebf1a34 Upgrade maven-javadoc-plugin to 3.2.0
Change-Id: I355ca6ad9e050bf46d49a6f91365d86213d84b94
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-17 11:09:52 +09:00
David Pursehouse fd5ed7ce15 Upgrade maven-dependency-plugin to 3.1.2
Change-Id: I48b4b8366404b01e394bb2dac08e19f0eebbd759
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-17 11:09:52 +09:00
Thomas Wolf 3573cee637 Set baseline for japicmp to 5.7.0.202003110725-r
Change-Id: Ifef50c9e58c6973676fd24888344e4e1621d0427
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-03-12 16:22:01 -04:00
David Pursehouse 1353dbec22 Upgrade maven-site-plugin to 3.9.0
Change-Id: I966a05b499d3853c39bc3da8c7e5a1abc11d398e
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-11 23:00:18 +09:00
David Pursehouse fe91ecbe7f Upgrade build-helper-maven-plugin to 3.1.0
Change-Id: Iec821c7312ce185d29e64ee6f9852437e2bd99c4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-03-11 22:59:48 +09:00
Matthias Sohn 8fab712f75 Prepare 5.8.0-SNAPSHOT builds
Change-Id: I056b45806a82eae80177932e42e3dc806015351a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-03-09 22:47:10 +01:00
David Pursehouse fa227ede55 Upgrade plexus-compiler-{eclipse|javac|javac-errorprone} to 2.8.6
Change-Id: Ie49e487a2bc10b62db623f2e128fa063bfbc77bf
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-02-17 20:26:12 +09:00
David Pursehouse cc8f02de13 Upgrade maven-shade-plugin to 3.2.2
Change-Id: I63bdd436f04690028ecb493efc92c603a8049eb8
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-02-17 20:26:12 +09:00
David Pursehouse 614d8a15b9 Upgrade maven-pmd-plugin to 3.13.0
Change-Id: I6e20b77db743cd8578aa1f8688f893b746e861d1
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-02-04 18:54:39 +09:00
Matthias Sohn 730b7a5ebf Update Maven plugins
- maven-surefire-plugin to 3.0.0-M4
- japicmp-maven-plugin to 0.14.3

Change-Id: I9191620825e15b03a58c41cf3d3e64c6a58faf0f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-02-02 16:30:57 -05:00
David Pursehouse 8fa3594565 Remove Error-Prone ExpectedExceptionChecker
The checker only checks for misuse of ExpectedException. Since we've
moved to JUnit 4.13 and assertThrows, ExpectedException won't be used
at all, so now we can get rid of that setting.

Change-Id: Ia9189936ae215110f1f5fc6459c5dbc944404ade
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
2020-01-24 16:49:14 +09:00
Matthias Sohn 8ada9048c5 Replace ExpectedException which was deprecated in junit 4.13
Change-Id: I64b0c057dd0a12aef2f3d56fa0c8a10e3b23fffd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-24 15:46:08 +09:00
David Pursehouse c02a57f4fa Update to Orbit I20200120214610 and JUnit to 4.13
Since version 4.13 JUnit has an assertThrows method. Remove the
implementation in MoreAsserts and use the one from JUnit.

CQ: 21439
Change-Id: I086baa94aa3069cebe87c4cbf91ed1534523c6cb
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-22 18:16:14 +01:00
Michael Keppler 926d392ea5 Update to Tycho 1.6.0
Not many changes, but might lead to shorter build times.

Change-Id: I5d629e49e8bbdef7a5b116d4f28cdbf8a8528cf0
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-20 20:20:55 +01:00
Matthias Sohn be49375fb8 Update Orbit to I20200115225246 and update dependencies
update
- javaewah to 1.1.7.v20200107-0831
- org.apache.commons.codec to 1.13.0.v20200108-0001
- org.apache.commons.compress to 1.19.0.v20200106-2343
- org.apache.httpcomponents.httpclient to 4.5.10.v20200114-1512
- org.apache.httpcomponents.httpcore to 4.4.12.v20200108-1212

CQ: 21194
CQ: 21195
CQ: 21199
CQ: 21346
CQ: 21347
Change-Id: I1943f1c3bf1bb5d71b666cb6aea6083e80ff82dc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-16 13:08:32 +01:00
Matthias Sohn 0652b5b213 Upgrade jetty to 9.4.25.v20191220
Change-Id: I6a14c2beec3075eac5807cd639f55f38ae8c9c49
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-15 16:14:17 +01:00
Matthias Sohn db019c473e Merge branch 'stable-5.6'
* stable-5.6:
  Fix API problem filters
  Fix unclosed resource warning in SmartOutputStream
  JschConfigSessionFactory: fix boxing warning
  SshSupport#runSshCommand: don't throw exception in finally block
  Don't override already managed maven-compiler-plugin version
  Remove unused import from CreateFileSnapshotBenchmark
  Remove duplicate ignore_optional_problems entry in .classpath
  Update maven-site-plugin used by benchmark module to 3.8.2
  Add dependency to enable site generation for benchmark module
  Ignore warnings for generated source code in
org.eclipse.jgit.benchmark
  Fix MBean registration
  Enhance WindowCache statistics

Change-Id: I4a77c602bfffed60535d0b8fc251a552b128068d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-09 16:52:56 +01:00
Matthias Sohn d7304eddaf Merge branch 'stable-5.5' into stable-5.6
* stable-5.5:
  Fix API problem filters
  Fix unclosed resource warning in SmartOutputStream
  JschConfigSessionFactory: fix boxing warning
  SshSupport#runSshCommand: don't throw exception in finally block
  Don't override already managed maven-compiler-plugin version
  Remove unused import from CreateFileSnapshotBenchmark
  Remove duplicate ignore_optional_problems entry in .classpath
  Update maven-site-plugin used by benchmark module to 3.8.2
  Add dependency to enable site generation for benchmark module
  Ignore warnings for generated source code in
org.eclipse.jgit.benchmark
  Fix MBean registration
  Enhance WindowCache statistics

Change-Id: I11f9a387ac3dc7d22a4f2e70bb8d89169b4e9afe
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2020-01-09 13:15:12 +01:00