@Override
  public JpsArtifactReferenceImpl asExternal(@NotNull JpsModel model) {
    model.registerExternalReference(this);
    return this;
  }
@Override
  public JpsArtifactReferenceImpl asExternal(@NotNull JpsModel model)