looks ok to me,
this might be a silly suggestion but have executed maven clean since you modified the maven.war.src.excludes?
is your source directory [project]/WebContent
or
[project]/src/WebContent
if the latter, you'll want
maven.war.src=${maven.src.dir}/WebContentyou might want to check there is no overriding maven.war.src.excludes entry in [user_home]/build.properties
One more thing, you probably don't want jar files in your maven.war.src dir these should probably be identified with dependency elements in your project.xml
hope this is useful
[EMAIL PROTECTED] wrote:
I am trying to package up a war file with Maven 1.0. I am able to get it to work but I am trying to exclude files from the war and it is not working.
This is the information in my project.properties maven.multiproject.type=war maven.war.src=${basedir}/WebContent maven.war.src.excludes=**/*.jar,**/*.gph,**/*.xmi
The files matching these criteria are still included in the war. I've tried various permutations of the exclude files to no avail. What I am doing wrong?
Thanks, Earl Hokens
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
