Skip to content

Commit

Permalink
Fix: Ikke flatten fp-bom. (#350)
Browse files Browse the repository at this point in the history
Ellers forsvinner alle `test` avhengigheter og `build` dependencies. Noe
vi ikke vil med bom.
  • Loading branch information
mrsladek authored Mar 9, 2023
1 parent a028ae0 commit ae1b42d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
40 changes: 20 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,26 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<configuration>
<flattenMode>bom</flattenMode>
<flattenedPomFilename>.flattened</flattenedPomFilename>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -741,26 +761,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>bom</flattenMode>
<flattenedPomFilename>.flattened</flattenedPomFilename>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit ae1b42d

Please sign in to comment.