Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Exclude package private classe references from entry points assertions

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start by tracing how entry point assertion classes are generated when includePackagePrivateClasses is enabled, using the entryPointClassPackage and entry point generation configurations described in the linked plugin documentation. Verify the generated entry points do not reference package-private assertion classes from another package; done means the affected configuration no longer causes compilation errors.

Written by the indexing model from the issue text.

Description

Since 2.2.0, when includePackagePrivateClasses option is enabled, package private assertions classes are referenced in the entry points assertions classes, like BddAssertions...
Which can cause compilation errors when these entry points classes are not generated in the same package.

As workarounds, the following plugin configurations can be applied :

  • entryPointClassPackage configuration could match the package which contains assertions for package private classes
  • entry points assertions classes generation should be disabled

Ideally, package private classes should not be referenced in entry points classes

Dominant language
Java
Stars
30
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from assertj/assertj-assertions-generator-maven-plugin

All issues in assertj/assertj-assertions-generator-maven-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.