-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Currently i can't use the library in my project which uses JPMS (module-info.java) because of the error message:
module xy reads package com.ibm.cloud.objectstorage.auth from both ibm.cos.java.sdk.core and ibm.cos.java.sdk.s3
I'm using Maven with Java 11.
pom.xml:
...
<dependencies>
<dependency>
<groupId>com.ibm.cos</groupId>
<artifactId>ibm-cos-java-sdk-core</artifactId>
<version>2.13.2</version>
</dependency>
<dependency>
<groupId>com.ibm.cos</groupId>
<artifactId>ibm-cos-java-sdk-s3</artifactId>
<version>2.13.2</version>
</dependency>
</dependencies>
...module-info.java:
module xy
{
...
requires ibm.cos.java.sdk.core;
requires ibm.cos.java.sdk.s3;
...
}
As i understand it, the problem occurs because the package com.ibm.cloud.objectstorage.auth exists in both dependencies ibm.cos.java.sdk.core and ``ibm.cos.java.sdk.s3```.
This should be fixed to be compatible to JPMS.
Metadata
Metadata
Assignees
Labels
No labels