Update flatten plugin

This commit is contained in:
Andrea Cavalli 2022-05-11 09:37:24 +02:00
parent f6876a4760
commit 38e9f497c5
5 changed files with 50 additions and 14 deletions

2
.gitignore vendored
View File

@ -86,3 +86,5 @@ parent/.classpath
/.settings/ /.settings/
/.project /.project
/.classpath /.classpath
.flattened-pom.xml

View File

@ -199,14 +199,26 @@
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>com.outbrain.swinfra</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>1.0.14</version> <version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions> <executions>
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<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

@ -3,7 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>tdlight-java-parent</artifactId> <artifactId>tdlight-java-parent</artifactId>
<version>${revision}</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<parent> <parent>
<groupId>it.tdlight</groupId> <groupId>it.tdlight</groupId>

View File

@ -253,14 +253,26 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.outbrain.swinfra</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>1.0.14</version> <version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions> <executions>
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<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

@ -2,7 +2,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>tdlight-java</artifactId> <artifactId>tdlight-java</artifactId>
<version>${revision}</version>
<name>TDLight Java Wrapper</name> <name>TDLight Java Wrapper</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
@ -254,14 +253,26 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.outbrain.swinfra</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>ci-friendly-flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<version>1.0.14</version> <version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions> <executions>
<execution> <execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<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>