Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-139

Invalid default namespace set for effective settings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: effective-settings
    • Labels:
      None

      Description

      Sample interpolation:

      Effective user-specific configuration settings:
      
      <?xml version="1.0" encoding="Cp1252"?>
      <!-- ====================================================================== -->
      <!--                                                                        -->
      <!-- Generated by Maven Help Plugin on 2018-03-18T22:06:14                  -->
      <!-- See: http://maven.apache.org/plugins/maven-help-plugin/                -->
      <!--                                                                        -->
      <!-- ====================================================================== -->
      <!-- ====================================================================== -->
      <!--                                                                        -->
      <!-- Effective Settings for 'mosipov' on 'mikaw10'                          -->
      <!--                                                                        -->
      <!-- ====================================================================== -->
      <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
        <localRepository xmlns="http://maven.apache.org/SETTINGS/1.1.0">C:\Users\mosipov\.m2\repository</localRepository>
        <servers xmlns="http://maven.apache.org/SETTINGS/1.1.0">
      

      This issue is caused by AbstractEffectiveMojo#addMavenNamespace(). It blindly assumes this namespace by default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                michael-o Michael Osipov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: