docs: public void addArtifact(final Artifact artifact) {
          if (!artifacts.contains(artifact)) {
              if (promoted) {
                  artifact.setPromoted(promoted);
              }
  
              artifacts.add(artifact);
          }
      }