![]() The autoconfigure module contains everything necessary for a start. Typically the “starter” module is separated from the “autoconfigure” module. For example, the names of my libraries are logstash-logging-spring-boot-starter or istio-spring-boot-starter. ![]() It is contrary to the names of all official starters, which are created following the pattern spring-boot-starter-*. The name of the third-party starter should end with spring-boot-starter and start with the name of the project or something related to the technology we are using in the library. Spring recommends creating special modules called “starters” that contain code with auto-configuration and customize the infrastructure of a given technology. We should pick the right name for our library. If you are looking for the examples of simple Spring Boot libraries you can take a look on my repositories: and. Probably you need to obtain positive feedback from the community, so you should think about adding some extras. Finally, you should publish your artifacts somewhere to share it with the community. It’s a little bit more complicated than creating a plain Java library. ![]() If you decide to build such a product you should follow some best practices recommended by Spring Team. In this article, I’m going to show you how to create and share your own custom Spring Boot library.
0 Comments
Leave a Reply. |