Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-767

Incremental should result in Stream

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: maven-shared-incremental-2.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      The current implementation is inefficient, it does a complete scan of the sourcefolder(s) whereas in general knowing the first change is already sufficient.
      The Java 8 StreamAPI can help here.

      The result should be a Stream of Resources containing the filereference and a status (added, removed, changed). It must be possible to support localResources (where input and output can be compared) and remoteResources (where metadata must be stored to know if it has been changed). Filtering can be done by the consumer of the stream.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: