Skip to content

[bot] Code cleanup#2421

Merged
github-actions[bot] merged 1 commit into
mainfrom
refactor/automatic-code-cleanup
Feb 19, 2026
Merged

[bot] Code cleanup#2421
github-actions[bot] merged 1 commit into
mainfrom
refactor/automatic-code-cleanup

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Code Cleanup

This PR cleans up the code using OpenRewrite recipes configured in rewrite.yml.

@github-actions github-actions Bot added the refactoring Code enhancement without changing API or behaviour label Feb 19, 2026
@github-actions github-actions Bot requested a review from kthoms February 19, 2026 04:35
@github-actions github-actions Bot merged commit 470c4d6 into main Feb 19, 2026
1 check passed
Copilot AI added a commit that referenced this pull request Feb 20, 2026
… built

The database migration tests have been failing since Feb 16th because
commit 1328399 moved the `qa` module in `clients/java/pom.xml` into
a `distro` profile without adding `activeByDefault=true`.

Root cause:
- `clients/java/pom.xml`'s `distro` profile lacked `activeByDefault=true`,
  so the `qa` module (providing `engine-variable-test`) was never included
  in the build reactor.
- `clients/java/client/pom.xml`'s `distro` profile HAS `activeByDefault=true`,
  so it always declared a dependency on `engine-variable-test`, causing a
  dependency resolution error.

Fix:
- Added `activeByDefault=true` to the `distro` profile in `clients/java/pom.xml`
  so `qa` is included in normal and migration test builds.
- Added `maven.deploy.skip=true` to `clients/java/qa/pom.xml` to prevent
  QA artifacts from being deployed to Maven Central (preserving the original
  intent of excluding QA from snapshot deployments).

The snapshot deployment workflow already uses `-Psonatype-oss-snapshot,-distro`
which explicitly deactivates `distro`, so QA modules remain excluded from
snapshot deployments.

Fixes #2421

Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
kthoms added a commit that referenced this pull request Feb 23, 2026
… built

The database migration tests have been failing since Feb 16th because
commit 1328399 moved the `qa` module in `clients/java/pom.xml` into
a `distro` profile without adding `activeByDefault=true`.

Root cause:
- `clients/java/pom.xml`'s `distro` profile lacked `activeByDefault=true`,
  so the `qa` module (providing `engine-variable-test`) was never included
  in the build reactor.
- `clients/java/client/pom.xml`'s `distro` profile HAS `activeByDefault=true`,
  so it always declared a dependency on `engine-variable-test`, causing a
  dependency resolution error.

Fix:
- Added `activeByDefault=true` to the `distro` profile in `clients/java/pom.xml`
  so `qa` is included in normal and migration test builds.
- Added `maven.deploy.skip=true` to `clients/java/qa/pom.xml` to prevent
  QA artifacts from being deployed to Maven Central (preserving the original
  intent of excluding QA from snapshot deployments).

The snapshot deployment workflow already uses `-Psonatype-oss-snapshot,-distro`
which explicitly deactivates `distro`, so QA modules remain excluded from
snapshot deployments.

Fixes #2421

Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
kthoms added a commit that referenced this pull request Feb 23, 2026
…t failures (#2430)

The database migration tests have been failing since Feb 16th because
commit 1328399 moved the `qa` module in `clients/java/pom.xml` into
a `distro` profile without adding `activeByDefault=true`.

Root cause:
- `clients/java/pom.xml`'s `distro` profile lacked `activeByDefault=true`,
  so the `qa` module (providing `engine-variable-test`) was never included
  in the build reactor.
- `clients/java/client/pom.xml`'s `distro` profile HAS `activeByDefault=true`,
  so it always declared a dependency on `engine-variable-test`, causing a
  dependency resolution error.

Fix:
- Added `activeByDefault=true` to the `distro` profile in `clients/java/pom.xml`
  so `qa` is included in normal and migration test builds.
- Added `maven.deploy.skip=true` to `clients/java/qa/pom.xml` to prevent
  QA artifacts from being deployed to Maven Central (preserving the original
  intent of excluding QA from snapshot deployments).

The snapshot deployment workflow already uses `-Psonatype-oss-snapshot,-distro`
which explicitly deactivates `distro`, so QA modules remain excluded from
snapshot deployments.

Fixes #2421

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Code enhancement without changing API or behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant