testcontainers / testcontainers/testcontainers-java
org.testcontainers:postgresql artifact name clashes with org.postgresql:postgresql
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
The artifact (and jar names) of the testcontainers postgres module and the postgres driver are the same. This prevents using these two together in a Java 9 project using the module system. Java infers the module name automatically from the name of the Jar file.
There is a fix for this described here: http://branchandbound.net/blog/java/2017/12/automatic-module-name/
Java allows setting an automatic module name in the Manifest.mf file of a library without modularizing the library itself.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the PostgreSQL module's artifact and JAR packaging configuration, then compare it with the automatic-module-name approach described in the linked article. Done means the Testcontainers PostgreSQL artifact can coexist with org.postgresql:postgresql in a Java 9 module-system project without a derived module-name clash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100