From ae1b42d670168446d9d1a376ad98ce313f8cfaf3 Mon Sep 17 00:00:00 2001 From: "Michal J. Sladek" Date: Thu, 9 Mar 2023 20:15:58 +0100 Subject: [PATCH] Fix: Ikke flatten fp-bom. (#350) Ellers forsvinner alle `test` avhengigheter og `build` dependencies. Noe vi ikke vil med bom. --- .github/workflows/release.yml | 1 + pom.xml | 40 +++++++++++++++++------------------ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49cba569..f060036c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,4 +9,5 @@ jobs: uses: navikt/fp-gha-workflows/.github/workflows/release-feature.yml@main with: release-version: ${{ github.event.release.tag_name }} + release-profiles: '' secrets: inherit diff --git a/pom.xml b/pom.xml index cd37c4c1..11bb5d72 100644 --- a/pom.xml +++ b/pom.xml @@ -680,6 +680,26 @@ org.codehaus.mojo flatten-maven-plugin 1.3.0 + + bom + .flattened + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + org.apache.maven.plugins @@ -741,26 +761,6 @@ org.codehaus.mojo flatten-maven-plugin - - bom - .flattened - - - - flatten - process-resources - - flatten - - - - flatten.clean - clean - - clean - - -