Skip to content

Commit 8bf594d

Browse files
committed
feat(build): improve dependency graph generation and CI integration
1 parent ebbb39b commit 8bf594d

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
- name: Build all modules
2121
run: mvn -B package
2222
- name: Generate dependency graph
23-
run: mvn com.github.ferstl:depgraph-maven-plugin:graph
23+
run: mvn com.github.ferstl:depgraph-maven-plugin:aggregate
24+
- name: Debug Dependency Graph
25+
run: cat target/dependency-graph.dot || echo "Dependency graph is empty"
2426
- name: Update dependency graph
25-
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
26-
27+
uses: advanced-security/maven-dependency-submission-action@v1

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,26 @@
4545
</plugin>
4646
</plugins>
4747
</pluginManagement>
48-
48+
4949
<plugins>
5050
<plugin>
5151
<groupId>com.github.ferstl</groupId>
5252
<artifactId>depgraph-maven-plugin</artifactId>
5353
<version>4.0.3</version>
54+
<executions>
55+
<execution>
56+
<goals>
57+
<goal>aggregate</goal>
58+
</goals>
59+
</execution>
60+
</executions>
61+
<configuration>
62+
<scope>compile</scope>
63+
<includeParentProjects>true</includeParentProjects>
64+
<includes>
65+
<include>com.jep:*</include>
66+
</includes>
67+
</configuration>
5468
</plugin>
5569
</plugins>
5670
</build>

target/dependency-graph.dot

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)