From 9e9e4d235ce313e4f16b09adae1764ef7c24a412 Mon Sep 17 00:00:00 2001 From: nravilla Date: Mon, 23 Sep 2024 10:23:50 -0400 Subject: [PATCH] Formatting fix --- .../main/java/org/openmrs/maven/plugins/BuildDistro.java | 3 +-- .../src/main/java/org/openmrs/maven/plugins/Setup.java | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/maven-plugin/src/main/java/org/openmrs/maven/plugins/BuildDistro.java b/maven-plugin/src/main/java/org/openmrs/maven/plugins/BuildDistro.java index e40e44c4..c10fbb1d 100644 --- a/maven-plugin/src/main/java/org/openmrs/maven/plugins/BuildDistro.java +++ b/maven-plugin/src/main/java/org/openmrs/maven/plugins/BuildDistro.java @@ -327,7 +327,7 @@ private String buildDistro(File targetDirectory, Artifact distroArtifact, Distro ContentHelper.downloadAndMoveContentBackendConfig(web, distroProperties, moduleInstaller, wizard); spaInstaller.installFromDistroProperties(web, distroProperties, ignorePeerDependencies, overrideReuseNodeCache); ContentHelper.deleteTempContentFolder(web); - + File owasDir = new File(web, "owa"); owasDir.mkdir(); downloadOWAs(targetDirectory, distroProperties, owasDir); @@ -621,5 +621,4 @@ public boolean accept(File dir, String name) { } } } - } diff --git a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Setup.java b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Setup.java index 07951f8e..e1f46070 100644 --- a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Setup.java +++ b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Setup.java @@ -65,8 +65,7 @@ public class Setup extends AbstractServerTask { private static final String NO_DEBUGGING_DEFAULT_ANSWER = "no debugging"; - private static final int DEFAULT_PORT = 8080; - + private static final int DEFAULT_PORT = 8080; /** * DB Driver type @@ -346,8 +345,8 @@ private void downloadOWAs(File targetDirectory, DistroProperties distroPropertie owaHelper.downloadOwa(owasDir, owa, moduleInstaller); } } - } - + } + /** * Sets the configuration folder for the specified server using the provided distro properties. *