aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
Commit message (Collapse)AuthorAgeFilesLines
...
* | | JGit v6.8.0.202311291450-rv6.8.0.202311291450-rMatthias Sohn2023-11-291-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Iecfe3f628cfdc437ee0d63fe52653ef952c8c494
* | | Prepare 6.8.0-SNAPSHOT buildsMatthias Sohn2023-11-221-1/+1
| | | | | | | | | | | | Change-Id: I89178175549541111cddb88da401899960c0ecac
* | | JGit v6.8.0.202311212206-rc1v6.8.0.202311212206-rc1Matthias Sohn2023-11-211-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I6a40cdef68538fa769f4525eb2ff1ed4a810f11c
* | | Update org.apache.commons:commons-compress to 1.25.0Matthias Sohn2023-11-171-1/+1
| | | | | | | | | | | | Change-Id: Ic9c6910853ad00075501aa3e03888fefbe634bf6
* | | Update bouncycastle to 1.77Matthias Sohn2023-11-161-1/+1
| | | | | | | | | | | | Change-Id: I2dc011247ace2eeea8c46587cae55a39be086f36
* | | Update jetty to 10.0.18Matthias Sohn2023-11-151-1/+1
| | | | | | | | | | | | Change-Id: I34c9f7c062400bb69849812d57390dd2e7b04cac
* | | SSH: bump org.apache.sshd to 2.11.0Thomas Wolf2023-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update maven build, bazel build, and target platform. Also remove a file in a ./bin directory that got committed by mistake in commit f5f4bf0ad. Change-Id: Ia653c71643f8fad290874d723dacdafbef25c13f Signed-off-by: Thomas Wolf <twolf@apache.org>
* | | Update mockito to 5.7.0 and bytebuddy to 1.14.9Matthias Sohn2023-11-091-0/+21
| | | | | | | | | | | | Change-Id: I7c93847054050a0af0d2c16e724e5755f9fa33bf
* | | Enable Maven reproducible buildsMatthias Sohn2023-11-091-3/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - configure Maven to run build reproducibly [1] - use UTC timestamp of checked out commit as build timestamp - add git-describe, git-commit-id, git-commit-id, git-tags, git-remote-origin-url to MANIFEST.MF files - configure cyclonedx-maven-plugin to also use UTC timestamp of checked out commit - for packaging build use tycho-buildtimestamp-jgit [2] to ensure version uses the timestamp of the last commit - SBOMs are not reproducible by design [3] they should have a build timestamp matching the time when the build was executed and a serial number which is a unique UUID per build run. Hence exclude them from comparison [4]. - Use gmavenplus-plugin to format build timestamps. Maven expects build timestamp in ISO-8601 format, to replace the qualifier in versions the timestamp format must be compatible with rules for OSGi version numbers. Didn't find a way to read the properties set by the git-commit-id-maven-plugin from another plugin. Hence use JGit in a groovy script to get the commit time of the current HEAD and provide it in these two formats. TODO: packaging build (features and p2 repository) is not yet binary reproducible since that's not yet supported by Tycho [5], artefacts have reproducible version numbers but file lastModified timestamps are not yet reproducible. Test plan for Maven build: - build using mvn clean install" - verify second build is reproducible: mvn -T1 clean verify artifact:compare verification seems not to be thread-safe, hence run it with a single thread using option -T1 For packaging build (still fails due to non-reproducible file timestamps): - build using mvn -f org.eclipse.jgit.packaging/pom.xml clean install - verify second build is reproducible: mvn -T1 -f org.eclipse.jgit.packaging/pom.xml clean verify artifact:compare [1] https://maven.apache.org/guides/mini/guide-reproducible-builds.html [2] https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers [3] https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/84 [4] https://maven.apache.org/plugins/maven-artifact-plugin/compare-mojo.html [5] https://github.com/eclipse-tycho/tycho/issues/233 Change-Id: I0202f55a1b6ae0edd922cfef638beb39d2ce9417
* | | Generate SBOMs using cyclonedx maven pluginMatthias Sohn2023-10-181-35/+31
| | | | | | | | | | | | | | | | | | | | | | | | and specify JGit's license using its SPDX identifier. See https://gitlab.eclipse.org/eclipsefdn/emo-team/sbom/-/blob/main/docs/sbom.adoc#sbom-maven Change-Id: I8f022002c84200ea430325916fa38c3764979c02
* | | Update orbit to orbit-aggregation/2023-12Matthias Sohn2023-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | - add target platform for Eclipse 4.30 (2023-12) - update org.apache.ant to 1.10.14 Change-Id: Ib7fa7cb79e93ecd6009784bc0ad4269bfa71cb29
* | | Update jetty to 10.0.16Matthias Sohn2023-09-221-1/+1
| | | | | | | | | | | | Change-Id: I918e308e71fa978c9f25e3fad63c5f2e94ec3be7
* | | Update org.eclipse.jdt:ecj to 3.35.0Matthias Sohn2023-09-151-1/+1
| | | | | | | | | | | | Change-Id: Ic1d7fe65a0255bc0cdaf7a7285dd3532277ec07b
* | | Update org.apache.commons:commons-compress to 1.24.0Matthias Sohn2023-09-151-1/+1
| | | | | | | | | | | | Change-Id: I896298f9e94b50dda6c6396e652f4a191a722a68
* | | OSGi: move plugin localization to subdirectoryThomas Wolf2023-09-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSGi can have its plugin localization at an arbitrary place; there is no need to have it in a top-level plugin.properties file. In non-OSGi environments having the files at the root level may mean that these files clash with each other, or, as in the referenced bug, with some third-party plug-in's plugin.properties, which may not even have anything to do with localization. Move our OSGi localization to a subfolder OSGI-INF/l10n. For OSGi environments, that's just as good, and for non-OSGi environments it avoid clashes with other root level items on the classpath or in a fat JAR. For fragments, use neither plugin.properties (which would clash with the host plug-in's plugin.properties) nor fragment.properties (which might clash with other fragments for the same fragment host bundle). Instead use names "relative" to the host bundle. Bug: 582394 Change-Id: Ifbcd046d912e2cfe86c0f7259c5ca8de599d9aa1 Signed-off-by: Thomas Wolf <twolf@apache.org>
* | | [releng] Bump japicmp base version to 6.7.0.202309050840-rThomas Wolf2023-09-081-1/+1
| | | | | | | | | | | | Change-Id: I8ccf8472a8bf06669ebdcd3d59d24f7d5567d89e Signed-off-by: Thomas Wolf <twolf@apache.org>
* | | Prepare 6.8.0-SNAPSHOT buildsMatthias Sohn2023-09-071-1/+1
| | | | | | | | | | | | Change-Id: Ifc81f0a96c2ced0b25926b9daa539d9cfc951925
* | | Prepare 6.7.1-SNAPSHOT buildsMatthias Sohn2023-09-071-1/+1
| | | | | | | | | | | | Change-Id: I96097ef8c6f198220f513bbc6d5f8881834a1491
* | | Switch back to wagon-ssh-externalMatthias Sohn2023-09-071-1/+1
| | | | | | | | | | | | | | | Bug: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2818 Change-Id: Ic283e5229b1a8a0b1ae349555ac7cfb7b046d7be
* | | Fix generation of maven siteMatthias Sohn2023-09-071-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | - update maven-site-plugin to 4.0.0-M9 - use wagon-ssh extension for deployment - disable doclint - don't fail the build for javadoc warnings Change-Id: I81f7229deaf6892416ce4cebd6c122f00a857d51
* | | JGit v6.7.0.202309050840-rv6.7.0.202309050840-rMatthias Sohn2023-09-051-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: Ibe952d97bc178adb909cdd40f48957f5b68af699
* | | [releng] Bump japicmp base version to 6.6.0.202305301015-rThomas Wolf2023-09-041-1/+1
| | | | | | | | | | | | Change-Id: I5392537713d4909d4fc2fee6e2b21502e0674b43 Signed-off-by: Thomas Wolf <twolf@apache.org>
* | | Prepare 6.7.0-SNAPSHOT buildsMatthias Sohn2023-08-301-1/+1
| | | | | | | | | | | | Change-Id: I49751232464e70b7d1dc3292a9f36b7a7015e44f
* | | JGit v6.7.0.202308301100-rc1v6.7.0.202308301100-rc1Matthias Sohn2023-08-301-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Change-Id: I712a9f6830364ed404d03f3a145c055906273544
* | | Remove the cbi-snapshots Maven repositoryMatthias Sohn2023-08-301-4/+0
| | | | | | | | | | | | | | | | | | since it's not used anymore. Change-Id: I884c5e5854d6a1f5b104d8d3bb0419e860fa34ca
* | | Update bouncycastle to 1.76Matthias Sohn2023-08-291-1/+1
| | | | | | | | | | | | Change-Id: Ic569f348106e917001fbaa25a302fc20cca56244
* | | Update bouncycastle to 1.75Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I7538759005b9a4eb8f1ae9337ce0056500eb7227
* | | Update org.eclipse.jdt:ecj to 3.34.0Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I59715e1abfdefdf883290557806a9a1cbb34c3b3
* | | Update eclipse-jarsigner-plugin to 1.4.2Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I3f92a32ccf795ae8c6c4e1699d0040ac84d743c2
* | | Update build-helper-maven-plugin to 3.4.0Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I9b5e8a6b0baebd67d84f48d95b83c6c802829aea
* | | Update spring-boot-maven-plugin to 2.7.13Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I9d28540971a9c45f961ccfef1123a0a4ba3f88f2
* | | Update maven-source-plugin to 3.3.0Matthias Sohn2023-06-271-1/+1
| | | | | | | | | | | | Change-Id: I4735538aeeb92a01009aad1ca837cb636dcd4b93
* | | Fix all Javadoc warnings and fail on themAntoine Musso2023-06-161-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes all the javadoc warnings, stops ignoring doclint 'missing' category and fails the build on javadoc warnings for public and protected classes and class members. Since javadoc doesn't allow access specifiers when specifying doclint configuration we cannot set `-Xdoclint:all,-missing/private` hence there is no simple way to skip private elements from doclint. Therefore we check javadoc using the Eclipse Java compiler (which is used by default) and javadoc configuration in `.settings/org.eclipse.jdt.core.prefs` files. This allows more fine grained configuration. We can reconsider this when javadoc starts supporting access specifiers in the doclint configuration. Below are detailled explanations for most modifications. @inheritDoc =========== doclint complains about explicits `{@inheritDoc}` when the parent does not have any documentation. As far as I can tell, javadoc defaults to inherit comments and should only be used when one wants to append extra documentation from the parent. Given the parent has no documentation, remove those usages which doclint complains about. In some case I have moved up the documentation from the concrete class up to the abstract class. Remove `{@inheritDoc}` on overriden methods which don't add additional documentation since javadoc defaults to inherit javadoc of overridden methods. @value to @link =============== In PackConfig, DEFAULT_SEARCH_FOR_REUSE_TIMEOUT and similar are forged from Integer.MAX_VALUE and are thus not considered constants (I guess cause the value would depends on the platform). Replace it with a link to `Integer.MAX_VALUE`. In `StringUtils.toBoolean`, @value was used to refer to the `stringValue` parameter. I have replaced it with `{@code stringValue}`. {@link <url>} to <a> ==================== @link does not support being given an external URL. Replaces them with HTML `<a>`. @since: being invalid ===================== org.eclipse.jgit/src/org/eclipse/jgit/util/Equality.java has an invalid tag `@since: ` due to the extra `:`. Javadoc does not complain about it with version 11.0.18+10 but does with 11.0.19.7. It is invalid regardless. invalid HTML syntax =================== - javadoc doesn't allow <br/>, <p/> and </p> anymore, use <br> and <p> instead - replace <tt>code</tt> by {@code code} - <table> tags don't allow summary attribute, specify caption as <caption>caption</caption> to fix this doclint visibility issue ======================== In the private abstract classes `BaseDirCacheEditor` and `BasePackConnection` links to other methods in the abstract class are inherited in the public subclasses but doclint gets confused and considers them unreachable. The HTML documentation for the sub classes shows the relative links in the sub classes, so it is all correct. It must be a bug somewhere in javadoc. Mute those warnings with: @SuppressWarnings("doclint:missing") Misc ==== Replace `<` and `>` with HTML encoded entities (`&lt; and `&gt;`). In `SshConstants` I went enclosing a serie of -> arrows in @literal. Additional tags =============== Configure maven-javad0c-plugin to allow the following additional tags defined in https://openjdk.org/jeps/8068562: - apiNote - implSpec - implNote Missing javadoc =============== Add missing @params and descriptions Change-Id: I840056389aa59135cfb360da0d5e40463ce35bd0 Also-By: Matthias Sohn <matthias.sohn@sap.com>
* | | Prepare 6.7.0-SNAPSHOT buildsMatthias Sohn2023-05-241-1/+1
| | | | | | | | | | | | Change-Id: I50ff7ee31046cfc29a087c8963be3deae24b1c9c
* | | Update dash license-tool-plugin to 1.0.2Matthias Sohn2023-05-201-5/+1
| | | | | | | | | | | | Change-Id: I9708d918f4610503d7a16f55cea3aa3931dcd2cc
* | | Update jna to 5.13.0Matthias Sohn2023-05-171-0/+13
| | | | | | | | | | | | Change-Id: I87d65e66e1cac64ccb744632ea45d06f8b8637fe
* | | Switch to Apache MINA sshd 2.10.0Thomas Wolf2023-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump the version numbers in pom.xml and in MANIFESTs, and in the bazel WORKSPACE file. Update the target platforms. Remove work-arounds in org.eclipse.jgit.ssh.apache that are no longer necessary. The release notes for Apache MINA sshd are at [1]. [1] https://github.com/apache/mina-sshd/blob/master/docs/changes/2.10.0.md Bug: 581770 Change-Id: Id27e73e9712b7865353c9b32b5b768f6e998b05e Signed-off-by: Thomas Wolf <twolf@apache.org>
* | | Update Maven pluginsMatthias Sohn2023-05-031-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - com.github.siom79.japicmp:japicmp-maven-plugin to 0.17.2 - com.github.spotbugs:spotbugs-maven-plugin to 4.7.3.4 - maven-clean-plugin to 3.2.0 - maven-compiler-plugin to 3.11.0 - maven-deploy-plugin to 3.1.1 - maven-enforcer-plugin to 3.3.0 - maven-javadoc-plugin to 3.5.0 - maven-project-info-reports-plugin to 3.4.3 - maven-resources-plugin to 3.3.1 - maven-surefire-plugin to 3.0.0 - maven-surefire-report-plugin to 3.0.0 - org.codehaus.mojo:build-helper-maven-plugin to 3.3.0 - org.jacoco:jacoco-maven-plugin to 0.8.10 - org.springframework.boot:spring-boot-maven-plugin to 2.7.11 Change-Id: I42f3a09362a3b1afef65981cd3a862780f592af2
* | | Update slf4j to 1.7.36 and consume it directly from Maven CentralMatthias Sohn2023-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | BundleSymbolicNames changed to the names used upstream: - slf4j.api - slf4j.simple Change-Id: Ibcaafae282d3a6fa013bc39d879def1b66073bca
* | | Update assertj-core to 3.24.2Matthias Sohn2023-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and consume it directly from Maven Central. Add the bundle to the jgit p2 repository. Change-Id: I95f07a6d3ea645c4f56350d4b0facbaa84988440
* | | Update org.apache.commons:commons-compress to 1.23.0Matthias Sohn2023-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | and consume it directly from Maven Central. Its BundleSymbolicName changes to "org.apache.commons.commons-compress" which is defined upstream. Change-Id: I691f5f49491dd2c9ba577ebe0c6f7cdd462c047a
* | | Update javaEWAH to 1.2.3 and use it directly from Maven centralMatthias Sohn2023-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This changes its BundleSymbolicName from "javaewah" (name in Orbit) to com.googlecode.javaewah.JavaEWAH (name in upstream artefact from Maven Central). Change-Id: I8dee6909d496e3d05b2de938515dde831518be24
* | | Update plexus-compiler to 2.13.0Matthias Sohn2023-05-011-1/+1
| | | | | | | | | | | | Change-Id: I2e0665a5b5b41f501ab617220678d3a93fa43718
* | | Update org.eclipse.jdt:ecj to 3.33.0Matthias Sohn2023-05-011-1/+1
| | | | | | | | | | | | Change-Id: I0f310762313d6ccafe3ea410bf9d4c03731f0866
* | | Update to jakarta.servlet:jakarta.servlet-api:4.0.4Matthias Sohn2023-05-011-3/+3
| | | | | | | | | | | | Change-Id: I892b44e7886f5c30be7b2003ca048e3e22aa75f6
* | | Update jetty to 10.0.15 and use it from Maven central directlyMatthias Sohn2023-04-281-2/+2
| | | | | | | | | | | | | | | | | | and update servlet-api to 4.0.1 Change-Id: Id17aad56fc6f10dd64ce088c4b5a0532f5f0c588
* | | Update bouncycastle to 1.73Matthias Sohn2023-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Review requests were created for maven/mavencentral/org.bouncycastle/bcpkix-jdk18on/1.73 https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/7892 maven/mavencentral/org.bouncycastle/bcprov-jdk18on/1.73 https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/7893 maven/mavencentral/org.bouncycastle/bcutil-jdk18on/1.73 https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/7894 Change-Id: I389cdd7500d7d9292d7ea5eee142492dd1db7112
* | | Use bouncycastle libraries directly from Maven CentralMatthias Sohn2023-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and update - org.bouncycastle:bcpg-jdk18on to 1.72.2 Bug: 581767 Change-Id: Id213e84d56c171c98b1919a7044e2779a3d777df
* | | Merge branch 'stable-6.5'Matthias Sohn2023-04-061-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stable-6.5: Ensure parsed RevCommitCG has derived data from commit-graph Downgrade maven-site-plugin to 3.12.1 Use wagon-ssh-external to deploy Maven site Change-Id: Ide721fb088fa04f6276ac495968a45e732f6e139
| * | | Downgrade maven-site-plugin to 3.12.1Matthias Sohn2023-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This may fix the current authentication failures happening when trying to deploy the jgit Maven site. Change-Id: I55d4706cd041d93194af48fac9e8bfcd067e2cac