[
http://jira.codehaus.org/browse/MASSEMBLY-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Casey closed MASSEMBLY-491.
--------------------------------
Resolution: Won't Fix
Assignee: John Casey
if you filter binary files, they will be corrupted. Please use a separate
fileSet with appropriate includes/excludes to handle binary files as opposed to
those you wish to filter.
> wrong magic number
> -------------------
>
> Key: MASSEMBLY-491
> URL: http://jira.codehaus.org/browse/MASSEMBLY-491
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-5
> Environment: Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.5.0_22
> OS name: "linux" version: "2.6.32-23-generic-pae" arch: "i386"
> Reporter: Christian
> Assignee: John Casey
>
> Hi,
> I discovered a problem with the "magic number" in my test class file if I use
> the plugin in version 2.2-beta-5 with goal "single" in execution phase
> "pre-integration-test".
> This is the beginning of the class file with beta-5: ef bf bd ef bf bd ef bf
> bd ef bf bd 00 00 00 31
> This with beta-4: ca fe ba be 00 00 00 31 00 25 01 00 54 74 65 73
> The compiled class file in the target/test-classes folder has the correct
> "magic number" with both plugin versions.
> My assembly xml file looks like this:
> {code:xml}
> <assembly>
> <id>test-bundle</id>
> <formats>
> <format>dir</format>
> </formats>
> <baseDirectory>/</baseDirectory>
> <fileSets>
> <fileSet>
> <directory>target/classes/</directory>
> <outputDirectory>/</outputDirectory>
> </fileSet>
> <fileSet>
> <directory>target/test-classes/</directory>
> <outputDirectory>/</outputDirectory>
> <filtered>true</filtered>
> </fileSet>
> </fileSets>
> </assembly>
> {code}
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira