Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
The war plugin uses
<classes dir="$
{maven.build.dest}"><include name="${maven.war.classes.includes}" />
<exclude name="${maven.war.classes.excludes}" />
</classes>
to build up the list of files to include in the war file.
This prevents the specification of a lists files to include and exclude, eg:
maven.war.classes.includes=org/foo/*,org/bar/*
maven.war.classes.excludes=org/foo/ter/*,org/bar/fly/*
The fix is to replace the nested <include> and <excludes> as follows:
<classes dir="${maven.build.dest}
"
includes="$
"
excludes="$
" />
Patch to follow.
Issue Links
- is depended upon by
-
MAVEN-401
Release maven-b10
-
Activity
Tim Anderson
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | plugin.jelly.patch [ 10290 ] |
Ben Walding
made changes -
| Status | Unassigned [ 1 ] | Assigned [ 2 ] |
| Assignee | Michal Maczka [ michal maczka ] |
Ben Walding
made changes -
Vincent Massol
made changes -
| Status | Assigned [ 2 ] | Closed [ 6 ] |
| Assignee | Michal Maczka [ michal maczka ] | Vincent Massol [ vmassol ] |
| Fix Version/s | 1.0-beta-10 [ 10095 ] | |
| Resolution | Fixed [ 1 ] |
Jason van Zyl
made changes -
| Component/s | plugin-war [ 10064 ] | |
| Project | maven [ 10030 ] | maven-war-plugin [ 10366 ] |
| Affects Version/s | 1.0-beta-10 [ 10095 ] | |
| Key | MAVEN-474 |
|
| Fix Version/s | 1.0-beta-10 [ 10095 ] |