From 6d4d1da44062d7c7262182754e4e9bb6275068c2 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Wed, 27 Dec 2023 18:58:40 +0100 Subject: [PATCH] deploy on repsy --- .github/workflows/validation.yml | 6 ++++-- pom.xml | 8 ++++---- tools/build_flow_widgetsets.sh | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 48e50469..205e19f5 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -293,7 +293,9 @@ jobs: with: distribution: 'temurin' java-version: ${{ env.JAVA_VERSION }} - server-id: github-vertx-vaadin-snapshots + server-id: repsy-vertx-vaadin + server-username: ${{ secrets.REPSY_USERNAME }} + server-password: ${{ secrets.REPSY_PASSWORD }} gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - uses: actions/download-artifact@v3 @@ -313,7 +315,7 @@ jobs: mvn -V -e -B -ntp -DskipTests install - name: Deploy classifiers run: | - mvn -V -e -B -ntp -DskipVertxRun=true -Dvertx-vaadin.release=snapshot -Dvertx-vaadin.release.gpg deploy + mvn -V -e -B -ntp -DskipVertxRun=true -DskipTests -Dvertx-vaadin.release=snapshot -Dvertx-vaadin.release.gpg deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} diff --git a/pom.xml b/pom.xml index 207c3168..91c0cd69 100644 --- a/pom.xml +++ b/pom.xml @@ -86,10 +86,10 @@ ${maven.multiModuleProjectDirectory}/checkstyle true - github-vertx-vaadin-snapshots - https://maven.pkg.github.com/mcollovati/vertx-vaadin - github-vertx-vaadin-releases - https://maven.pkg.github.com/mcollovati/vertx-vaadin + repsy-vertx-vaadin + https://repo.repsy.io/mvn/mcollovati/vertx-vaadin + repsy-vertx-vaadin + https://repo.repsy.io/mvn/mcollovati/vertx-vaadin 0.8.11 4.3 diff --git a/tools/build_flow_widgetsets.sh b/tools/build_flow_widgetsets.sh index ead8186a..7df26a2d 100755 --- a/tools/build_flow_widgetsets.sh +++ b/tools/build_flow_widgetsets.sh @@ -54,8 +54,8 @@ declare -A _existing_versions for version in "${versions[@]}"; do flag=$( - mvn -q dependency:get -Dartifact=com.github.mcollovati.vertx:vaadin-flow-sockjs:${_current_version}:jar:vaadin-${version} \ - -DremoteRepositories=github-vertx-vaadin::::https://maven.pkg.github.com/mcollovati/vertx-vaadin/ -Dtransitive=false 2>&1 >/dev/null && \ + mvn -N -q dependency:get -Dartifact=com.github.mcollovati.vertx:vaadin-flow-sockjs:${_current_version}:jar:vaadin-${version} \ + -DremoteRepositories=repsy-vertx-vaadin::::https://repo.repsy.io/mvn/mcollovati/vertx-vaadin/ -Dtransitive=false 2>&1 >/dev/null && \ echo 1 || echo 0 ) echo " --> Searching classifier vaadin-${version} for version ${_current_version} ===> ${flag}"