[ 
https://issues.apache.org/activemq/browse/CAMEL-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Anstey updated CAMEL-456:
----------------------------------

    Attachment: camel-456.patch

Here's a patch to fix this issue.

Basically, the shaded jar (i.e. the larger one) was being generated *after* the 
assemblies were created and so was not being included. The simple fix would 
have been to change the ordering in the pom... when I tried to do this, the 
shade plugin messed up the environment such that the assembly plugin didn't 
work anymore. Try it for yourself, it was quite wonky :) Anyway, the solution 
was to separate out the shade portion to a submodule.

> Invalid jar in binary distribution
> ----------------------------------
>
>                 Key: CAMEL-456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-456
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Jonathan Anstey
>            Priority: Critical
>             Fix For: 1.4.0
>
>         Attachments: camel-456.patch
>
>
> The apache-camel jar in the binary distribution misses a lot of files, 
> including class and schema files (12k in size compared to the 1.9M released 
> jar). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to