RalfNaujokat opened a new issue, #11715: URL: https://github.com/apache/maven/issues/11715
### Affected version 4.0.0-rc5 ### Bug description Hi all. With a minimal POM ``` <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.1.0" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 http://maven.apache.org/xsd/maven-4.1.0.xsd"> <modelVersion>4.1.0</modelVersion> <groupId>tmp</groupId> <artifactId>tmp</artifactId> <version>tmp</version> <packaging>pom</packaging> </project> ``` i noticed, that `mvn help:effective-pom` generates a pom with **4.0.0** schemaLocation ``` Effective POMs, after inheritance, interpolation, and profiles are applied: <?xml version="1.0" encoding="UTF-8"?> <!-- ====================================================================== --> <!-- --> <!-- Generated by Maven Help Plugin --> <!-- See: https://maven.apache.org/plugins/maven-help-plugin/ --> <!-- --> <!-- ====================================================================== --> <!-- ====================================================================== --> <!-- --> <!-- Effective POM for project 'tmp:tmp:pom:tmp' --> <!-- --> <!-- ====================================================================== --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.1.0</modelVersion> <groupId>tmp</groupId> <artifactId>tmp</artifactId> <version>tmp</version> <packaging>pom</packaging> ... ``` I don't know what are the consequences, but i guess this should be corrected. greetings Ralf -- 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]
