On 05/11/2015 13:17, Ali Ebrahimi wrote:

If API usage of com.baz in com.foo does not contain any type of com.bar you wouldn't have any issue, otherwise com.foo must live on layer1.

Are there com.bar types in com.baz's API? If not then users of com.baz need to vigorously lobby the maintainer of com.baz to stop using requires public. If com.baz agrees then com.foo will not read com.bar@1 and this frees up com.foo to use another version of com.bar in layer2.

On the other hand, if there are com.bar types in com.baz's API then com.foo will be exposed to com.bar@1 types.

-Alan.

Reply via email to