"directory" parameter should be declared as required in webResources/resource or correctly checked --------------------------------------------------------------------------------------------------
Key: MWAR-202 URL: http://jira.codehaus.org/browse/MWAR-202 Project: Maven 2.x WAR Plugin Issue Type: Improvement Affects Versions: 2.1-beta-1 Environment: Maven 2.x Reporter: Fabrice Daugan Priority: Trivial Attachments: stacktrace.txt In "org.apache.maven.plugin.war.packaging.WarProjectPackagingTask" class the "directory" parameter value is not checked during the war goal. With the below plugin configuration I obtain the attached stacktrace : {code:xml} <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <!-- <directory>.gwt-hosted</directory> --> </resource> </webResources> </configuration> </plugin> {code} So, "directory" parameter should be checked before : {noformat} 120 : new File( resource.getDirectory() ) {noformat} is executed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira