From 83d614f8794a9783821d5cfdfa9c97a274a7e3b7 Mon Sep 17 00:00:00 2001 From: Elizabeth Worstell Date: Thu, 16 Nov 2023 13:00:00 -0800 Subject: [PATCH] fix: only release generator executable; resolve child POMs --- .github/workflows/release.yml | 3 +- kotlin-runtime/ftl-generator/pom.xml | 53 ++++++++++++++++++------ kotlin-runtime/ftl-runtime/pom.xml | 4 +- pom.xml | 62 +++++++++++++++++++++++++++- 4 files changed, 105 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05439e64d7..959fd97a08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,8 +112,7 @@ jobs: - name: Publish JARs # Snapshots are published first, then the tagged release run: | mvn -U --batch-mode clean deploy -P release - mvn --batch-mode versions:set -DnewVersion=$(git describe --tags --abbrev=0 | cut -c2-) -DprocessAllModules -DgenerateBackupPoms=false - mvn -U --batch-mode clean deploy -P release +# mvn -Drevision=$(git describe --tags --abbrev=0 | cut -c2-) -U --batch-mode clean deploy -P release env: SIGN_KEY_PASS: ${{ secrets.GPG_PASSPHRASE }} OSSRH_USERNAME: ${{ secrets.SONATYPE_USERNAME }} diff --git a/kotlin-runtime/ftl-generator/pom.xml b/kotlin-runtime/ftl-generator/pom.xml index 41bae2619a..d7fc7c2aa0 100644 --- a/kotlin-runtime/ftl-generator/pom.xml +++ b/kotlin-runtime/ftl-generator/pom.xml @@ -7,13 +7,15 @@ xyz.block ftl - 1.0-SNAPSHOT + ${revision} ../../pom.xml ftl-generator jar + ${project.groupId}:${project.artifactId} + ${basedir}/../.. false @@ -41,25 +43,27 @@ org.apache.maven.plugins - maven-assembly-plugin + maven-shade-plugin + 3.5.1 + package-jar package - single + shade - - - - xyz.block.ftl.generator.MainKt - - - - jar-with-dependencies - - + + false + + + xyz.block.ftl.generator.MainKt + + + false + org.apache.maven.plugins @@ -89,4 +93,27 @@ + + + + release + + + + org.codehaus.mojo + flatten-maven-plugin + + + package-jar + package + + flatten + + + + + + + + diff --git a/kotlin-runtime/ftl-runtime/pom.xml b/kotlin-runtime/ftl-runtime/pom.xml index 0430f47033..4c012fb8cd 100644 --- a/kotlin-runtime/ftl-runtime/pom.xml +++ b/kotlin-runtime/ftl-runtime/pom.xml @@ -7,13 +7,15 @@ xyz.block ftl - 1.0-SNAPSHOT + ${revision} ../../pom.xml ftl-runtime jar + ${project.groupId}:${project.artifactId} + ${basedir}/../.. false diff --git a/pom.xml b/pom.xml index f035168bea..d0d623b04b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,9 +6,13 @@ xyz.block ftl - 1.0-SNAPSHOT + ${revision} pom + FTL + Towards a 𝝺-calculus for large-scale systems + https://github.com/TBD54566975/ftl + The Apache License, Version 2.0 @@ -16,6 +20,24 @@ + + + Alec Thomas + TBD + https://github.com/TBD54566975 + + + Wes Billman + TBD + https://github.com/TBD54566975 + + + Elizabeth Worstell + TBD + https://github.com/TBD54566975 + + + scm:git:git://github.com/TBD54566975/ftl.git scm:git:ssh://github.com/TBD54566975/ftl.git @@ -38,6 +60,7 @@ 1.4.8 5.10.0 7.4 + 1.0-SNAPSHOT @@ -293,7 +316,44 @@ kotlin-runtime/ftl-generator + + + + org.codehaus.mojo + flatten-maven-plugin + 1.5.0 + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + ossrh + true + + expand + expand + + + + + + + org.codehaus.mojo + flatten-maven-plugin + org.apache.maven.plugins maven-release-plugin