Skip to content

Commit 5170f58

Browse files
committed
flatten for core and http-client
1 parent c92668d commit 5170f58

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

kotlin-atlassian-client-core-common/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,22 @@
2121
</dependency>
2222
</dependencies>
2323

24+
<build>
25+
<plugins>
26+
<!-- flatten to produce explicit version numbers that are expected by central for publishing -->
27+
<plugin>
28+
<groupId>org.codehaus.mojo</groupId>
29+
<artifactId>flatten-maven-plugin</artifactId>
30+
<version>${maven.flatten.version}</version>
31+
<executions>
32+
<execution>
33+
<goals>
34+
<goal>flatten</goal>
35+
</goals>
36+
<phase>process-resources</phase>
37+
</execution>
38+
</executions>
39+
</plugin>
40+
</plugins>
41+
</build>
2442
</project>

kotlin-http-client/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,23 @@
1818
<module>kotlin-http-client-atlas</module>
1919
<module>kotlin-http-client-ktor</module>
2020
</modules>
21+
22+
<build>
23+
<plugins>
24+
<!-- flatten to produce explicit version numbers that are expected by central for publishing -->
25+
<plugin>
26+
<groupId>org.codehaus.mojo</groupId>
27+
<artifactId>flatten-maven-plugin</artifactId>
28+
<version>${maven.flatten.version}</version>
29+
<executions>
30+
<execution>
31+
<goals>
32+
<goal>flatten</goal>
33+
</goals>
34+
<phase>process-resources</phase>
35+
</execution>
36+
</executions>
37+
</plugin>
38+
</plugins>
39+
</build>
2140
</project>

0 commit comments

Comments
 (0)