You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/06/16 13:05:54 UTC

[jira] Closed: (MAVEN-474) war plugin doesn't support lists of includes/excludes

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-474


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-474
    Summary: war plugin doesn't support lists of includes/excludes
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
 Components: 
             plugin-war
   Fix Fors:
             1.0-beta-10
   Versions:
             1.0-beta-10

   Assignee: Vincent Massol
   Reporter: Tim Anderson

    Created: Wed, 11 Jun 2003 5:48 AM
    Updated: Mon, 16 Jun 2003 6:04 AM

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="${maven.war.classes.includes}"
           excludes="${maven.war.classes.excludes}" />

Patch to follow.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org