Repository navigation
Publish reactome-parent and reactome-bom to Maven Central - #4
Merged
Merged
Conversation
…on bumps main's two POM changes since this branch (983fa2f, 6dc31e8, 1 Apr 2025) are the GoCD pipeline's automatic version bumps: versions never released (graph-core 3.0.0, 2.0.10 neither on EBI's Nexus), written by update_version.sh, which rewrote each POM whole and dropped its URL, organisation and developers, which Maven Central requires. This branch's POMs (Nov 2025) are kept; main's scripts come in unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dency licence check - LICENSE: Apache-2.0, as the POMs declare. - .github/workflows/maven.yml: the BOMs and reactome-parent built on every pull request, unsigned; on a v* tag signed and uploaded to the Central Portal, in the maven-central environment (a person approves; the token and key are its secrets), and published there by a person (autoPublish off). - reactome-parent 1.0.7 (1.0.6 is already on EBI's pst-release): license-maven-plugin in pluginManagement, the allowlist the ASF's categories A and B; javadoc made without doclint, which fails on old comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adamjohnwright
changed the base branch from
feature/sonatype-updates
to
main
November 25, 2026 19:31
The parent's defaults, as strict as the TypeScript side: javac with every lint (but path) and any warning failing the build; javadoc's doclint with every check, warnings failing; Spotless with palantir-java-format, checked at verify. Compiler plugin 3.16.0. Dependabot: weekly, minor and patch grouped, majors on their own, for Maven and the workflow's actions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The build needs JDK 17 (enforcer): Spotless needs it, and JDK 11's doclint and 21's serial lint judge the same code differently. java.version is a release number (release, not source/target, which javac warns about). Dependabot leaves the pinned reflections and logback, and the formatter, alone; its comment no longer claims this repository's CI checks an update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A POM on Central stays there, and whoever uses it inherits its repositories. EBI's Nexus is going away, so the four POMs this publishes (bom-parent, reactome-bom, reactome-pwp-bom, reactome-parent) no longer declare EBI's repositories or its distributionManagement. A build check fails if one does again. The BOMs change, so they get new versions: bom-parent 1.0.1, reactome-bom 1.0.7, reactome-pwp-bom 1.0.5, and reactome-parent imports those. Their old versions are on EBI, and one version keeps one content. The developers are the current maintainers. Built with an empty local repository: the parent installs from Central alone, and graph-core (#29) builds against it with its own repositories removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he tag checked
From the adversarial review of this pull request:
- reactome-bom managed popular-pathways and restfulapi with properties nobody defines
(popular.pathways for popular-pathways, restful.api for restful-api), so a child
saw the literal ${...}. Fixed; a build step makes a child of reactome-parent and
fails if any version in its effective POM is unresolved (seen failing with one
property misspelt again).
- The SCM addresses were not URLs (ssh://github.com:...) or used git://, which GitHub
no longer serves; one organisation address was http.
- maven.sonatype.central.version was never read (the plugin's version is written in
place); removed.
- checkout and setup-java pinned to their release commits, since the publish job
holds the signing key and the Central token.
- The publish job stops unless the tag is on main and is v<reactome-parent's version>.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each published POM lists Eliot Ragueneau among the developers with the role "alumni", after the current maintainers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each published POM lists Chuqiao Gong with the role "alumni", after Eliot Ragueneau. Neither alumnus is given an email address: those addresses no longer reach them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ch to turn it off A version a BOM or the parent manages reaches every child that names the dependency without one, and a POM on Central cannot be changed. So a dependency is managed only once its version is on Central. Removed, as not on Central: - reactome-bom: 27 of its 28 entries (graph-core 2.0.10, analysis-core 3.5.1, graph-importer 2.0.7, ...); reactome-base 2.0.0 stays. Unused properties go too. - reactome-parent: libsbgn 0.2, aspose-slides 21.9, micluster 1.7.14, psimitab 1.8.6, pathwayExchange 1.0.0. - reactome-pwp-bom: none of its 15 GWT libraries is on Central, so it is no longer built with the BOMs, published, or imported by reactome-parent. reactome-pwp-parent still imports it. A CI step (.github/managed-on-central.py) fails if a version the published POMs manage is not on Central; it lists all 47 against the previous commit. Strict stays the default, and a child can now turn it off: reactome.strict (true) sets the compiler's failOnWarning and javadoc's failOnWarnings, so a child that is not clean yet sets it to false and still sees the warnings. The JDK is 17 or newer, not only 17. Checked with a child holding a raw type: it fails by default, and builds with -Dreactome.strict=false and with the property in its POM; the parent builds on JDK 21. graph-core (#29) still builds and verifies against it from an empty repository. README: what is published, how, and the strict switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rties; Reactome the organisation From the review of the commits since the first review: - Every tag uploaded bom-parent and reactome-bom again, and Central refuses a version it already has, so a release changing only reactome-parent would have failed before the parent. The publish job now uploads only the BOM modules whose versions are not on Central (.github/boms-to-publish.sh; each of the four combinations checked against a repository that has the older versions, and each -pl form built). - A build step checks reactome-parent imports the reactome-bom version built with it (seen failing when a cached older BOM would hide the mismatch). - sbgn, aspose, micluster, psimitab and pathway.exchange versions went with their entries; their properties stay no longer. The organisation is Reactome (https://reactome.org/) in each published POM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adamjohnwright
marked this pull request as ready for review
November 26, 2026 20:10
jweiser
reviewed
Nov 27, 2026
jweiser
left a comment
Member
There was a problem hiding this comment.
Just a few comments/questions.
… no EBI distribution As in reactome-parent and the BOMs (review of #4): the current maintainers listed, Eliot Ragueneau and Chuqiao Gong as alumni without addresses, and no distributionManagement to EBI's Nexus. The SCM addresses as the others'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jweiser
reviewed
Nov 27, 2026
Comment on lines
+22
to
+23
| <name>The European Bioinformatics Institute</name> | ||
| <url>http://www.ebi.ac.uk/</url> | ||
| <url>https://www.ebi.ac.uk/</url> |
Member
There was a problem hiding this comment.
Perhaps change the organization now to Reactome (https://reactome.org) so it matches the other files
Contributor
Author
There was a problem hiding this comment.
Done in 9a292ef: Reactome (https://reactome.org/), as in the other POMs.
Comment on lines
16
to
17
| <name>The European Bioinformatics Institute</name> | ||
| <url>https://www.ebi.ac.uk/</url> |
Member
There was a problem hiding this comment.
Same here - change to Reactome?
Contributor
Author
There was a problem hiding this comment.
Done in 9a292ef: Reactome (https://reactome.org/), as in the other POMs.
As the other POMs do (review of #4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jweiser
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes Reactome's parent POM and BOM to Maven Central, so builds stop depending on EBI's Nexus. Built on Joel's
feature/sonatype-updates, withmainmerged in; reactome/graph-core#29 moves graph-core onto it.What is published
A tag
v<reactome-parent's version>onmainpublishes:bom-parentreactome-bomreactome-base2.0.0. Each Reactome library joins it once published (graph-core 3.0.0 next)reactome-parentreactome-bom1.0.7reactome-pwp-bomandreactome-pwp-parentare not published: none of their GWT libraries is on Central, and their users are to be archived.Every POM names Reactome as the organisation, the current maintainers, and the alumni (without email addresses). None declares a
<repositories>or<distributionManagement>: a POM on Central is permanent, and its children would inherit EBI's Nexus for good.How it is published
.github/workflows/maven.yml:reactome-parentsees no unresolved${...}version;reactome-parentimports thereactome-bombuilt with it;.github/managed-on-central.py).v*tag runs the publish job in themaven-centralenvironment, which a maintainer approves. The job:mainand isv<reactome-parent's version>;reactome-parent, and each BOM whose version is not on Central yet (.github/boms-to-publish.sh: Central refuses a version it already has).What a child gets
path, and javadoc's doclint (all,-missing), fail the build on a warning. A child that is not clean yet sets<reactome.strict>false</reactome.strict>and still sees the warnings.verify;mvn spotless:applyformats. The POM's own order is checked bytidy, so a child runsmvn tidy:pomonce.license-maven-pluginfails on a shipped dependency whose licences are all outside the ASF's categories A and B (Apache-2.0, MIT, BSD, EPL, MPL).Checked
Release order
v1.0.7onmain.maven-centraljob.After that, graph-core#29 drops its step that builds this parent from this branch, and merges.
🤖 Generated with Claude Code