Skip to content

Scope junit-jupiter-engine to test and drop unused plugin test deps - #12

Open
zijian-yi wants to merge 1 commit into
EngineeringSoftware:mainfrom
zijian-yi:dependency-scoping
Open

zijian-yi wants to merge 1 commit into
EngineeringSoftware:mainfrom
zijian-yi:dependency-scoping

Conversation

@zijian-yi

Copy link
Copy Markdown

Split out of #11, as requested in review.

Changes

  • estore/pom.xml: junit-jupiter-engine is now test-scoped. It was compile-scoped, so JUnit 5 leaked into every consumer of estore, including estore-maven-plugin.
  • estore-maven-plugin/pom.xml: removes three unused test dependencies: maven-compat, junit 4.12 and maven-plugin-testing-harness. The plugin has no tests on main.

Testing

Ran locally: mvn -pl estore clean test jacoco:report jacoco:check passes (225 tests, coverage gate met), the plugin installs, and mvn spotless:check is clean.

🤖 Generated with Claude Code using Claude Opus 5.5 (claude-opus-5-5)

junit-jupiter-engine was compile-scoped in estore, so JUnit 5 leaked into
every consumer, including estore-maven-plugin. Scope it to test.

estore-maven-plugin has no tests, so its maven-compat, junit 4.12 and
maven-plugin-testing-harness test dependencies are unused; remove them.
antlr4-runtime and javaparser-symbol-solver-core stay because CodegenMojo
imports them directly.
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.

1 participant