From 5bf4536cc3b7c437d2582aa805db3875ba9f104f Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 28 Oct 2009 15:22:11 +0100 Subject: Fixed NAR-55 --- src/main/java/org/apache/maven/plugin/nar/Linker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/org/apache/maven/plugin/nar/Linker.java b/src/main/java/org/apache/maven/plugin/nar/Linker.java index d6d8345..ba91ac6 100644 --- a/src/main/java/org/apache/maven/plugin/nar/Linker.java +++ b/src/main/java/org/apache/maven/plugin/nar/Linker.java @@ -163,7 +163,9 @@ public class Linker } if ( name == null ) { - throw new MojoFailureException( "NAR: Please specify a as part of " ); + throw new MojoFailureException( "One of two things may be wrong here:\n"+ + "1. tag is missing inside the tag of your NAR configuration\n"+ + "2. no linker is defined in the aol.properties file for '"+prefix+"'"); } return name; } -- cgit v1.2.3