An open API service indexing awesome lists of open source software.

https://github.com/sormuras/maven-clashing-modules

https://twitter.com/sormuras/status/1365197340215246848
https://github.com/sormuras/maven-clashing-modules

java module

Last synced: about 2 months ago
JSON representation

https://twitter.com/sormuras/status/1365197340215246848

Awesome Lists containing this project

README

          

# maven-clashing-modules

Motivation:

- https://twitter.com/sormuras/status/1365197340215246848
- Or what are Impostor Modules published at Maven Central?
- Want more? 🧩 https://github.com/sormuras/modules

This Maven project has two dependencies:

- `com.oracle.substratevm:svm:19.2.1`
- `org.ow2.asm:asm:9.1`

Both identify as module `org.objectweb.asm` due to both contain a `module-info.class` in their JAR file's root.

![Ambiguous module reference: org.objectweb.asm](img.png)

If you comment out the first dependency, everything compiles and launches as expected.