Gabriele Catania created MASSEMBLY-596:
------------------------------------------

             Summary: error creating distribution package with unpacked eclipse 
jars
                 Key: MASSEMBLY-596
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-596
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2.2, 2.2.1, 2.2, 2.2-beta-5, 2.2-beta-4, 2.2-beta-3, 
2.2-beta-2
         Environment: Ubuntu oneiric 64 bit
java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) 
(6b23~pre11-0ubuntu1.11.10) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed 
mode)
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-15-generic", arch: "amd64", family: "unix"

            Reporter: Gabriele Catania
         Attachments: test-dist.zip

I'm trying to build a zip with a target platform, containing
# the eclipse equinox launcher jar
# the native components for win32 and gtk x86 of the equinox launcher, 
decompressed

The build succeeds when using maven assembly plugin version 2.2-beta-1 but 
fails with any newer version, with the following error message:
{noformat}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:single (default) on 
project dist:
    Execution default of goal 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:single failed:
    Invalid signature file digest for Manifest main attributes -> [Help 1]
{noformat}

I am attaching a minimal maven project as an example. Steps to reproduce the 
error:
{noformat}
unzip test-dist.zip 
cd test-dist
mvn3 clean install
{noformat}
The attached project compiles if the maven-assembly-plugin version is 
downgraded to 2.2-beta-1 and produces the expected file dist-0.0.1-rcp.zip.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to