Robert Scholte created MSHARED-767:
--------------------------------------
Summary: Incremental should result in Stream
Key: MSHARED-767
URL: https://issues.apache.org/jira/browse/MSHARED-767
Project: Maven Shared Components
Issue Type: Task
Components: maven-shared-incremental
Affects Versions: maven-shared-incremental-2.0.0
Reporter: Robert Scholte
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)