summaryrefslogtreecommitdiff
path: root/src/main/java/org/apache/maven
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-28 15:22:11 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-28 15:22:11 +0100
commit5bf4536cc3b7c437d2582aa805db3875ba9f104f (patch)
tree8b0ded83a68c7eaf5ea28f5ade62afce5aaedd0e /src/main/java/org/apache/maven
parent90994c0fa5d0b116f4ea79711e9c63b266f401a5 (diff)
downloadmaven-nar-plugin-5bf4536cc3b7c437d2582aa805db3875ba9f104f.tar.gz
maven-nar-plugin-5bf4536cc3b7c437d2582aa805db3875ba9f104f.tar.bz2
maven-nar-plugin-5bf4536cc3b7c437d2582aa805db3875ba9f104f.tar.xz
maven-nar-plugin-5bf4536cc3b7c437d2582aa805db3875ba9f104f.zip
Fixed NAR-55
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;
}