diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index 120f44e33..adb56c56f 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -149,6 +149,22 @@ jobs: run: | mvn -B -ntp -pl :parent -DartifactsDir=artifacts jreleaser:release + - name: Deploy parent pom and Kit to local staging + run: | + mvn -B -ntp deploy -pl :parent -Dmaven.test.skip=true + mvn -B -ntp deploy -fkit -Dmaven.test.skip=true + + - name: Publish Kit with JReleaser + env: + JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }} + JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_TOKEN }} + JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }} + JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }} + JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} + run: | + mvn -B -ntp -pl :parent jreleaser:deploy + - name: JReleaser output if: always() uses: actions/upload-artifact@v4 diff --git a/gluon-plugin/pom.xml b/gluon-plugin/pom.xml index ff72a6f87..ad7190af4 100644 --- a/gluon-plugin/pom.xml +++ b/gluon-plugin/pom.xml @@ -15,6 +15,13 @@ 4.0.21 + + + gluon-nexus + https://nexus.gluonhq.com/nexus/content/repositories/releases/ + + + com.gluonhq.scenebuilder diff --git a/kit/pom.xml b/kit/pom.xml index a1bc27573..bd875a839 100644 --- a/kit/pom.xml +++ b/kit/pom.xml @@ -3,7 +3,10 @@ 4.0.0 kit Scene Builder Kit - + Scene Builder is a visual, drag n drop, layout tool for designing JavaFX application user interfaces + 2012 + https://github.com/gluonhq/scenebuilder + com.gluonhq.scenebuilder parent @@ -47,17 +50,48 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.0 + 3.4.2 scenebuilder-kit-${project.version} target/lib - - - com.gluonhq.scenebuilder.kit - - + + org.apache.maven.plugins + maven-javadoc-plugin + 3.10.1 + + + attach-javadocs + + jar + + + true + none + ${project.build.directory}/lib + ${project.build.directory}/lib + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + + jar + + + true + ${project.build.directory}/lib + + + + diff --git a/pom.xml b/pom.xml index 7028f9cab..76a7ac77e 100644 --- a/pom.xml +++ b/pom.xml @@ -30,20 +30,10 @@ gluonhq/scenebuilder github.com:${project.github.repository} RELEASE + local::file:./target/staging-deploy - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - - gluon-nexus - https://nexus.gluonhq.com/nexus/content/repositories/releases/ - - - @@ -102,23 +92,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.13.0 false - - - org.apache.maven.plugins - maven-deploy-plugin - 3.0.0-M1 - - true - - false - - org.apache.maven.plugins @@ -146,6 +125,12 @@ 3.2.0 + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.3 + + org.apache.maven.plugins @@ -203,7 +188,7 @@ org.jreleaser jreleaser-maven-plugin - 1.5.1 + 1.14.0 false @@ -356,6 +341,25 @@ + + ALWAYS + true + + + + + + ALWAYS + https://oss.sonatype.org/service/local + true + https://oss.sonatype.org/content/repositories/snapshots + true + false + target/staging-deploy + + + +