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. *