-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not runBlocks development and/or testing work, production could not run
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not runBlocks development and/or testing work, production could not run