You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Andreas Hoheneder (JIRA)" <ji...@codehaus.org> on 2005/06/16 14:05:26 UTC

[jira] Created: (MNG-477) maven-plugin-assembly: tries to unpack non archive files

maven-plugin-assembly: <unpack> tries to unpack non archive files
-----------------------------------------------------------------

         Key: MNG-477
         URL: http://jira.codehaus.org/browse/MNG-477
     Project: Maven 2
        Type: Bug
  Components: maven-plugins  
    Versions: 2.0-alpha-2    
    Reporter: Andreas Hoheneder


If a dependencySet contains a file which is not an archive (eg. *.dll) and <unpack>true</unpack> is set,  unpackJar() gets called nevertheless leading to 

"Caused by: java.util.zip.ZipException: error in opening zip file".

The error message does not tell the reason of the Exception, but it was the first non-jar file from the dependency chain which triggered it.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-477) maven-plugin-assembly: tries to unpack non archive files

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-477?page=all ]
     
Vincent Siveton closed MNG-477:
-------------------------------

    Resolution: Fixed

Done in SVN by adding a warning message

> maven-plugin-assembly: <unpack> tries to unpack non archive files
> -----------------------------------------------------------------
>
>          Key: MNG-477
>          URL: http://jira.codehaus.org/browse/MNG-477
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-alpha-2
>     Reporter: Andreas Hoheneder
>     Assignee: Vincent Siveton
>      Fix For: 2.0-beta-1

>
>
> If a dependencySet contains a file which is not an archive (eg. *.dll) and <unpack>true</unpack> is set,  unpackJar() gets called nevertheless leading to 
> "Caused by: java.util.zip.ZipException: error in opening zip file".
> The error message does not tell the reason of the Exception, but it was the first non-jar file from the dependency chain which triggered it.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-477) maven-plugin-assembly: tries to unpack non archive files

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-477?page=all ]

Brett Porter updated MNG-477:
-----------------------------

    Fix Version: 2.0-beta-1

> maven-plugin-assembly: <unpack> tries to unpack non archive files
> -----------------------------------------------------------------
>
>          Key: MNG-477
>          URL: http://jira.codehaus.org/browse/MNG-477
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-alpha-2
>     Reporter: Andreas Hoheneder
>      Fix For: 2.0-beta-1

>
>
> If a dependencySet contains a file which is not an archive (eg. *.dll) and <unpack>true</unpack> is set,  unpackJar() gets called nevertheless leading to 
> "Caused by: java.util.zip.ZipException: error in opening zip file".
> The error message does not tell the reason of the Exception, but it was the first non-jar file from the dependency chain which triggered it.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org