From f14e401c155eb617962c2c5919536113ef38dccb Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Wed, 24 Jan 2024 11:31:52 +0100 Subject: [PATCH] Use a profile for to create the dependencies' graph. --- .github/workflows/update-badges.yml | 2 +- .gitignore | 2 + pom.xml | 72 ++++++++++++++++++----------- 3 files changed, 47 insertions(+), 29 deletions(-) diff --git a/.github/workflows/update-badges.yml b/.github/workflows/update-badges.yml index c141c7a4..1e01b571 100644 --- a/.github/workflows/update-badges.yml +++ b/.github/workflows/update-badges.yml @@ -25,7 +25,7 @@ jobs: with: maven-version: 3.9.5 - name: Build and test with Maven - run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip' '-Ppit' | tee maven.log + run: mvn -V --color always -ntp clean verify -Dgpg.skip -Ppit -Pdepgraph | tee maven.log - name: Run Quality Monitor uses: uhafner/quality-monitor@v1 with: diff --git a/.gitignore b/.gitignore index d06d6088..9f04e894 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,7 @@ target pom.xml.versionsBackup pom.xml.releaseBackup release.properties +metrics.env +maven.log .DS_Store /package-lock.json diff --git a/pom.xml b/pom.xml index beff5d26..ae84cdf5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 edu.hm.hafner @@ -664,22 +665,22 @@ - BREAKING - - ok - + BREAKING + + ok + - NON_BREAKING - - ok - + NON_BREAKING + + ok + - EQUIVALENT - - ok - + EQUIVALENT + + ok + @@ -723,21 +724,6 @@ - - com.github.ferstl - depgraph-maven-plugin - ${depgraph-maven-plugin.version} - - puml - compile - true - true - true - true - dependency-graph - ${project.basedir}/doc - - @@ -798,6 +784,36 @@ + + depgraph + + + + com.github.ferstl + depgraph-maven-plugin + ${depgraph-maven-plugin.version} + + puml + compile + true + true + true + true + dependency-graph + ${project.basedir}/doc + + + + verify + + graph + + + + + + + release