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

slachiewicz pushed a commit to branch fix1
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 6fed4c69050ee03bcd70624ed8c10e4c685492bf
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Mon Jun 5 10:23:56 2023 +0200

    reduce warnings during build
---
 pom.xml                       | 11 +++++++++++
 surefire-shared-utils/pom.xml |  7 +++++++
 2 files changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8107330c2..0a91ecea8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -547,6 +547,17 @@
     </profile>
     <profile>
       <id>reporting</id>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-changes-plugin</artifactId>
+            <version>2.12.1</version>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
       <reporting>
         <plugins>
           <plugin>
diff --git a/surefire-shared-utils/pom.xml b/surefire-shared-utils/pom.xml
index 6ea0e9211..9d40e90fa 100644
--- a/surefire-shared-utils/pom.xml
+++ b/surefire-shared-utils/pom.xml
@@ -85,6 +85,13 @@
                   
<shadedPattern>org.apache.maven.surefire.shared.compress</shadedPattern>
                 </relocation>
               </relocations>
+              <transformers>
+                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
+                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
+                  <addHeader>false</addHeader>
+                </transformer>
+                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"/>
+              </transformers>
             </configuration>
           </execution>
         </executions>

Reply via email to