From df98bdbe4075343cd9a5c4997d922a5c27c5e5e2 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Sat, 27 Apr 2024 08:35:12 -0500 Subject: [PATCH] Fixes #170 - Set WAR packaging to be the default --- src/main/java/start/StartBean.java | 1 - src/main/java/start/StartModel.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/start/StartBean.java b/src/main/java/start/StartBean.java index 864d97e..41f77a7 100644 --- a/src/main/java/start/StartBean.java +++ b/src/main/java/start/StartBean.java @@ -29,7 +29,6 @@ import jakarta.annotation.PostConstruct; import jakarta.enterprise.context.RequestScoped; -import jakarta.faces.component.UIInput; import jakarta.faces.context.ExternalContext; import jakarta.faces.context.FacesContext; import jakarta.faces.event.AbortProcessingException; diff --git a/src/main/java/start/StartModel.java b/src/main/java/start/StartModel.java index 05d87c1..07bfcbe 100644 --- a/src/main/java/start/StartModel.java +++ b/src/main/java/start/StartModel.java @@ -51,7 +51,7 @@ public class StartModel { /** * Stores the packaging. */ - private String packaging; + private String packaging = "war"; /** * Stores the stack.