Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6.2
-
Labels:None
-
Number of attachments :
Description
I don't know it's a bug or not, or just my misunderstanding, in the Doc for 1.7-SNAPSHOT(current version), in the properties page http://maven.apache.org/reference/plugins/war/properties.html. here have two properties (maven.war.classes.includes, maven.war.classes.excludes),the description NOTE the classes relative to $
{maven.build.dir}, but after i checked the source code(plugin.jelly) in the cvs,i find it relatives to the ${maven.build.dest}.Because sometimes we need put some cacuts test case classes into the WEB-INF/classes, i think the path relative to the ${maven.build.dir}
will be better.
anyway, now i have walkaround it by write down
maven.war.classes.includes=** ../test-classes/**
in the project.properties,not
maven.war.classes.includes=classes/** test-classes/**.
sorry!
maven.war.classes.includes=** ../test-classes/** can not walkaround it.