Skip to content

Commit a2d4001

Browse files
committed
hexagonal - metadata mapping
1 parent 9f30641 commit a2d4001

File tree

15 files changed

+150
-36
lines changed

15 files changed

+150
-36
lines changed

hexagonal-architecture/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>hexagonal-architecture</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

identity-map/pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,16 @@
3737
<artifactId>identity-map</artifactId>
3838
<dependencies>
3939
<dependency>
40-
<groupId>org.junit.jupiter</groupId>
41-
<artifactId>junit-jupiter-api</artifactId>
42-
<scope>test</scope>
40+
<groupId>org.slf4j</groupId>
41+
<artifactId>slf4j-api</artifactId>
4342
</dependency>
4443
<dependency>
45-
<groupId>junit</groupId>
46-
<artifactId>junit</artifactId>
44+
<groupId>ch.qos.logback</groupId>
45+
<artifactId>logback-classic</artifactId>
46+
</dependency>
47+
<dependency>
48+
<groupId>org.junit.jupiter</groupId>
49+
<artifactId>junit-jupiter-engine</artifactId>
4750
<scope>test</scope>
4851
</dependency>
4952
</dependencies>

interpreter/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>interpreter</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

iterator/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>iterator</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

layered-architecture/pom.xml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@
3838
<name>layers</name>
3939
<description>layers</description>
4040

41-
<dependencyManagement>
42-
<dependencies>
43-
<dependency>
44-
<groupId>org.springframework.boot</groupId>
45-
<artifactId>spring-boot-dependencies</artifactId>
46-
<type>pom</type>
47-
<version>3.2.4</version>
48-
<scope>import</scope>
49-
</dependency>
50-
</dependencies>
51-
</dependencyManagement>
52-
5341
<dependencies>
5442
<dependency>
5543
<groupId>org.springframework.boot</groupId>
@@ -59,17 +47,11 @@
5947
<groupId>org.springframework.boot</groupId>
6048
<artifactId>spring-boot-starter-data-jpa</artifactId>
6149
</dependency>
62-
6350
<dependency>
6451
<groupId>com.h2database</groupId>
6552
<artifactId>h2</artifactId>
6653
<scope>runtime</scope>
6754
</dependency>
68-
<dependency>
69-
<groupId>org.projectlombok</groupId>
70-
<artifactId>lombok</artifactId>
71-
<optional>true</optional>
72-
</dependency>
7355
<dependency>
7456
<groupId>org.springframework.boot</groupId>
7557
<artifactId>spring-boot-starter-test</artifactId>
@@ -80,16 +62,19 @@
8062
<build>
8163
<plugins>
8264
<plugin>
83-
<groupId>org.springframework.boot</groupId>
84-
<artifactId>spring-boot-maven-plugin</artifactId>
85-
<configuration>
86-
<excludes>
87-
<exclude>
88-
<groupId>org.projectlombok</groupId>
89-
<artifactId>lombok</artifactId>
90-
</exclude>
91-
</excludes>
92-
</configuration>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-assembly-plugin</artifactId>
67+
<executions>
68+
<execution>
69+
<configuration>
70+
<archive>
71+
<manifest>
72+
<mainClass>com.iluwatar.layers.Runner</mainClass>
73+
</manifest>
74+
</archive>
75+
</configuration>
76+
</execution>
77+
</executions>
9378
</plugin>
9479
</plugins>
9580
</build>

lazy-loading/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>lazy-loading</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

leader-election/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>leader-election</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

leader-followers/pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,37 @@
3434
</parent>
3535
<artifactId>leader-followers</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>
4048
<scope>test</scope>
4149
</dependency>
4250
</dependencies>
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-assembly-plugin</artifactId>
56+
<executions>
57+
<execution>
58+
<configuration>
59+
<archive>
60+
<manifest>
61+
<mainClass>com.iluwatar.leaderfollowers.App</mainClass>
62+
</manifest>
63+
</archive>
64+
</configuration>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
</plugins>
69+
</build>
4370
</project>

lockable-object/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
</parent>
3535
<artifactId>lockable-object</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>

marker-interface/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
<modelVersion>4.0.0</modelVersion>
3535
<artifactId>marker-interface</artifactId>
3636
<dependencies>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-api</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-classic</artifactId>
44+
</dependency>
3745
<dependency>
3846
<groupId>org.junit.jupiter</groupId>
3947
<artifactId>junit-jupiter-engine</artifactId>
@@ -42,6 +50,7 @@
4250
<dependency>
4351
<groupId>org.hamcrest</groupId>
4452
<artifactId>hamcrest-core</artifactId>
53+
<version>3.0</version>
4554
<scope>test</scope>
4655
</dependency>
4756
</dependencies>

0 commit comments

Comments
 (0)