Add modules to build
* Add ignore patterns to not deploy tests and examples
This commit is contained in:
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -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
|
||||
4
pom.xml
4
pom.xml
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user