spring-projects / spring-projects/spring-modulith
spring-modulith in a Spring application without Spring boot
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I was exploring the events of modulith in a standard Spring application without Spring boot.
Unfortunately spring-modulith-events-jackson and spring-modulith-events-jpa have package protected implementation classes and configuration classes.
This means I cannot complete the necessary application configuration to make the setup work.
In my opinion it would be a shame if spring-modulith would be unusable without using Spring boot.
I understand that encapsulation is a nice property but this restricts the usage.
It would be even worse if Spring would start requiring the usage of Spring boot.
Would it be possible to at least make the configuration classes of the implementation modules accessible?
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
Start by locating the package-protected implementation and configuration classes in spring-modulith-events-jackson and spring-modulith-events-jpa. Trace how a standard Spring application would configure these modules without Spring Boot; done means the necessary configuration is accessible and the event modules can be used in that setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100