This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 921158751 [CI] Fix the sonar check  that parameters are overwritten 
(#878)
921158751 is described below

commit 9211587513c0198cabb3a2fac7f5cf137b8ae2bf
Author: Guangdong Liu <[email protected]>
AuthorDate: Thu Apr 13 09:47:10 2023 +0800

    [CI] Fix the sonar check  that parameters are overwritten (#878)
---
 .gitignore |  1 +
 pom.xml    | 27 +++++++++++++++++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index fbb14d0d8..81f00540b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ target
 *.ipr
 *.iws
 test/coverage
+dependency-reduced-pom.xml
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index f2e9a0c14..79f6fb292 100644
--- a/pom.xml
+++ b/pom.xml
@@ -398,6 +398,7 @@ under the License.
                         <exclude>docs/static/js/anchor.min.js</exclude>
                         <exclude>docs/layouts/shortcodes/generated/**</exclude>
                         <exclude>**/*.svg</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
                         <!-- Bundled license files -->
                         <exclude>**/LICENSE*</exclude>
                         <!-- artifacts created during release process -->
@@ -594,8 +595,6 @@ under the License.
                             <shadeTestJar>true</shadeTestJar>
                             
<shadedArtifactAttached>false</shadedArtifactAttached>
                             
<createDependencyReducedPom>true</createDependencyReducedPom>
-                            
<dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml
-                            </dependencyReducedPomLocation>
                             <!-- Filters MUST be appended; merging filters 
does not work properly, see MSHADE-305 -->
                             <filters combine.children="append">
                                 <!-- Globally exclude log4j.properties from 
our JAR files. -->
@@ -651,6 +650,21 @@ under the License.
                 </executions>
             </plugin>
 
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clean-plugin</artifactId>
+                <configuration>
+                    <filesets>
+                        <fileset>
+                            <directory>${project.basedir}</directory>
+                            <includes>
+                                <include>dependency-reduced-pom.xml</include>
+                            </includes>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
+
             <!-- generate configuration docs -->
             <plugin>
                 <groupId>org.commonjava.maven.plugins</groupId>
@@ -683,6 +697,15 @@ under the License.
                     <dataFile>${project.build.directory}/jacoco.exec</dataFile>
                 </configuration>
                 <executions>
+                    <execution>
+                        <id>default-prepare-agent</id>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                        <configuration>
+                            <propertyName>surefireArgLine</propertyName>
+                        </configuration>
+                    </execution>
                     <execution>
                         <id>default-instrument</id>
                         <goals>

Reply via email to