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