pbaumard opened a new issue, #1226: URL: https://github.com/apache/maven-site-plugin/issues/1226
### Affected version 3.20.0 ### Bug description ### Description Since the changes introduced in issue **#1083**, the default locale used by `site:site` is no longer the **first valid token** in the `locales` parameter. This breaks the documented behavior and alters long‑established expectations. According to the plugin’s [site:site documentation](https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html), `locales` is *“a comma separated list of locales to render. The **first valid token** will be the default Locale for this site.”*. The behavior before #1083 followed this rule. The changes introduced there should be reverted. ### Steps to Reproduce Configure the plugin with: ```xml <locales>fr</locales> ``` ### Expected Behavior With locales = fr, the default locale should be fr, and the default output directory should remain: target/site/ ### Actual Behavior The generated site is placed under a locale‑specific directory: target/site/fr/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
