You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/18 16:25:01 UTC

[jira] [Created] (MCHANGELOG-148) Warn on missing namespace

Elliotte Rusty Harold created MCHANGELOG-148:
------------------------------------------------

             Summary: Warn on missing namespace
                 Key: MCHANGELOG-148
                 URL: https://issues.apache.org/jira/browse/MCHANGELOG-148
             Project: Maven Changelog Plugin
          Issue Type: Improvement
            Reporter: Elliotte Rusty Harold


We allow pom.xml files with no namespace and reject pom.xml files that use prefixed local names that are correctly namespaced.

As step 1 to getting to a release where we can fix this, emit a warning when we encounter a non-namespaced pom.xml such as this:

<project>
  <modelVersion>4.0.0</modelVersion>
  <packaging>war</packaging>
  <version>0.1.0-SNAPSHOT</version>

  <groupId>c.g</groupId>
  <artifactId>mvn25</artifactId>

  <properties>
    <appengine.maven.plugin.version>2.2.0</appengine.maven.plugin.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
  </properties>

</project>





--
This message was sent by Atlassian Jira
(v8.3.4#803005)