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

Invalid default namespace set for effective settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • effective-settings
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: