Fix maven pom flattening

This commit is contained in:
Andrea Cavalli 2021-12-08 17:46:29 +01:00
parent bfc830df41
commit 1ce3a074e5
4 changed files with 44 additions and 32 deletions

View File

@ -195,4 +195,22 @@
<modules> <modules>
<module>../parent</module> <module>../parent</module>
</modules> </modules>
<build>
<plugins>
<plugin>
<groupId>com.outbrain.swinfra</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId>
<version>1.0.14</version>
<executions>
<execution>
<goals>
<goal>clean</goal>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,4 +18,22 @@
<!--disabled: <module>../tdlib</module>--> <!--disabled: <module>../tdlib</module>-->
<module>../tdlight</module> <module>../tdlight</module>
</modules> </modules>
<build>
<plugins>
<plugin>
<groupId>com.outbrain.swinfra</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId>
<version>1.0.14</version>
<executions>
<execution>
<goals>
<goal>clean</goal>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -253,26 +253,14 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>com.outbrain.swinfra</groupId>
<artifactId>flatten-maven-plugin</artifactId> <artifactId>ci-friendly-flatten-maven-plugin</artifactId>
<version>1.2.2</version> <version>1.0.14</version>
<configuration>
</configuration>
<executions> <executions>
<!-- enable flattening -->
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals> <goals>
<goal>clean</goal> <goal>clean</goal>
<goal>flatten</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>

View File

@ -254,26 +254,14 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>com.outbrain.swinfra</groupId>
<artifactId>flatten-maven-plugin</artifactId> <artifactId>ci-friendly-flatten-maven-plugin</artifactId>
<version>1.2.2</version> <version>1.0.14</version>
<configuration>
</configuration>
<executions> <executions>
<!-- enable flattening -->
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals> <goals>
<goal>clean</goal> <goal>clean</goal>
<goal>flatten</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>