Title: Support individual component version release · Issue #281 · scijava/scijava · GitHub
Open Graph Title: Support individual component version release · Issue #281 · scijava/scijava
X Title: Support individual component version release · Issue #281 · scijava/scijava
Description: This repository is structured as a multi-module Maven project except that each "module" is treated as distinct and inherits from pom-scijava instead of a single reactor pom.xml in the project. For the initial release of SciJava Ops we we...
Open Graph Description: This repository is structured as a multi-module Maven project except that each "module" is treated as distinct and inherits from pom-scijava instead of a single reactor pom.xml in the project. For ...
X Description: This repository is structured as a multi-module Maven project except that each "module" is treated as distinct and inherits from pom-scijava instead of a single reactor pom.xml in the pro...
Opengraph URL: https://github.com/scijava/scijava/issues/281
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support individual component version release","articleBody":"This repository is structured as a multi-module Maven project except that each \"module\" is treated as distinct and inherits from `pom-scijava` instead of a single reactor `pom.xml` in the project.\n\nFor the initial release of SciJava Ops we were able to get away with keeping all intra-repo dependencies at `project.version` because each project was at the same `1.0.0` version. However, this left us with technical debt for releasing future individual components. We *do not* want to bump *all* component versions each time a single component needs release, as this creates a large amount of vacuous releases that are likely meaningless and violate (or at least mislead) SemVer.\n\nFirst requirement, as standalone projects:\n- [ ] All individual projects should have entries in the `dependencyManagement` section of the [pom-scijava](https://github.com/scijava/pom-scijava/tree/master) bill of materials, with appropriately named `component.version` properties defined.\n\nProblem 1:\nUnfortunately, although these projects should be managed in `pom-scijava`, these are all release versions. Within the reactor we still want `SNAPSHOT` versions for these dependencies so that changes in one are immediately reflected in another, thus we can't actually use the `component.version` properties inherited from `pom-scijava`.\n**Discussion point:** is this a technical requirement or one of convenience? If we keep everything release-coupled, the development process would be no different than if the projects were in separate repositories (e.g. manually pinning to `SNAPSHOT`s or \"fake\" versions for local testing) and we wouldn't have to worry about the enforcer, right?\n\nProblem 2:\nThe [maven-release plugin](https://maven.apache.org/maven-release/maven-release-plugin/), and our [release-version.sh](https://github.com/scijava/scijava-scripts/blob/0e97dd09375b32892b61a81ca3b9bff56fb801f7/release-version.sh) script, don't support releasing individual components out of a multi-module reactor. Therefore we currently have no way to actually perform component releases reliably.\n\nSecond requirement:\n- [ ] Create a new release script, for a single component in a multi-module reactor:\n * Manually performs any required `maven-release` steps\n * Creates a `component-name-component-version` tag with the release commit\n * Updates version properties in other components?'\n * ... what else?","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2025-01-16T20:50:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/281/scijava/issues/281"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50849604-bc11-1801-2878-03f0b13ef204 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D80C:2E5741:16F9DA6:1E2D9C0:696B857F |
| html-safe-nonce | 9ff0df9b3803b632d44f1c529f390447816d745073db78405121a201d50292ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODBDOjJFNTc0MToxNkY5REE2OjFFMkQ5QzA6Njk2Qjg1N0YiLCJ2aXNpdG9yX2lkIjoiODU0NzYwMTkxMDA0MDU5Mzc5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e48e31c7ae3fdbfd39b40f675b3b49490b44cd6a4d78c5dd1e2c23b8c515242 |
| hovercard-subject-tag | issue:2793743694 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/scijava/scijava/281/issue_layout |
| twitter:image | https://opengraph.githubassets.com/639ecbcbeb8f39a03719eebe87f76e5bfcc51d6cb8ee2f4925cce4cea5b91a47/scijava/scijava/issues/281 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/639ecbcbeb8f39a03719eebe87f76e5bfcc51d6cb8ee2f4925cce4cea5b91a47/scijava/scijava/issues/281 |
| og:image:alt | This repository is structured as a multi-module Maven project except that each "module" is treated as distinct and inherits from pom-scijava instead of a single reactor pom.xml in the project. For ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava git https://github.com/scijava/scijava.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 85618439 |
| octolytics-dimension-repository_nwo | scijava/scijava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85618439 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width