Add modules to build

* Add ignore patterns to not deploy tests and examples
This commit is contained in:
Fabian Krüger
2024-01-10 14:56:15 +00:00
committed by GitHub
parent 474342bc9f
commit 615b7c498c
2 changed files with 5 additions and 19 deletions

View File

@@ -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
jf rt build-publish

View File

@@ -13,8 +13,8 @@
<modules>
<module>spring-rewrite-commons-launcher</module>
<!-- <module>spring-rewrite-commons-docs</module>-->
<!-- <module>spring-rewrite-commons-examples</module>-->
<module>spring-rewrite-commons-docs</module>
<module>spring-rewrite-commons-examples</module>
<!-- <module>spring-rewrite-commons-gradle</module>-->
</modules>