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-145

Add a mojo parameter for file extensions which must not be filtered.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1-alpha-1
  • Fix Version/s: 2.1-alpha-2
  • Component/s: None
  • Labels:
    None

Description

When filtering is set on for webResouces and overlay, binary files are damaged.
Adding a configuration parameter nonFilteredFileExtensions to not filtering a list of file extensions (no default value!).

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 15/Feb/08 6:39 PM

fixed in rev 628218.
Configuration sample

<plugin>
  <artifactId>maven-war-plugin</artifactId>
   <version>2.1-alpha-2-SNAPSHOT</version>
    <configuration>
      <nonFilteredFileExtensions>
      <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
      <nonFilteredFileExtension>png</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
    </configuration>
</plugin>
Show
Olivier Lamy added a comment - 15/Feb/08 6:39 PM fixed in rev 628218. Configuration sample
<plugin>
  <artifactId>maven-war-plugin</artifactId>
   <version>2.1-alpha-2-SNAPSHOT</version>
    <configuration>
      <nonFilteredFileExtensions>
      <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
      <nonFilteredFileExtension>png</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
    </configuration>
</plugin>

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Olivier Lamy
Vote (0)
Watch (1)

Dates

  • Created:
    15/Feb/08 5:13 PM
    Updated:
    15/Feb/08 6:39 PM
    Resolved:
    15/Feb/08 6:39 PM
  • 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.