-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Spring Modulith #1228
Add Spring Modulith #1228
Conversation
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Outdated
Show resolved
Hide resolved
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Show resolved
Hide resolved
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Outdated
Show resolved
Hide resolved
...t/site/extension/dependency/springmodulith/SpringModulithProjectGenerationConfiguration.java
Show resolved
Hide resolved
...t/site/extension/dependency/springmodulith/SpringModulithProjectGenerationConfiguration.java
Outdated
Show resolved
Hide resolved
...ite/src/main/java/io/spring/start/site/extension/dependency/springmodulith/package-info.java
Show resolved
Hide resolved
...pring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizerTests.java
Show resolved
Hide resolved
...pring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizerTests.java
Outdated
Show resolved
Hide resolved
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Outdated
Show resolved
Hide resolved
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Outdated
Show resolved
Hide resolved
ddc2f06
to
728cbfc
Compare
All changes in place as requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I've added a few comments for your consideration.
I know building the client is an issue due to installing node-gyp
. If you don't want to install it, you can remove the following dependency locally:
<dependency>
<groupId>io.spring.start</groupId>
<artifactId>start-client</artifactId>
<scope>runtime</scope>
</dependency>
And then run the following command: ./mvnw verify -pl start-site
. Thanks!
.../io/spring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizer.java
Outdated
Show resolved
Hide resolved
...pring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizerTests.java
Outdated
Show resolved
Hide resolved
...pring/start/site/extension/dependency/springmodulith/SpringModulithBuildCustomizerTests.java
Outdated
Show resolved
Hide resolved
728cbfc
to
758031e
Compare
That's been a useful tip, thanks! I have incorporated your feedback, fixed the Checkstyle issues and updated the branch. |
Unfortunately, the build is failing for me and I can still see a bunch of additional newlines in method bodies. Can you please look again? |
This commit adds support to add Spring Modulith to a project. We add the Event Publication Registry matching the (optionally) also selected persistence flavor (JPA, JDBC, MongoDB). Also, the observability support in case any of the supported observability backends is selected as dependency.
758031e
to
5df35cf
Compare
Sorry, for the hassle. Done. |
I've taken over now so there's no need to push further updates. I've created spring-projects/spring-modulith#237 as the core starter doesn't bring the "core" spring boot starter, which breaks the metadata test when this PR is around. I've also found some lingering |
This commit adds support to add Spring Modulith to a project. We add the Event Publication Registry matching the (optionally) also selected persistence flavor (JPA, JDBC, MongoDB). Also, the observability support in case any of the supported observability backends is selected as dependency. See gh-1228
This commit adds support to add Spring Modulith to a project. We add the Event Publication Registry matching the (optionally) also selected persistence flavor (JPA, JDBC, MongoDB). Furthermore, the observability support in case any of the supported observability backends is selected as dependency.