Skip to content

chore: exclude adobemedia-3 from 6.0 publish and enable manual publish trigger#739

Merged
denischilik merged 3 commits into
mainfrom
feat/exclude-adobemedia-3-manual-publish
Jul 21, 2026
Merged

chore: exclude adobemedia-3 from 6.0 publish and enable manual publish trigger#739
denischilik merged 3 commits into
mainfrom
feat/exclude-adobemedia-3-manual-publish

Conversation

@denischilik

Copy link
Copy Markdown
Contributor

Background

The 6.0.0 publish uploaded the com.mparticle kits as a single Central Portal deployment bundle. One component, com.mparticle:adobemedia-3:6.0.0, failed validation:

Dependency version information is missing for dependency: com.adobe.marketing.mobile:core (and the other Adobe deps)

adobemedia-3 resolves its Adobe dependencies through a BOM (platform('com.adobe.marketing.mobile:sdk-bom:[3.0.0,4.0.0)')) with versionless api declarations, so the generated POM omits the dependency versions, which Maven Central rejects. Because a Central Portal deployment is atomic, this single failure blocks the whole kits bundle (including android-rokt-kit, which com.rokt:rokt-sdk-plus:6.0.0 depends on).

What changed

  • Exclude :kits:adobemedia:adobemedia-3 from settings-kits.gradle until its Adobe dependency versions are pinned in the published POM. It will be reintroduced in a follow-up once fixed.
  • Add workflow_dispatch to Release – Publish so the 6.0.0 kits bundle can be re-published without changing VERSION (the version must remain 6.0.0 since the already-published umbrella references com.mparticle:*:6.0.0).

Test plan

  • Merge, then run Release – Publish via workflow_dispatch on main.
  • Confirm the kits deployment validates (43/43) in Central Portal and publishes.
  • Confirm com.mparticle:android-rokt-kit:6.0.0 and core artifacts resolve on Maven Central, unblocking com.rokt:rokt-sdk-plus:6.0.0.

…h trigger

The adobemedia-3 kit resolves its Adobe dependencies via a BOM without
explicit versions, so the generated POM omits dependency versions and fails
Maven Central validation, blocking the entire kits deployment bundle. Exclude
it from the publish set until the versions are pinned. Also add
workflow_dispatch to Release - Publish so the 6.0.0 kits bundle can be
re-published without changing VERSION.
@denischilik
denischilik requested a review from a team as a code owner July 21, 2026 20:40
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Shipping 6.0.0 without com.mparticle:adobemedia-3 is an intentional publish-scope change that affects integrators expecting that artifact in the bundle; remaining kits should be unaffected.

Overview
Removes adobemedia-3 from the 6.0.0 kits publish path so Maven Central validation is no longer blocked by a POM that omits Adobe dependency versions (BOM/versionless api deps).

The :kits:adobemedia:adobemedia-3 module is commented out in settings-kits.gradle with a note that it stays excluded until versions are pinned in the published POM. The adobemedia example app is dropped from settings-kit-examples.gradle, and the adobemedia-3 entry is removed from kits/matrix.json so CI kit matrix builds no longer include it.

VERSION remains 6.0.0 (only a trivial whitespace change in the diff).

Reviewed by Cursor Bugbot for commit e49ae12. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread settings-kits.gradle

@jamesnrokt jamesnrokt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think the cursor bot has also called out a valid issue?

Comment thread .github/workflows/release-publish.yml Outdated
The build-kits workflow derives its matrix from kits/matrix.json and runs
<kit_project>:testRelease against settings-kits.gradle. Since adobemedia-3 was
excluded from settings-kits.gradle, its matrix entry now points at a project
that no longer exists, failing the job. Drop it from the matrix to keep the
two in sync.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c6bca7b. Configure here.

Comment thread .github/workflows/release-publish.yml Outdated
… publish

Revert the workflow_dispatch trigger on Release - Publish per review: the
release flow stays controlled solely by the VERSION file trigger. Remove the
adobemedia-3 example from settings-kit-examples.gradle to stay in sync with
its exclusion from settings-kits.gradle and the CI matrix. Touch VERSION
(still 6.0.0) so merging this re-runs Release - Publish and re-uploads the
kits bundle without adobemedia-3.
@denischilik

Copy link
Copy Markdown
Contributor Author

Addressed both pieces of feedback:

  • @jamesnrokt — reverted the workflow_dispatch trigger; release-publish.yml is now byte-identical to main, so the release flow stays controlled solely by the VERSION file trigger. To re-publish 6.0.0 with adobemedia-3 excluded (version must stay 6.0.0 since the already-published com.rokt:rokt-sdk-plus:6.0.0 references com.mparticle:*:6.0.0), this PR touches VERSION (still 6.0.0 on line 1) so merging re-runs Release – Publish via the normal push trigger. Re-uploading the same version is safe — Central Portal creates a fresh deployment and the gradle publish task succeeds (already observed with the rokt-sdk-plus re-upload); the duplicate core/rokt-sdk-plus deployments are simply dropped, and the new 43-kit bundle publishes.

  • Bugbotkits/matrix.json and settings-kit-examples.gradle are now in sync with the settings-kits.gradle exclusion (adobemedia-3 removed from all three), so the Build Kits matrix no longer targets a missing project.

adobemedia-3 will return in a follow-up once its Adobe BOM dependency versions are pinned in the published POM.

@sonarqubecloud

Copy link
Copy Markdown

@denischilik
denischilik merged commit 8d69789 into main Jul 21, 2026
39 of 40 checks passed
@denischilik
denischilik deleted the feat/exclude-adobemedia-3-manual-publish branch July 21, 2026 21:09
denischilik added a commit that referenced this pull request Jul 23, 2026
…nclude in publish (#741)

adobemedia-3 resolves its Adobe extensions through the sdk-bom, so they were
declared without explicit versions and the generated POM listed them with an
empty <version>. Maven Central rejects version-less dependencies, which blocked
the whole kits bundle, so #739 excluded the kit from the 6.0.0 publish.

Add a versionMapping block (scoped to this module) that maps each dependency to
the version resolved on the release classpaths, so the published POM carries
concrete versions while the build.gradle keeps the sdk-bom range. Re-include the
kit in settings-kits.gradle, kits/matrix.json, and settings-kit-examples.gradle
so it ships again in the next release.
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