Skip to content

Change JUnit dependency scope from compile to scope#666

Open
ThomasVitale wants to merge 1 commit intooras-project:mainfrom
ThomasVitale:gh-665
Open

Change JUnit dependency scope from compile to scope#666
ThomasVitale wants to merge 1 commit intooras-project:mainfrom
ThomasVitale:gh-665

Conversation

@ThomasVitale
Copy link
Copy Markdown

Description

The org.junit.jupiter:junit-jupiter-params dependency was mistakenly declared with compile scope, resulting in it being included in the final production artifact published to Maven Central. I fixed it by declaring it with test scope.

Fixes gh-665

Testing done

I ran the entire test suite and it succeeded.

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

Fixes oras-projectgh-665

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
@ThomasVitale ThomasVitale requested a review from jonesbusy as a code owner April 1, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JUnit mistakenly included as production dependency instead of test

1 participant