Skip to content

Add model building and generate maven publications#3

Merged
haydenbaker merged 3 commits intomainfrom
haydenbaker/add-publications
Apr 22, 2025
Merged

Add model building and generate maven publications#3
haydenbaker merged 3 commits intomainfrom
haydenbaker/add-publications

Conversation

@haydenbaker
Copy link
Contributor

@haydenbaker haydenbaker commented Apr 18, 2025

Describe your changes

  • Adds gradle for building model artifacts (smithy model JARs)
    • Uses smithy-jar to package up models into model jars
  • Subprojects are dynamically created for each model directory
  • Versions and registration of said projects are managed via properties file
    • These versions should be managed using the update_versions script, where a set of updated services is passed in to update the respective version properties
    • Versions are independent of eachother, meaning that a version should only be bumped when that project changes (and the "all" version is essentially always bumped)
    • Versions are always bumped patch-wise, so they will always be 1.0.X
  • An "all" publication is created, it is a platform project that depends on all the subprojects
    • Meaning its pom has a dependency on each model
  • Adds .gitignore

Staging

  • Here is an example of staging (selective): staging.zip
    • This was created via gradle :xray:publish :acm:publish :publish

Follow-up

  • Add github action for CI
  • Incorporate JReleaser for publishing

Checklist

@haydenbaker haydenbaker force-pushed the haydenbaker/add-publications branch from 80fc7d7 to 2b0d40a Compare April 21, 2025 18:23
@haydenbaker haydenbaker merged commit 3cfd945 into main Apr 22, 2025
1 check passed
@haydenbaker haydenbaker deleted the haydenbaker/add-publications branch April 25, 2025 22:00
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.

3 participants