[MNG-8345] Maven generates both settings 1.3.0 and 2.0.0 (#1835)

This commit is contained in:
Guillaume Nodet 2024-10-24 17:53:41 +02:00 committed by GitHub
parent 4407e98332
commit 2e01948c1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -44,9 +44,9 @@ under the License.
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.3.0"
<settings xmlns="http://maven.apache.org/SETTINGS/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.3.0 https://maven.apache.org/xsd/settings-1.3.0.xsd">
xsi:schemaLocation="http://maven.apache.org/SETTINGS/2.0.0 https://maven.apache.org/xsd/settings-2.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|

View File

@ -83,7 +83,7 @@ under the License.
</goals>
<phase>generate-resources</phase>
<configuration>
<version>1.3.0</version>
<version>2.0.0</version>
<models>
<model>src/main/mdo/settings.mdo</model>
</models>

View File

@ -114,6 +114,10 @@ under the License.
</templates>
</configuration>
</execution>
<execution>
<id>modello-site-docs</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>