Skip to content

Commit

Permalink
deploy on repsy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati committed Dec 27, 2023
1 parent e967c67 commit 6d4d1da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@
<checkstyle.directory>${maven.multiModuleProjectDirectory}/checkstyle</checkstyle.directory>
<checkstyle.skip>true</checkstyle.skip>

<distribution.snapshots.id>github-vertx-vaadin-snapshots</distribution.snapshots.id>
<distribution.snapshots.url>https://maven.pkg.github.com/mcollovati/vertx-vaadin</distribution.snapshots.url>
<distribution.releases.id>github-vertx-vaadin-releases</distribution.releases.id>
<distribution.releases.url>https://maven.pkg.github.com/mcollovati/vertx-vaadin</distribution.releases.url>
<distribution.snapshots.id>repsy-vertx-vaadin</distribution.snapshots.id>
<distribution.snapshots.url>https://repo.repsy.io/mvn/mcollovati/vertx-vaadin</distribution.snapshots.url>
<distribution.releases.id>repsy-vertx-vaadin</distribution.releases.id>
<distribution.releases.url>https://repo.repsy.io/mvn/mcollovati/vertx-vaadin</distribution.releases.url>

<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<license-maven-plugin.version>4.3</license-maven-plugin.version>
Expand Down
4 changes: 2 additions & 2 deletions tools/build_flow_widgetsets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6d4d1da

Please sign in to comment.