You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Jose <no...@github.com> on 2015/09/04 12:54:34 UTC

[jclouds-examples] Fix the jar-with-dependencies building. (#82)

The jar-with-dependencies of compute-basics module can not be executed.

The assembly descriptor is deleted and the jar is built using a
predefined descriptor.
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-examples/pull/82

-- Commit Summary --

  * Fix the jar-with-dependencies building.

-- File Changes --

    M compute-basics/pom.xml (13)
    D compute-basics/src/main/assembly/jar-with-dependencies.xml (42)

-- Patch Links --

https://github.com/jclouds/jclouds-examples/pull/82.patch
https://github.com/jclouds/jclouds-examples/pull/82.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/82

Re: [jclouds-examples] Fix the jar-with-dependencies building. (#82)

Posted by Andrew Phillips <no...@github.com>.
Thanks for this, @kiuby88! Unfortunately, the default "jar-with-deps" descriptor does not work because it does not correctly merge the META-INF/services files - it picks **one** of the META-INF/services files instead.

This breaks jclouds because it uses the META-INF/services files to determine which APIs providers are available.

See e.g. [this StackOverflow post](http://stackoverflow.com/questions/21681318/jclouds-with-multiple-providers).

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/82#issuecomment-137761220