Unable to unzip a file created with maven assembly plugin using JDK 1.6 
(IllegalArgumentException at getUTF8String(byte[] b, int off, int len))
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MASSEMBLY-323
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-323
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-2
         Environment: Maven version: 2.0.8
Java version: 1.6.0_05
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

            Reporter: Gervais Mickaƫl


I've a pom with:
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
                <execution>
                        <!-- this is used for inheritance merges -->
                        <id>make-assembly</id>
                        <!-- append to the packaging phase. -->
                        <phase>package</phase>
                        <goals>
                                <!-- goals == mojos -->
                                <goal>attached</goal>
                        </goals>
                        <configuration>
                                <descriptors>
                                        
<descriptor>assembly-config.xml</descriptor>
                                </descriptors>
                        </configuration>
                </execution>
        </executions>
</plugin>       

and I want to unzip the zip file with JDK 1.6. I've an exception...
If I open the zip file with 7zip I can see that OS host is set to linux even if 
I'm on windows.
When I do mvn package in debug mode I can see that the file encoding is set to 
null...
Is this a plexus archiver mistake or a bug?
Thanks


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


Reply via email to