Skip to content

Commit

Permalink
Merge pull request #544 from bsinno/bufix/pom-flattening
Browse files Browse the repository at this point in the history
fix pom flattening in order to have cleaned up poms for release
  • Loading branch information
thjaeckle authored Nov 5, 2019
2 parents fd681f0 + 9adafeb commit efe7be5
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 6 deletions.
7 changes: 1 addition & 6 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,12 +1079,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<!-- instead of flattenMode=bom, set the pom-element <dependencyManagement/> explicitly without
<properties/> so that dynamic version properties are resolved in deployed bom. -->
<flattenMode>oss</flattenMode>
<pomElements>
<dependencyManagement/>
</pomElements>
<flattenMode>bom</flattenMode>
</configuration>
</plugin>
</plugins>
Expand Down
8 changes: 8 additions & 0 deletions documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions legal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@
</resources>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions protocol-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down
10 changes: 10 additions & 0 deletions services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<plugin>
Expand Down
8 changes: 8 additions & 0 deletions signals/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down

0 comments on commit efe7be5

Please sign in to comment.