Add the hexagonal module: Hexagonal Architecture (Ports and Adapters) in Spring Boot 4
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.ankurm</groupId>
|
||||
<artifactId>hexagonal-parent</artifactId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>hexagonal-core</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!-- No Spring dependency anywhere in this file, not even spring-boot-starter-test. That's
|
||||
not a style choice being asked of contributors; it's what lets this one module's tests
|
||||
run in milliseconds with no application context - see output/00-core-tests-no-spring.txt -->
|
||||
<!-- Versions for both come from the parent's imported spring-boot-dependencies BOM (the
|
||||
same BOM every other module in this repo uses), which is a version source, not a
|
||||
runtime dependency - importing it in dependencyManagement pulls in nothing until a
|
||||
module actually declares one of the artifacts it manages. -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.5.4</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
Reference in New Issue
Block a user