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