Skip to content

Commit

Permalink
Add column names & descriptions for MavenMetadataFailures
Browse files Browse the repository at this point in the history
  • Loading branch information
pstreef committed Jun 21, 2024
1 parent 7a1b9c6 commit 68cd05b
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import lombok.Value;
import org.openrewrite.Column;
import org.openrewrite.DataTable;
import org.openrewrite.ExecutionContext;
import org.openrewrite.Recipe;
Expand All @@ -37,12 +38,26 @@ public MavenMetadataFailures(Recipe recipe) {

@Value
public static class Row {
@Column(displayName = "Group id",
description = "The groupId of the artifact for which the metadata download failed.")
String group;
@Column(displayName = "Artifact id",
description = "The artifactId of the artifact for which the metadata download failed.")
String artifactId;
@Column(displayName = "Version",
description = "The version of the artifact for which the metadata download failed.")
String version;
@Column(displayName = "Maven repository",
description = "The URL of the Maven repository that the metadata download failed on.")
String mavenRepositoryUri;
@Column(displayName = "Snapshots",
description = "Does the repository support snapshots.")
String snapshots;
@Column(displayName = "Releases",
description = "Does the repository support releases.")
String releases;
@Column(displayName = "Failure",
description = "The reason the metadata download failed.")
String failure;
}

Expand Down

0 comments on commit 68cd05b

Please sign in to comment.