You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2008/01/29 22:32:37 UTC
svn commit: r616527 -
/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
Author: olamy
Date: Tue Jan 29 13:32:36 2008
New Revision: 616527
URL: http://svn.apache.org/viewvc?rev=616527&view=rev
Log:
fix 1.4 compilation
Modified:
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
Modified: maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java?rev=616527&r1=616526&r2=616527&view=diff
==============================================================================
--- maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java (original)
+++ maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java Tue Jan 29 13:32:36 2008
@@ -187,7 +187,8 @@
archiver.setOutputFile( warFile );
getLog().debug(
- "Excluding " + Arrays.toString( getPackagingExcludes() ) + " for the generated webapp archive." );
+ "Excluding " + Arrays.asList( getPackagingExcludes() ) + " for the generated webapp archive." );
+
warArchiver.addDirectory( getWebappDirectory(), new String[]{"**"}, getPackagingExcludes() );
final File webXmlFile = new File( getWebappDirectory(), "WEB-INF/web.xml" );