Skip to content

Migrate the site descriptor to the v2 model - #152

Merged
slachiewicz merged 1 commit into
masterfrom
agent/site-descriptor-v2
Sep 10, 2026
Merged

Migrate the site descriptor to the v2 model#152
slachiewicz merged 1 commit into
masterfrom
agent/site-descriptor-v2

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Converts src/site/site.xml (root element and namespace only) from the v1 DECORATION model to the v2 SITE/2.1.0 model. Doxia Sitetools logs on every site build: "Site model of '' for default locale is still using the old pre-version 2.0.0 model. You MUST migrate to the new model as soon as possible otherwise your build will break in the future!" Verified: the converted file validates against site-2.1.0.xsd, and mvn -B site -DskipTests finished BUILD SUCCESS with the old-model warning no longer present in the log.

Note: #151 also touches src/site/site.xml, but only inside <body> (removing an FAQ menu item), while this PR changes only the root element and namespace — the hunks don't overlap, though whichever merges second may need a trivial rebase.

This change was created with AI assistance.

Doxia Sitetools warns that the pre-2.0.0 site model will break in a future version.
@slachiewicz
slachiewicz marked this pull request as ready for review September 10, 2026 12:14
@slachiewicz
slachiewicz merged commit 05bcb1e into master Sep 10, 2026
5 of 7 checks passed
@slachiewicz
slachiewicz deleted the agent/site-descriptor-v2 branch September 10, 2026 12:14
@github-actions github-actions Bot added this to the 3.2.1 milestone Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant