Open JohannesRabauer opened 11 months ago
Currently i can't use the library in my project which uses JPMS (module-info.java) because of the error message:
module-info.java
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:
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.
com.ibm.cloud.objectstorage.auth
ibm.cos.java.sdk.core
Thanks for reporting. Opened the internal ticket, and someone from the team will take a look.
Currently i can't use the library in my project which uses JPMS (
module-info.java
) because of the error message:I'm using Maven with Java 11.
pom.xml
:module-info.java
:As i understand it, the problem occurs because the package
com.ibm.cloud.objectstorage.auth
exists in both dependenciesibm.cos.java.sdk.core
and ``ibm.cos.java.sdk.s3```. This should be fixed to be compatible to JPMS.