Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-268

filevaultMavenPlugin: scanning for oak index does not work on windows systems

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: package maven plugin
    • Labels:
      None

      Description

      on windows systems oak indexes are always added to the filter, and allowIndexDefinitions has no effect. The reason for this is a static String comparison in class FileValidator ~Line 72:

      } else if ("META-INF/vault/filter.xml".equals(artifactName) || artifactName.contains("/_oak_index/")) {
      

      See attached screenshot, why comparison fails on Windows:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              luckyluke Lukas Kummer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: