I had tried that earlier but that failed with the same problem. I
tried it again now and see that same problem as above. I wonder if
there's anything wrong with my pom.xml [1].

I create the jar-with-dependencies using:
$ mvn clean compile assembly:single

Ah, yes, that won't work just like that (well spotted) - some META-INF/services merging needs to happen to ensure all the providers are retained.

See e.g. the blobstore-basics jar-with-deps definition [1] for an example.

ap

[1] https://github.com/jclouds/jclouds-examples/blob/master/blobstore-basics/src/main/assembly/jar-with-dependencies.xml#L31

Reply via email to