jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x War Plugin
  • MPWAR-12

war plugin doesn't support lists of includes/excludes

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    plugin.jelly.patch
    11/Jun/03 5:49 AM
    0.9 kB
    Tim Anderson

Issue Links

is depended upon by

Task - A task that needs to be done. MAVEN-401 Release maven-b10

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Tim Anderson added a comment - 11/Jun/03 5:49 AM

patch to the war plugin.jelly script

Show
Tim Anderson added a comment - 11/Jun/03 5:49 AM patch to the war plugin.jelly script

People

  • Assignee:
    Vincent Massol
    Reporter:
    Tim Anderson
Vote (0)
Watch (0)

Dates

  • Created:
    11/Jun/03 5:48 AM
    Updated:
    01/Dec/03 1:30 AM
    Resolved:
    16/Jun/03 6:04 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.