Skip to content

Commit

Permalink
Drop AllArgsConstructor from RawPom$Build (#4535)
Browse files Browse the repository at this point in the history
As suggested on
- #4530 (comment)

To fix the downstream issues on rewrite-jackson
- #4530 (comment)
  • Loading branch information
timtebeek authored Sep 30, 2024
1 parent 1e4a8d9 commit 2ef5246
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,8 @@ public Profiles(@JacksonXmlProperty(localName = "profile") List<Profile> profile

@FieldDefaults(level = AccessLevel.PRIVATE)
@Data
@AllArgsConstructor
public static class Build {

@NonFinal
@Nullable
@JacksonXmlElementWrapper(localName = "plugins")
@JacksonXmlProperty(localName = "plugin")
Expand All @@ -231,16 +229,12 @@ public static class Build {
@Nullable
@JacksonXmlProperty(localName = "pluginManagement")
PluginManagement pluginManagement;

public Build() {
plugins = null;
pluginManagement = null;
}
}

@FieldDefaults(level = AccessLevel.PRIVATE)
@Data
public static class PluginManagement {

@Nullable
@JacksonXmlElementWrapper(localName = "plugins")
@JacksonXmlProperty(localName = "plugin")
Expand Down

0 comments on commit 2ef5246

Please sign in to comment.