You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gervais Mickaël (JIRA)" <ji...@codehaus.org> on 2008/04/29 10:16:48 UTC

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

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

       

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-323.
--------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 2.2-beta-6
         Assignee: John Casey

I'm using JDK1.6 with the assembly plugin now, and have had no problems.

Reopen if you have a sample project that expresses the issue, and uses the latest release of the plugin.

> 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
>            Assignee: John Casey
>             Fix For: 2.2-beta-6
>
>
> 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

       

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-323:
--------------------------------------

    Fix Version/s:     (was: 2.2)

> 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
>            Assignee: John Casey
>
> 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