summaryrefslogtreecommitdiff
path: root/src/main/java/org/apache/maven
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/apache/maven')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/Linker.java4
1 files changed, 3 insertions, 1 deletions
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 <Name> as part of <Linker>" );
+ throw new MojoFailureException( "One of two things may be wrong here:\n"+
+ "1. <Name> tag is missing inside the <Linker> tag of your NAR configuration\n"+
+ "2. no linker is defined in the aol.properties file for '"+prefix+"'");
}
return name;
}