testcontainers / testcontainers/testcontainers-java
Please move static analysis dependencies in compileOnly scope
Open
Nobody has claimed this yet.
help wanted
resolution/somedaymaybe
type/feature
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 1.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 9
Description
Currently these dependencies are in compile scope:
org.jetbrains:annotationsjavax.annotation:javax.annotation-api
Please move them into compileOnly. I suppose Testcontainers users don't need these libraries in classpath.
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
Locate the build configuration entries for org.jetbrains:annotations and javax.annotation:javax.annotation-api. Change their dependency scope from compile to compileOnly, then run the relevant build and tests to verify Testcontainers still compiles and tests pass without exposing these libraries on the runtime classpath.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100