pom.xml: add digraph-dependency-maven-plugin (again)
This time use the digraph-dependency.basePackage to configure the plugin.
This commit is contained in:
parent
bff18a5b8f
commit
22c3cbc9ac
2 changed files with 23 additions and 2 deletions
|
@ -33,6 +33,7 @@ checkstyle.version|7.1.1
|
|||
sevntu-checkstyle-maven-plugin.version|1.21.0
|
||||
kemitix-checkstyle-ruleset.version|1.0.0
|
||||
maven-compiler-plugin.version|3.5.1
|
||||
digraph-dependency.version|0.7.0
|
||||
maven-surefire-plugin.version|2.19.1
|
||||
maven-failsafe-plugin.version|2.19.1
|
||||
maven-pmd-plugin.version|3.6
|
||||
|
@ -208,9 +209,9 @@ generates a DOT file diagram showing the dependencies between packages in a proj
|
|||
|
||||
### Configuration
|
||||
|
||||
The plugin will generate the `target/digraph.dot` file during the `verify` phase.
|
||||
The plugin will generate the `target/digraph.dot` file during the `validate` phase.
|
||||
|
||||
The plugin will filter to packages within the `net.kemitix` package namespace.
|
||||
Set the `digraph-dependency.basePackage` property to the root package to graph.
|
||||
|
||||
# Distribution Management
|
||||
|
||||
|
|
20
pom.xml
20
pom.xml
|
@ -45,6 +45,10 @@
|
|||
<kemitix-checkstyle-ruleset.level>5-complexity</kemitix-checkstyle-ruleset.level>
|
||||
|
||||
<lombok.version>1.16.12</lombok.version>
|
||||
|
||||
<digraph-dependency.version>0.7.0</digraph-dependency.version>
|
||||
<digraph-dependency.basePackage>(UNSET:basePackage)</digraph-dependency.basePackage>
|
||||
|
||||
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
||||
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
||||
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
||||
|
@ -193,6 +197,22 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin><!-- kemitix-checkstyle-ruleset-maven-plugin -->
|
||||
<plugin>
|
||||
<groupId>net.kemitix</groupId>
|
||||
<artifactId>digraph-dependency-maven-plugin</artifactId>
|
||||
<version>${digraph-dependency.version}</version>
|
||||
<configuration>
|
||||
<basePackage>${digraph-dependency.basePackage}</basePackage>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>digraph</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin><!-- digraph-dependency-maven-plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
|
Loading…
Reference in a new issue