Title: Publish the IntelliJ plugin to the JetBrains Marketplace on release by abashev · Pull Request #80 · openjavaformat/open-java-format · GitHub
Open Graph Title: Publish the IntelliJ plugin to the JetBrains Marketplace on release by abashev · Pull Request #80 · openjavaformat/open-java-format
X Title: Publish the IntelliJ plugin to the JetBrains Marketplace on release by abashev · Pull Request #80 · openjavaformat/open-java-format
Description: The release workflow gets a jetbrains-plugin job, after publish like the Gradle plugins. It runs verifyPlugin against IntelliJ IDEA 2024.2.6 (the build target, and the oldest IDE sinceBuild admits) and the newest IntelliJ IDEA release, then publishPlugin, which uploads the zip with the Marketplace token. The plugin zip carries the formatter jars, so the job does not wait for Maven Central. The verifier's report is kept as a workflow artifact when the job fails. The zip goes up unsigned. The Marketplace signs every upload with the JetBrains key, and the check of the author's own key against the profile that Plugin Signing describes is "not available yet"; a signature of our own is a signing { } block and three secrets away, for when it is wanted. open-java-format-idea-plugin/build.gradle: pluginVerification { ides { } } takes current() and latest { IntellijIdea, RELEASE } instead of the default recommended(), which resolves to four IDEs (2024.2 to 2025.2, a gigabyte each) and stops there, because the Community and Ultimate types end with 2025.2. failureLevel is COMPATIBILITY_PROBLEMS, MISSING_DEPENDENCIES and INVALID_PLUGIN. The default also fails on internal API usages, and the verifier reports one against 2026.2: PluginManager.findEnabledPlugin, called from FormatterProvider.getPluginDescriptor(), is @ApiStatus.Internal there, and so are PluginManagerCore.getPlugin, PluginManager.getPluginByClass and PluginAwareClassLoader. The plugin is still compatible; moving off that API is a change of its own. mise.toml: mise run gh:secrets sets JETBRAINS_MARKETPLACE_TOKEN from op://Private/open-java-format/GitHub/JETBRAINS_MARKETPLACE_TOKEN, Actions store only. Checked locally: verifyPlugin: IC-242.26775.15 and IU-262.10968.63, both "Compatible" (two experimental API usages; on 2026.2 also one deprecated and the one internal). publishPlugin without a token stops with "'token' property must be specified for plugin publishing". act push --dryrun on a simulated tag event resolves the job's steps; :open-java-format-idea-plugin:test passes. Before the first release with this: a permanent token from plugins.jetbrains.com (profile, My Tokens) for the account that owns plugin 34359, into 1Password under that name, then mise run gh:secrets. The Marketplace already holds 2.98.0.1 to 2.98.0.3, uploaded by hand, and rejects a version it has, so the next tag has to be a new version.
Open Graph Description: The release workflow gets a jetbrains-plugin job, after publish like the Gradle plugins. It runs verifyPlugin against IntelliJ IDEA 2024.2.6 (the build target, and the oldest IDE sinceBuild admits)...
X Description: The release workflow gets a jetbrains-plugin job, after publish like the Gradle plugins. It runs verifyPlugin against IntelliJ IDEA 2024.2.6 (the build target, and the oldest IDE sinceBuild admits)...
Opengraph URL: https://github.com/openjavaformat/open-java-format/pull/80
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5d6c06d2-887b-2f36-a002-b5176aee9dda |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E77E:337AE8:5AAF41:78D7E4:6AFBC7AF |
| html-safe-nonce | c3e74ac12c76eecd85de15866dfd8f3d491745cae51590f8169b0f0ac58e6962 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzdFOjMzN0FFODo1QUFGNDE6NzhEN0U0OjZBRkJDN0FGIiwidmlzaXRvcl9pZCI6Ijg4NjQ4MjM2ODA1Mzg3NTcwMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b2d72837101b35f0282d740f58b3fb822fc69f6e6551d42415acf74888f4e03c |
| hovercard-subject-tag | pull_request:4639421112 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/openjavaformat/open-java-format/pull/80/files |
| twitter:image | https://avatars.githubusercontent.com/u/214171?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/214171?s=400&v=4 |
| og:image:alt | The release workflow gets a jetbrains-plugin job, after publish like the Gradle plugins. It runs verifyPlugin against IntelliJ IDEA 2024.2.6 (the build target, and the oldest IDE sinceBuild admits)... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d440bda0d812801778b27bfe9f7c1ce9ff22420c73f6f95150c4fcbca311c50b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git |
| octolytics-dimension-user_id | 325177626 |
| octolytics-dimension-user_login | openjavaformat |
| octolytics-dimension-repository_id | 1288055459 |
| octolytics-dimension-repository_nwo | openjavaformat/open-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 214273098 |
| octolytics-dimension-repository_parent_nwo | palantir/palantir-java-format |
| octolytics-dimension-repository_network_root_id | 214273098 |
| octolytics-dimension-repository_network_root_nwo | palantir/palantir-java-format |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2c43021aed8695990c86c0eaaedc600bfeffec36 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width