Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate dependency graph for each module #655

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions doc/dependency-graph.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@startuml
skinparam defaultTextAlignment center
skinparam rectangle {
BackgroundColor<<optional>> beige
BackgroundColor<<test>> lightGreen
BackgroundColor<<runtime>> lightBlue
BackgroundColor<<provided>> lightGray
}
rectangle "spotbugs-annotations\n\n4.7.3" as com_github_spotbugs_spotbugs_annotations_jar
rectangle "jsr305\n\n3.0.2" as com_google_code_findbugs_jsr305_jar
rectangle "codingstyle-pom\n\n3.32.0-SNAPSHOT" as edu_hm_hafner_codingstyle_pom_pom
rectangle "error_prone_annotations\n\n2.22.0" as com_google_errorprone_error_prone_annotations_jar
rectangle "streamex\n\n0.8.2" as one_util_streamex_jar
rectangle "codingstyle\n\n3.24.0" as edu_hm_hafner_codingstyle_jar
rectangle "commons-lang3\n\n3.13.0" as org_apache_commons_commons_lang3_jar
rectangle "commons-io\n\n2.11.0" as commons_io_commons_io_jar
com_github_spotbugs_spotbugs_annotations_jar -[#000000]-> com_google_code_findbugs_jsr305_jar
edu_hm_hafner_codingstyle_pom_pom -[#000000]-> com_github_spotbugs_spotbugs_annotations_jar
edu_hm_hafner_codingstyle_pom_pom -[#000000]-> com_google_errorprone_error_prone_annotations_jar
edu_hm_hafner_codingstyle_pom_pom -[#000000]-> one_util_streamex_jar
edu_hm_hafner_codingstyle_jar .[#D3D3D3].> com_github_spotbugs_spotbugs_annotations_jar
edu_hm_hafner_codingstyle_jar .[#D3D3D3].> com_google_errorprone_error_prone_annotations_jar
edu_hm_hafner_codingstyle_jar .[#D3D3D3].> org_apache_commons_commons_lang3_jar
edu_hm_hafner_codingstyle_jar -[#000000]-> commons_io_commons_io_jar
edu_hm_hafner_codingstyle_pom_pom -[#000000]-> edu_hm_hafner_codingstyle_jar
edu_hm_hafner_codingstyle_pom_pom -[#000000]-> org_apache_commons_commons_lang3_jar
@enduml
36 changes: 23 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.ferstl</groupId>
<artifactId>depgraph-maven-plugin</artifactId>
<version>${depgraph-maven-plugin.version}</version>
<configuration>
<graphFormat>puml</graphFormat>
<classpathScope>compile</classpathScope>
<showClassifiers>true</showClassifiers>
<showVersions>true</showVersions>
<showConflicts>true</showConflicts>
<showDuplicates>true</showDuplicates>
<outputFileName>dependency-graph</outputFileName>
<outputDirectory>${project.basedir}/doc</outputDirectory>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>graph</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
Expand Down Expand Up @@ -710,19 +733,6 @@
</excludedMethods>
</configuration>
</plugin>
<plugin>
<groupId>com.github.ferstl</groupId>
<artifactId>depgraph-maven-plugin</artifactId>
<version>${depgraph-maven-plugin.version}</version>
<configuration>
<graphFormat>puml</graphFormat>
<scope>compile</scope>
<showClassifiers>true</showClassifiers>
<showVersions>true</showVersions>
<showConflicts>true</showConflicts>
<showDuplicates>true</showDuplicates>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
Expand Down
Loading