From 85655c2acd96a15c2acabe95137ec6fd61d8b89d Mon Sep 17 00:00:00 2001 From: Tom Hombergs Date: Fri, 26 May 2023 10:30:04 +1000 Subject: [PATCH] GH-209 - Update the README with a complete pom.xml snippet to get started. --- readme.adoc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/readme.adoc b/readme.adoc index 51e9fbab..422c17f8 100644 --- a/readme.adoc +++ b/readme.adoc @@ -7,6 +7,34 @@ It supports the link:{docs}#verification[verification] of such modular arrangeme == Quickstart . Create a Spring Boot application on https://start.spring.io +. Add Spring Modulith to your application by adding this to your `pom.xml`: ++ +[source, xml] +---- + + + spring-snapshots + https://repo.spring.io/snapshot + + + + + + org.springframework.modulith + spring-modulith-bom + 1.0.0-SNAPSHOT + import + pom + + + + + + org.springframework.modulith + spring-modulith-starter-core + + +---- . Create a Java package arrangement that puts business modules as link:{docs}#fundamentals[direct sub-packages of the application's main package]. + [source, text, subs="macros"]