Repository navigation
Fix release workflows not updating project template version and more - #13040
Merged
tdipisa merged 2 commits intoOct 23, 2026
Merged
Conversation
…DMIN_PASSWORD for projects Release workflows updated the property in templates/web/pom.xml, but it lives in templates/pom.xml.
2 tasks done
1 task done
tdipisa
approved these changes
Oct 23, 2026
Member
Author
|
Successfully created backport PR for |
offtherailz
added a commit
that referenced
this pull request
Oct 23, 2026
…13040) (#13047) * Fix project template mapstore-services version and document INITIAL_ADMIN_PASSWORD for projects Release workflows updated the property in templates/web/pom.xml, but it lives in templates/pom.xml. * Keep project template version out of the backportable change (cherry picked from commit 459dd8e)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A project created from
masterwithcreateProject.jsdoes not deploy: the standard template still depends onmapstore-services1.13-SNAPSHOT(Spring 7.0.8) whilemasteris at1.14-SNAPSHOT, and the GeoStore war brings Spring 7.0.9. The war ends up with both versions and Tomcat refuses it randomly:Root cause:
cut_major_branch.yml,pre_release.ymlandpost_release.ymlrunversions:set-propertyonproject/standard/templates/web/pom.xml, butmapstore-services.versionis defined inproject/standard/templates/pom.xml(moved there in #10015). The command silently does nothing, so the template had to be aligned by hand every time (#12708, #12711, #12731).The template version itself is aligned on
masteronly in #13043, since stable branches use a differentmapstore-servicesversion. This PR can be backported as is.Changes:
project/standard/templates/pom.xmlINITIAL_ADMIN_PASSWORDin the project creation guide and add Windows (cmd/ PowerShell /setenv.bat) examplesPlease check if the PR fulfills these requirements
What kind of change does this PR introduce?
Issue
Closes #13044
Other useful information
Tested by creating a project with
createProject.jsfrommaster, building it and starting the backend withINITIAL_ADMIN_PASSWORDset: with1.14-SNAPSHOT(see #13043) the war deploys,adminwith the configured password logs in (200),admin:adminand wrong passwords are refused (401).mvn versions:set-property -f project/standard/templates/pom.xml ...verified on a copy of the template.