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: README.adoc
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,18 @@ Template of https://github.com/devonfw/java/blob/main/modules/ROOT/pages/archite
7
7
Please note that we assume a classic three-layered archicture as described in the link above.
8
8
However, it is easy to adopt this showcase to other architecture styles like https://en.wikipedia.org/wiki/Hexagonal_architecture_(software)[hexagonal architecture].
9
9
10
+
== Why does Archunit improve my project?
11
+
12
+
ArchUnit is a java library which can be easily adopted to the needs of your project. The code is simple to understand through high readability. Custom warnings when rules are violated help the developers to understand which architechtural rule has been broken. You can use the given blueprint from this project using the basic devonfw-architecture to specify and add your own architectural rules with only a small or no effort.
13
+
The given blueprint can be adapted to your project through copying the https://github.com/devonfw-sample/archunit/tree/master/src/test/java/com/devonfw/sample/archunit[test] folder, together with the needed imports from the https://github.com/devonfw-sample/archunit/blob/master/pom.xml[pom.xml].
14
+
10
15
== Blueprint for architecture validation
11
16
12
-
Based on ArchUnit we have created a blueprint how to validate a devonfw based architecture that can be found https://github.com/devonfw-sample/archunit/tree/master/src/test/java/com/devonfw/sample/archunit[here].
17
+
Based on ArchUnit we have created a blueprint how to validate a devonfw based architecture that can be found https://github.com/devonfw-sample/archunit/tree/master/src/test/java/com/devonfw/sample/archunit[here]. The blueprint is based on the https://github.com/devonfw/sonar-devon4j-plugin/blob/master/documentation/rules.asciidoc[sonar-devon-4j-plugin rules].
13
18
You can easily adopt, extend or tweak this to the needs of your project.
14
19
It is meant as a best-practice and starting point for projects that want to introduce ArchUnit but do not have time to walk through the entire https://www.archunit.org/userguide/html/000_Index.html[ArchUnit documentation] and figure out how to properly get everything up and running.
15
-
Once you have such a strating point as template, you can quickly adopt and extend it to your own needs.
20
+
Once you have such a starting point as template, you can quickly adopt and extend it to your own needs based upon this first implementation.
21
+
To make integration as easy as possible we have also documented some https://github.com/devonfw-sample/archunit/blob/master/best-practices.adoc[best practices].
0 commit comments