docs: @Override
      public ArtifactSpec toArtifactSpec() {
          if (spec == null) {
              spec = new ArtifactSpec(getScope(), getGroup(), getName(), getVersion(), getType(), getClassifier(), getFile());
          }
          return spec;
      }