Exclude package private classe references from entry points assertions
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from assertj/assertj-assertions-generator-maven-plugin
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Move module to `assertj/assertj-generator`May be free again @scordio claimed this 503 days ago, and no pull request is open. Open
assertj/assertj-assertions-generator-maven-plugin#113 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
assertj/assertj-assertions-generator-maven-plugin#108 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
allow the jakarta version of `@Generated` instead of the javax one.May be free again @scordio claimed this 525 days ago, and no pull request is open. Open
assertj/assertj-assertions-generator-maven-plugin#93 · 7 comments · 7 reactions · 1 assignee ·
All issues in assertj/assertj-assertions-generator-maven-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Content
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
RunestoneInteractive/rs#1559 · 1 comment ·
Maintainers usually reply within 2 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
inu-appcenter/memorIN-backend#298 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
opendataloader-project/opendataloader-pdf#757 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
redhat-developer/intellij-quarkus#1626 ·