@NotNull
  @ApiStatus.Internal
  public MavenProjectChanges updateFromReaderResult(@NotNull MavenProjectReaderResult readerResult,
                                                    @NotNull MavenGeneralSettings settings,
                                                    boolean keepPreviousArtifacts) {
    State newState = myState.clone();

    newState.myLastReadStamp = myState.myLastReadStamp + 1;

    boolean keepPreviousPlugins = keepPreviousArtifacts;

    doUpdateState(newState,
                  readerResult.mavenModel,
                  readerResult.readingProblems,
                  readerResult.activatedProfiles,
                  Set.of(),
                  readerResult.nativeModelMap,
                  settings,
                  keepPreviousArtifacts,
                  false,
                  keepPreviousPlugins
    );

    return setState(newState);
  }
@NotNull
  @ApiStatus.Internal
  public MavenProjectChanges updateFromReaderResult(@NotNull MavenProjectReaderResult readerResult,
                                                    @NotNull MavenGeneralSettings settings,
                                                    boolean keepPreviousArtifacts)