From 615b7c498c344f258f44a388be5a44f3a7eb5438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Kr=C3=BCger?= <56278322+fabapp2@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:56:15 +0000 Subject: [PATCH] Add modules to build * Add ignore patterns to not deploy tests and examples --- .github/workflows/ci.yml | 20 +++----------------- pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5848354..54e9fe3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,24 +74,10 @@ jobs: jf mvnc \ --server-id-deploy repo.spring.io \ --repo-deploy-releases release \ - --repo-deploy-snapshots snapshot + --repo-deploy-snapshots snapshot \ + --exclude-patterns="*-example*.*,*-test*.*,*-docs-*.*" echo JFROG_CLI_BUILD_NAME=spring-rewrite-commons-main >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV jf mvn clean -f ./pom.xml install -B -DskipTests - jf rt build-publish - -# - uses: actions/checkout@v4 -# - uses: jvalkeal/setup-maven@v1 -# with: -# maven-version: 3.6.3 -# - uses: actions/setup-java@v4 -# with: -# distribution: liberica -# java-version: 17 -# - name: Deploy Snapshot -# working-directory: ./spring-rewrite-commons-launcher -# env: -# ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} -# ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} -# run: ./mvnw -B -Partifactory,javadoc -DskipTests deploy \ No newline at end of file + jf rt build-publish \ No newline at end of file diff --git a/pom.xml b/pom.xml index 240ae5c..72bb0b5 100644 --- a/pom.xml +++ b/pom.xml @@ -13,8 +13,8 @@ spring-rewrite-commons-launcher - - + spring-rewrite-commons-docs + spring-rewrite-commons-examples