Fork me on GitHub

The result file is in XML format. This reference describes version 1 of the result file format.

Any reader of a result file MUST expect and be able to deal with the documented elements and attributes. A reader MUST ignore any element and attribute that it encounters and that is not documented here.

The result file version will increment when there is a backwards incompatible change (e.g. a mandatory field gets removed or a new mandatory field gets added). Backwards compatible changes (e.g. adding a new attribute or element that is optional or removing an attribute that is optional) will not change the version number of the file.

<?xml version='1.0' encoding='UTF-8'?>
<duplicate-finder-result version="1">
  <project artifactId="..."
           groupId="..."
           version="..."
           classifier="..."
           type="..."/>
  <configuration skip="..."
                 checkCompileClasspath="..."
                 checkRuntimeClasspath="..."
                 checkTestClasspath="..."
                 failBuildInCaseOfDifferentContentConflict="..."
                 failBuildInCaseOfEqualContentConflict="..."
                 failBuildInCaseOfConflict="..."
                 printEqualFiles="..."
                 preferLocal="..."
                 useDefaultResourceIgnoreList="..."
                 useDefaultClassIgnoreList="..."
                 useResultFile="..."
                 resultFileMinClasspathCount="..."
                 resultFile="..."
                 quiet="..."
                 includeBootClasspath="..."
                 bootClasspathProperty="...>
                 <!-- quiet, includeBootClasspath and bootClasspathProperty are no longer present in 2.0.0+ -->
    <ignoredResourcePatterns>
      <ignoredResourcePattern>...</ignoredResourcePattern>
          ...
      </ignoredResourcePatterns>
      <ignoredClassPatterns>
        <ignoredClassPattern>...</ignoredClassPattern>
          ...
      </ignoredClassPatterns>
      <conflictingDependencies>
        <conflictingDependency currentProject="..."
                               currentProjectIncluded="..."
                               wildcard="...">
          <dependencies>
            <dependency artifactId="..."
                        groupId="..."
                        version="..."
                        versionRange="..."
                        classifier="..."
                        type="..."/>
                    ...
          </dependencies>
          <packages>
            <package>...</package>
              ...
          </packages>
          <classes>
            <class>...</class>
              ...
          </classes>
          <resources>
            <resource>...</resource>
              ...
          </resources>
          <resourcePatterns>
            <resourcePattern>...</resourcePattern>
              ...
          </resourcePatterns>
        </conflictingDependency>
          ...
      </conflictingDependencies>
      <ignoredDependencies>
        <dependency artifactId="..."
                    groupId="..."
                    version="..."
                    versionRange="..."
                    classifier="..."
                    type="..."/>
          ...
    </ignoredDependencies>
  </configuration>
  <results>
    <result name=".."
            conflictState="..."
            failed="...">
      <conflicts>
        <conflict name="...">
          <conflictResults>
            <conflictResult name="..."
                            type="..."
                            excepted="..."
                            failed="..."
                            printed="..."
                            conflictState="...">
              <conflictNames>
                <conflictName name="...">
                  <artifact artifactId="..."
                            groupId="..."
                            version="..."
                            versionRange="..."
                            classifier="..."
                            type="..."/>
                </conflictName>
                  <conflictName name="...">
                    <directory>...</directory>
                  </conflictName>
                    ...
              </conflictNames>
            </conflictResult>
                ...
          </conflictResults>
        </conflict>
          ...
      </conflicts>
      <ignoredResourcePatterns>
        <ignoredResourcePattern>...</ignoredResourcePattern>
          ...
      </ignoredResourcePatterns>
        <ignoredClassPatterns>
          <ignoredClassPattern>...</ignoredClassPattern>
            ...
        </ignoredClassPatterns>
        <ignoredDirectoryPatterns>
          <ignoredDirectoryPattern>...</ignoredDirectoryPattern>
            ...
        </ignoredDirectoryPatterns>
        <classpathElements type="...">
          <classpathElement name="...">
            <file>...</file>
             ...
          </classpathElement>
            ...
        </classpathElements>
          ...
    </result>
  </results>
</duplicate-finder-result>