Author: dennisl
Date: Wed Dec 7 08:40:25 2011
New Revision: 1211335
URL: http://svn.apache.org/viewvc?rev=1211335&view=rev
Log:
Fix the exception message if an excluded entry is included.
Modified:
maven/plugins/trunk/maven-ear-plugin/src/it/skinny-wars/verify.bsh
Modified: maven/plugins/trunk/maven-ear-plugin/src/it/skinny-wars/verify.bsh
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/skinny-wars/verify.bsh?rev=1211335&r1=1211334&r2=1211335&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/skinny-wars/verify.bsh
(original)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/skinny-wars/verify.bsh Wed Dec
7 08:40:25 2011
@@ -33,7 +33,7 @@ for ( String excluded : excludedEntries
System.out.println( "Checking for excluded artifact " + excluded );
if ( jar.getEntry( excluded ) != null )
{
- throw new IllegalStateException( "Archive entry should be excluded: "
+ included );
+ throw new IllegalStateException( "Archive entry should be excluded: "
+ excluded );
}
}