From 3a6275855a0f7e3bf29e78dc92b1b51f2999ea4f Mon Sep 17 00:00:00 2001 From: Adam Bien Date: Thu, 7 Feb 2019 12:09:36 +0100 Subject: [PATCH] usage fixes, release 0.0.8 preparation --- pom.xml | 2 +- .../com/airhacks/wad/watch/control/PreBuildChecks.java | 2 +- src/main/resources/usage.txt | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index f5d19e7..8f050ad 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.airhacks wad - 0.0.8-SNAPSHOT + 0.0.8 jar diff --git a/src/main/java/com/airhacks/wad/watch/control/PreBuildChecks.java b/src/main/java/com/airhacks/wad/watch/control/PreBuildChecks.java index 29b93b8..c232848 100644 --- a/src/main/java/com/airhacks/wad/watch/control/PreBuildChecks.java +++ b/src/main/java/com/airhacks/wad/watch/control/PreBuildChecks.java @@ -32,7 +32,7 @@ static void exit() { public static void printUsage() { String message = loadMessage("usage.txt"); - System.out.println("message = " + message); + System.out.println(message); } public static String loadMessage(String fileName) { diff --git a/src/main/resources/usage.txt b/src/main/resources/usage.txt index 3fbd4ea..b9e684f 100644 --- a/src/main/resources/usage.txt +++ b/src/main/resources/usage.txt @@ -1,5 +1,8 @@ -pom.xml does not exist. To create a Java EE 8 ThinWAR project, perform: +pom.xml does not exist in the current folder. To create a Java EE 8 ThinWAR project, perform: +--- -mvn archetype:generate -DarchetypeGroupId=com.airhacks -DarchetypeArtifactId=javaee8-essentials-archetype -DarchetypeVersion=0.0.2 -DgroupId=com.airhacks -Dversion=0.0.1 -Darchetype.interactive=false --batch-mode -DartifactId=[ThinWAR name] \ No newline at end of file +mvn archetype:generate -DarchetypeGroupId=com.airhacks -DarchetypeArtifactId=javaee8-essentials-archetype -DarchetypeVersion=0.0.2 -DgroupId=com.airhacks -Dversion=0.0.1 -Darchetype.interactive=false --batch-mode -DartifactId=[ThinWAR name] + +---