Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
maven-shared-incremental-2.0.0
-
None
-
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.