-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix profile names, split make targets into core, extensions, and comm…
…unity, and add purge target
- Loading branch information
Showing
1 changed file
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,80 @@ | ||
EXTENSIONS="app-schema,authkey,charts,css,csw,db2,dxf,excel,feature-pregeneralized,gdal,geopkg-output,grib,gwc-s3,importer,inspire,jp2k,libjpeg-turbo,mapml,mbstyle,mongodb,mysql,netcdf,netcdf-out,ogr,oracle,params-extractor,printing,querylayer,rat,sldService,sqlserver,vectortiles,wcs2_0-eo,web-resource,wmts-multi-dimensional,wps,wps-download,wps-jdbc,ysld" | ||
EXTENSIONS="app-schema,authkey,charts,css,csw,db2,dxf,h2,excel,feature-pregeneralized,gdal,geopkg-output,grib,gwc-s3,importer,inspire,jp2k,libjpeg-turbo,mapml,mbstyle,mongodb,mysql,netcdf,netcdf-out,oracle,params-extractor,printing,querylayer,rat,sldService,sqlserver,vectortiles,wcs2_0-eo,web-resource,wmts-multi-dimensional,wps,wps-download,wps-jdbc,ysld" | ||
|
||
COMMUNITY_MODULES="backup-restore,cog,colormap,datadir-catalog-loader,dds,dyndimension,features-autopopulate,features-templating,flatgeobuf,gdal,geopkg,gpxppio,graticule,gwc-azure-blob,gwc-sqlite,importer-jdbc,jdbcconfig,jdbcstore,jwt-headers,mbtiles,mbtiles-store,ncwms,netcdf-ghrsst,ogcapi,pgraster,security,spatialjson,stac-datastore,vsi,web-ogr,webp,wfs-freemarker,wps-longitudinal-profile" | ||
COMMUNITY_MODULES="backup-restore,cog,colormap,datadir-catalog-loader,dds,dyndimension,features-autopopulate,features-templating,flatgeobuf,gdal,geopkg,gpx,graticule,gwc-azure-blob,gwc-sqlite,importer-jdbc,jdbcconfig,jdbcstore,jwt-headers,mbtiles,mbtiles-store,ncwms,ghrsst,ogcapi,pgraster,security,spatialjson,vsi,webp,wfs-freemarker,wps-longitudinal-profile" | ||
|
||
.PHONY: install | ||
install: | ||
install: install-core install-extensions install-community | ||
|
||
.PHONY: install-core | ||
install-core: | ||
./mvnw install -f geoserver/src/pom.xml --batch-mode -DskipTests -ntp -fae \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true | ||
|
||
.PHONY: install-extensions | ||
install-extensions: | ||
./mvnw install -f geoserver/src/extension/pom.xml --batch-mode -DskipTests -ntp -fae \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true \ | ||
-P$(EXTENSIONS) | ||
|
||
.PHONY: install-community | ||
install-community: | ||
./mvnw install -f geoserver/src/community/pom.xml --batch-mode -DskipTests -ntp -fae \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true \ | ||
-P$(EXTENSIONS),$(COMMUNITY_MODULES) | ||
-P$(COMMUNITY_MODULES) | ||
|
||
.PHONY: deploy | ||
deploy: | ||
deploy: deploy-core deploy-extensions deploy-community | ||
|
||
.PHONY: deploy-core | ||
deploy-core: | ||
./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),$(COMMUNITY_MODULES) | ||
-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) | ||
|
||
|
||
.PHONY: purge | ||
purge: purge-core purge-extensions purge-community | ||
|
||
.PHONY: purge-core | ||
purge-core: | ||
./mvnw dependency:purge-local-repository -f geoserver/src/pom.xml \ | ||
-DactTransitively=false -DreResolve=false -Dverbose \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true | ||
|
||
.PHONY: purge-extensions | ||
purge-extensions: | ||
./mvnw dependency:purge-local-repository -f geoserver/src/extension/pom.xml \ | ||
-DactTransitively=false -DreResolve=false -Dverbose \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true \ | ||
-P$(EXTENSIONS) | ||
|
||
.PHONY: purge-community | ||
purge-community: | ||
./mvnw dependency:purge-local-repository -f geoserver/src/community/pom.xml \ | ||
-DactTransitively=false -DreResolve=false -Dverbose \ | ||
-Dsort.skip=true -Dspotless.apply.skip=true \ | ||
-P$(COMMUNITY_MODULES) | ||
|