Skip to content

Set the language server to the release version 0.1.0 - #8

Merged
lwrage merged 1 commit into
mainfrom
release-0.1.0
Sep 2, 2026
Merged

Set the language server to the release version 0.1.0#8
lwrage merged 1 commit into
mainfrom
release-0.1.0

Conversation

@lwrage

@lwrage lwrage commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The language server was the only component still on a snapshot version, and
release-server.yml refuses to publish one, so an ls-v0.1.0 tag cannot be cut
until this lands. osate-cli and the VS Code extension are already at 0.1.0.

Tycho keeps the Maven and OSGi versions in lockstep: validate-version requires
.qualifier for a snapshot but exact equality for a release version, so both
MANIFEST.MF files lose .qualifier in the same commit. Leaving them behind
fails the build at validate before anything compiles. The published bundle
becomes org.osate.aadl.ls_0.1.0.jar and the p2 archive
org.osate.aadl.ls.repository-0.1.0.zip.

The repository-root aggregator moves too, because its version is reported as
tooling.version in build-provenance.properties, which is attached to the
ls-v* release — a released 0.1.0 should not ship provenance claiming
-SNAPSHOT. vscode-extension/pom.xml inherits from the aggregator, so its
parent reference has to move with it.

RELEASING.md gains the two rules that are not derivable from the workflows:
which eight lines move together when the server version changes, and the
post-release return to a snapshot version so development builds stay
timestamp-qualified and p2 can tell one local rebuild from the next.

Verification

Local mvn -f aadl-language-server/pom.xml clean verify -Dtycho.localArtifacts=ignore
passes; AllTests reports 35 tests, 2 skipped, 0 failures, 0 errors, and the
built bundle is org.osate.aadl.ls_0.1.0.jar with no timestamp qualifier.

Once this is merged, ls-v0.1.0, vscode-v0.1.0-pre, and osate-cli-v0.1.0
will all be tagged on the merge commit.

🤖 Generated with Claude Code

The language server was the only component still on a snapshot version, and
release-server.yml refuses to publish one. Drop -SNAPSHOT so an ls-v0.1.0 tag
can be cut alongside the extension and osate-cli, which are already at 0.1.0.

Tycho keeps the Maven and OSGi versions in lockstep: validate-version wants
.qualifier for a snapshot but exact equality for a release, so both manifests
have to lose .qualifier in the same commit or the build fails at validate
before compiling anything. The published bundle becomes org.osate.aadl.ls_0.1.0.jar.

Move the repository-root aggregator too. Its version is reported as
tooling.version in build-provenance.properties, which is attached to the
ls-v* release, and a released 0.1.0 should not ship provenance claiming
-SNAPSHOT. vscode-extension/pom.xml inherits from the aggregator, so its
parent reference moves with it.

Record both rules in RELEASING.md, along with the post-release return to a
snapshot version, so the next person does not have to rediscover why eight
lines move together.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@lwrage
lwrage merged commit 002a0d3 into main Sep 2, 2026
3 checks passed
@lwrage
lwrage deleted the release-0.1.0 branch September 2, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants