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 2.x WAR Plugin
  • MWAR-181

warSourceExcludes does not work in 2.1-alpha-2

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Not A Bug
  • Affects Version/s: 2.1-alpha-2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

we use following configuration to produce jar-less war artifacts, in order to embed them to EAR:

<warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>

This does not work with release 2.1-alpha-2.
Switching to 2.1-alpha-1 solves the problem.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dennis Lundberg added a comment - 12/Feb/09 8:57 AM

On closer inspection it is not the same issue as MWAR-182.

Show
Dennis Lundberg added a comment - 12/Feb/09 8:57 AM On closer inspection it is not the same issue as MWAR-182.
Hide
Permalink
Dennis Lundberg added a comment - 12/Feb/09 9:02 AM

This was a deliberate change between 2.1-alpha-1 and 2.1-alpha-2. From 2.1-alpha-2 onwards <warSourceExcludes> works only on the files in the <warSourceDirectory>.

To exclude files that are added during the packaging of the WAR you should use this instead:

<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
Show
Dennis Lundberg added a comment - 12/Feb/09 9:02 AM This was a deliberate change between 2.1-alpha-1 and 2.1-alpha-2. From 2.1-alpha-2 onwards <warSourceExcludes> works only on the files in the <warSourceDirectory>. To exclude files that are added during the packaging of the WAR you should use this instead:
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>

People

  • Assignee:
    Unassigned
    Reporter:
    Petr Kozelka
Vote (0)
Watch (1)

Dates

  • Created:
    26/Jan/09 3:54 PM
    Updated:
    12/Feb/09 9:02 AM
    Resolved:
    12/Feb/09 9:02 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.