You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/111-java-maven-dependencies/references/111-java-maven-dependencies.md
+77-3Lines changed: 77 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Treats the user as a knowledgeable partner in solving problems rather than presc
18
18
19
19
## Goal
20
20
21
-
This rule provides a focused approach to adding essential Maven dependencies that enhance code quality and safety, specifically JSpecify for nullness annotations. It asks targeted questions to understand dependency needs and conditionally adds only relevant components.
21
+
This rule provides a focused approach to adding essential Maven dependencies that enhance code quality and safety: JSpecify for nullness annotations, Error Prone and NullAway for static analysis, VAVR for functional programming, and ArchUnit for architecture testing. It asks targeted questions to understand dependency needs and conditionally adds only relevant components.
22
22
23
23
## Constraints
24
24
@@ -107,6 +107,18 @@ VAVR is a functional programming library for Java that provides immutable data t
107
107
108
108
---
109
109
110
+
**Question 5**: Do you want to add ArchUnit for architecture testing?
111
+
112
+
ArchUnit lets you write unit tests that enforce architectural constraints — such as layering rules, naming conventions, dependency directions, and package structure — directly in your test suite. It integrates with JUnit 5 and runs as part of the normal test lifecycle.
0 commit comments