Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-191

changes schema version should be determined from the document, not speficied in the pom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3
    • None
    • changes.xml
    • None

    Description

      With multiple changes.xsd schema versions, the changes validator should determine the document version from the document itself, instead of relying on a configuration parameter.

      Currently, you need

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-changes-plugin</artifactId>
              <version>${changesPluginVersion}</version>   
              <executions>
                <execution>
                   ...
                  <configuration>
                    <changesXsdVersion>1.0.1</changesXsdVersion>
                  </configuration>
                </execution>
              </executions>     
            </plugin>
      

      To actually use a different schema version, regardless of what the target namespace of the changes.xml file is.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kpalsson Karl Palsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: