You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2024/08/19 20:35:55 UTC

(maven-surefire) 01/01: [SUREFIRE-2256] Upgrade to Parent 43

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

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

commit 7f835253276b0ca93bc04da2659a127265f3229c
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Aug 19 22:35:44 2024 +0200

    [SUREFIRE-2256] Upgrade to Parent 43
    
    This closes #770
---
 pom.xml                                |  3 ++-
 src/config/checkstyle-suppressions.xml | 29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 03a2d35b0..07d6d1a4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.maven</groupId>
     <artifactId>maven-parent</artifactId>
-    <version>42</version>
+    <version>43</version>
   </parent>
 
   <groupId>org.apache.maven.surefire</groupId>
@@ -471,6 +471,7 @@
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
+          <suppressionsLocation>src/config/checkstyle-suppressions.xml</suppressionsLocation>
         </configuration>
       </plugin>
       <plugin>
diff --git a/src/config/checkstyle-suppressions.xml b/src/config/checkstyle-suppressions.xml
new file mode 100644
index 000000000..0b7f8ddf9
--- /dev/null
+++ b/src/config/checkstyle-suppressions.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<!DOCTYPE suppressions PUBLIC
+  "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
+  "https://checkstyle.org/dtds/suppressions_1_2.dtd">
+ <suppressions>
+  <suppress checks="ParameterNumberCheck" files="CategorizedReportEntry.java|SimpleReportEntry.java|SurefireReportRenderer.java|AbstractSurefireMojo.java|ModularClasspathForkConfiguration.java|EventDecoder.java|ForkStarter.java|StatelessXmlReporter.java|TestNGExecutor.java|BooterSerializer.java|DefaultStatelessReportMojoConfiguration.java" />
+  <suppress checks="MethodLengthCheck" files="AbstractStreamEncoderTest.java|EventChannelEncoderTest.java|EventDecoderTest.java|AbstractSurefireMojoTest.java|ForkStarter.java|AbstractSurefireMojoJava7PlusTest.java" />
+  <suppress checks="UnusedLocalVariableCheck" files="PpidCheckerTest.java|ATestClass.java|E2ETest.java|AbstractSurefireMojo.java" />
+  <suppress checks="AvoidStarImportCheck" files="BooterDeserializer.java|TestSuiteXmlParserTest.java" />
+  <suppress checks="FileLengthCheck" files="AbstractSurefireMojo.java|AbstractSurefireMojoTest.java" />
+</suppressions>