Skip to content

Commit

Permalink
Run deploy in a single step
Browse files Browse the repository at this point in the history
Otherwise for non snapshot builds the core step will deploy the community
and extensions roo poms and the extensions and core steps will get a 409 error
  • Loading branch information
groldan committed Aug 7, 2024
1 parent f547bf0 commit aad2a86
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,14 @@ install-community:
-P$(COMMUNITY_MODULES)

.PHONY: deploy
deploy: deploy-core deploy-extensions deploy-community

.PHONY: deploy-core
deploy-core:
deploy:
./mvnw deploy -f geoserver/src/pom.xml --batch-mode -DskipTests -ntp -fae \
-Dsort.skip=true -Dspotless.apply.skip=true \
-DretryFailedDeploymentCount=10 \
-DallowIncompleteProjects=true \
-DaltDeploymentRepository='github::https://maven.pkg.github.com/camptocamp/geoserver-cloud-geoserver' \
-Dmaven.resolver.transport=wagon

.PHONY: deploy-extensions
deploy-extensions:
./mvnw deploy -f geoserver/src/extension/pom.xml --batch-mode -DskipTests -ntp -fae \
-Dsort.skip=true -Dspotless.apply.skip=true \
-DretryFailedDeploymentCount=10 \
-DallowIncompleteProjects=true \
-DaltDeploymentRepository='github::https://maven.pkg.github.com/camptocamp/geoserver-cloud-geoserver' \
-Dmaven.resolver.transport=wagon \
-P$(EXTENSIONS)

.PHONY: deploy-community
deploy-community:
./mvnw deploy -f geoserver/src/community/pom.xml --batch-mode -DskipTests -ntp -fae \
-Dsort.skip=true -Dspotless.apply.skip=true \
-DretryFailedDeploymentCount=10 \
-DallowIncompleteProjects=true \
-DaltDeploymentRepository='github::https://maven.pkg.github.com/camptocamp/geoserver-cloud-geoserver' \
-Dmaven.resolver.transport=wagon \
-P$(COMMUNITY_MODULES)
-P$(EXTENSIONS),$(COMMUNITY_MODULES)


.PHONY: purge-dependencies
Expand Down

0 comments on commit aad2a86

Please sign in to comment.