GH-209 - Polishing.

A few more comments. Test dependency instead of the core one to include the subsequently shown API.
This commit is contained in:
Oliver Drotbohm
2023-06-01 22:02:36 +02:00
parent 85655c2acd
commit fb8f12fd98

View File

@@ -11,12 +11,15 @@ It supports the link:{docs}#verification[verification] of such modular arrangeme
+ +
[source, xml] [source, xml]
---- ----
<!-- The Maven repository to pull the dependencies from -->
<repositories> <repositories>
<repository> <repository>
<id>spring-snapshots</id> <id>spring-snapshots</id>
<url>https://repo.spring.io/snapshot</url> <url>https://repo.spring.io/snapshot</url>
</repository> </repository>
</repositories> </repositories>
<!-- Include the BOM for simplified version management -->
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
@@ -28,11 +31,17 @@ It supports the link:{docs}#verification[verification] of such modular arrangeme
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<!-- The test dependency to pull in verification APIs -->
<dependency> <dependency>
<groupId>org.springframework.modulith</groupId> <groupId>org.springframework.modulith</groupId>
<artifactId>spring-modulith-starter-core</artifactId> <artifactId>spring-modulith-starter-test</artifactId>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
---- ----
. Create a Java package arrangement that puts business modules as link:{docs}#fundamentals[direct sub-packages of the application's main package]. . Create a Java package arrangement that puts business modules as link:{docs}#fundamentals[direct sub-packages of the application's main package].