diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..1e01b48 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/src/main/java/rife/bld/publish/PomBuilder.java b/src/main/java/rife/bld/publish/PomBuilder.java index 7d37afc..9e2540b 100644 --- a/src/main/java/rife/bld/publish/PomBuilder.java +++ b/src/main/java/rife/bld/publish/PomBuilder.java @@ -131,9 +131,7 @@ public String build() { */ public static void generateInto(PublishInfo info, DependencyScopes dependencies, File file) throws FileUtilsErrorException { - var pomBuilder = new PomBuilder(); - pomBuilder.info_ = info; - pomBuilder.dependencies_ = dependencies; + var pomBuilder = new PomBuilder().info(info).dependencies(dependencies); FileUtils.writeString(pomBuilder.build(), file); }