About¶
open-java-format is a Java formatter developed in the open. It began as a fork of palantir-java-format, which is itself a fork of google-java-format, and every artifact is now built and published from its own repository. Why the project exists is in the manifesto.
Where it is published¶
| Where | What |
|---|---|
| Maven Central | dev.openjavaformat:open-java-format, with -spi, -native and -jdk-bootstrap |
| Gradle Plugin Portal | dev.openjavaformat.java-format |
| JetBrains Marketplace | the IntelliJ IDEA plugin |
| GitHub Releases | native binaries, the runnable jar, the Gradle, IntelliJ IDEA and Eclipse plugins |
The Maven Central artifacts, the Gradle plugins and the files of a GitHub release are built by the release workflow from the tag of the version.
Verify a download¶
Each file of a GitHub release has a .asc signature next to it, and so does each artifact on Maven
Central and the Gradle Plugin Portal. They are made with the project's release key:
The key is published on keys.openpgp.org. Import it once, then check the checksum file of a release, and the checksum file against your download as shown on the Command line page.
curl -sSL https://keys.openpgp.org/vks/v1/by-fingerprint/13A6BDF2DAA98D3D573B33EA100481FDAEE94DE9 | gpg --import
gpg --verify checksums_sha256.txt.asc checksums_sha256.txt
A good signature ends with the fingerprint above. gpg also warns that the key is not certified with a trusted signature, because nobody in your keyring has signed it: compare the fingerprint instead.
Licence¶
open-java-format is distributed under the Apache License 2.0, like palantir-java-format and google-java-format, and it keeps the copyright notices of both. Neither Palantir Technologies Inc. nor Google LLC endorses, sponsors or is affiliated with it.
Take part¶
- Report a bug or propose a change in the issues, where planned work is tracked too.
- Every page of this site has an Edit this page button, which opens a pull request against its sources.