Enable execution M2E in incremental builds (YANGTOOLS-745)

[YANGTOOLS-1165] Capture yang-maven input streams Created: 01/Nov/20  Updated: 09/Mar/23  Resolved: 09/Mar/23

Status: Resolved
Project: yangtools
Component/s: maven plugin
Affects Version/s: None
Fix Version/s: 11.0.0

Type: Sub-task Priority: Medium
Reporter: Robert Varga Assignee: Ruslan Kashapov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We need to persist some amount of information across builds – some of it is plugin situation and some of it the actuals inputs we have read.

Add a persistence layer, in ${project.builder.directory}, which will host our persisted state. At first, it should capture the codegen/configuration binding, so that we react to changes of our dependencies.

As part of that, refactor the input later so that it captures a checksum (CRC-32C should be good enough) of the input. We want to do this opportunistically, so that input files we do not touch do not end up causing dependencies.

We should persist this information and validate against it: if configuration changes, we need to rebuild. Even if BuildContext indicates a change in dependency, unless it's CRC changed, we should not rebuild.



 Comments   
Comment by Ruslan Kashapov [ 13/Feb/23 ]

change https://git.opendaylight.org/gerrit/c/yangtools/+/93539
seems obsolete, please abandon it

Generated at Wed Feb 07 20:55:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.