Camel
  1. Camel
  2. CAMEL-456

Invalid jar in binary distribution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

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

      1. camel-456.patch
        17 kB
        Jonathan Anstey

        Activity

        Hide
        Jonathan Anstey added a comment -

        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.

        Show
        Jonathan Anstey added a comment - 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.
        Hide
        Hadrian Zbarcea added a comment -

        Awesome. Thanks a lot Jon.

        Show
        Hadrian Zbarcea added a comment - Awesome. Thanks a lot Jon.

          People

          • Assignee:
            Jonathan Anstey
            Reporter:
            Hadrian Zbarcea
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development