diff --git a/pom.xml b/pom.xml index 1a5ec74895e8..1678c811758f 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.puppycrawl.tools checkstyle - 9.1-SNAPSHOT + 10.2-SNAPSHOT jar checkstyle @@ -199,42 +199,43 @@ UTF-8 ${project.version} - 4.9.2 - 3.9.1 - 4.2.3 - 3.15.0 - 6.38.0 + 4.9.3 + 3.11.0 + 4.6.0.0 + 3.16.0 + 6.43.0 0.8.7 - 2.0.9 + 4.4.0 10.6 3.1.2 - 1.40.0 + 1.41.0 - 8.43 + 9.1 - 2.8.1 - 1.8 - 1.7.0 + 2.10.0 + 11 + 1.7.5 10 50000 4 0.15 **/test/resources/**/*,**/it/resources/**/* - 5.8.0 - 3.2 + 5.8.2 + 3.3 + 1.2.0 com.tngtech.archunit archunit-junit5 - 0.21.0 + 0.23.1 test info.picocli picocli - 4.6.1 + 4.6.3 org.antlr @@ -249,18 +250,18 @@ com.google.guava guava - 30.1.1-jre + 31.1-jre org.apache.ant ant - 1.10.11 + 1.10.12 provided org.reflections reflections - 0.9.12 + 0.10.2 @@ -279,20 +280,13 @@ org.itsallcode junit5-system-extensions - 1.1.0 + 1.2.0 test org.junit-pioneer junit-pioneer - 1.4.2 - test - - - - org.junit.vintage - junit-vintage-engine - ${junit.version} + 1.6.2 test @@ -301,37 +295,16 @@ 1.1.3 test - - - com.github.stefanbirkner - system-rules - 1.19.0 - test - nl.jqno.equalsverifier equalsverifier - 3.7.1 - test - - - org.powermock - powermock-api-mockito2 - ${powermock.version} + 3.10 test - - org.javassist - javassist - 3.28.0-GA - test - - - - org.powermock - powermock-module-junit4 - ${powermock.version} + org.mockito + mockito-inline + ${mockito.version} test @@ -343,13 +316,13 @@ org.eclipse.jgit org.eclipse.jgit - 5.13.0.202109080827-r + 6.1.0.202203080745-r test org.slf4j slf4j-simple - 1.7.32 + 1.7.36 test @@ -390,7 +363,7 @@ - @@ -404,7 +377,7 @@ maven-dependency-plugin - 3.2.0 + 3.3.0 maven-release-plugin @@ -421,12 +394,12 @@ org.codehaus.mojo sonar-maven-plugin - 3.9.0.2155 + 3.9.1.2184 org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.3.0 org.pitest @@ -443,10 +416,17 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.1 + 3.3.2 + + + com.puppycrawl.tools.checkstyle.grammar.java: + com.puppycrawl.tools.checkstyle.grammar.javadoc: + ${java.version} + private true + true true @@ -513,6 +493,13 @@ Low config/spotbugs-exclude.xml target/spotbugsreports + + + com.mebigfatguy.sb-contrib + sb-contrib + 7.4.7 + + @@ -587,7 +574,24 @@ - + + org.gaul + modernizer-maven-plugin + 2.4.0 + + ${java.version} + false + + + + modernizer + verify + + modernizer + + + + org.apache.maven.plugins maven-checkstyle-plugin @@ -697,7 +701,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.10.1 ${java.version} ${java.version} @@ -1055,12 +1059,12 @@ LINE COVEREDRATIO - 0.93 + 0.91 BRANCH COVEREDRATIO - 0.80 + 0.77 @@ -1075,27 +1079,12 @@ LINE COVEREDRATIO - 0.74 + 0.95 BRANCH COVEREDRATIO - 0.71 - - - - - CLASS - - - com.puppycrawl.tools.checkstyle.meta.ModuleDetails - - - - - LINE - COVEREDRATIO - 0.76 + 0.93 @@ -1108,7 +1097,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.12 true **/JavadocParser.class + + **/RegexpCheck.class + + **/NoCodeInFileCheck.class + + **/AbstractJavadocCheck.class + **/AtclauseOrderCheck.class + **/JavadocBlockTagLocationCheck.class + **/JavadocMethodCheck.class + **/JavadocMissingLeadingAsteriskCheck.class + **/JavadocMissingWhitespaceAfterAsteriskCheck.class + **/JavadocParagraphCheck.class + **/JavadocStyleCheck.class + **/JavadocTagContinuationIndentationCheck.class + **/JavadocTypeCheck.class + **/MissingDeprecatedCheck.class + **/NonEmptyAtclauseDescriptionCheck.class + **/RequireEmptyLineBeforeBlockTagGroupCheck.class + **/SingleLineJavadocCheck.class + **/SummaryJavadocCheck.class + **/WriteTagCheck.class + **/JavadocMetadataScraper.class @@ -1528,78 +1539,83 @@ **/MainTest.class **/XpathFileGeneratorAuditListenerTest.class - - **/AllChecksTest.class - **/XdocsPagesTest.class **/DefaultConfigurationTest.class - - **/UniquePropertiesCheckTest.class + + **/MetadataGeneratorUtilTest.class - **/LineLengthCheckTest.class + + **/UniquePropertiesCheckTest.class + **/OrderedPropertiesCheckTest.class + + **/RegexpMultilineCheckTest.class **/RegexpCheckTest.class - **/SuppressionSingleFilterTest.class - - **/AllSinglelineCommentsTest.class + + **/SuppressWithPlainTextCommentFilterTest.class - **/FileSetCheckTest.class + + **/IndentationCheckTest.class - **/AbstractFileSetCheckTest.class + + **/NoCodeInFileCheckTest.class - **/OrderedPropertiesCheckTest.class + + **/RegexpOnFilenameCheckTest.class - **/SuppressionCommentFilterTest.class + - **/RegexpMultilineCheckTest.class + + **/FileSetCheckTest.class + **/AbstractFileSetCheckTest.class - **/EmptyLineSeparatorCheckTest.class + **/DetailAstImplTest.class - **/IndentationCheckTest.class + **/TreeWalkerTest.class - **/NoCodeInFileCheckTest.class + **/CheckerTest.class - **/TreeWalkerTest.class + **/AllBlockCommentsTest.class - **/RegexpOnFilenameCheckTest.class + + **/SuppressionCommentFilterTest.class - **/CheckerTest.class + + **/EmptyLineSeparatorCheckTest.class + **/HeaderCheckTest.class + + **/RegexpHeaderCheckTest.class - **/SuppressWarningsFilterTest.class - + **/SuppressWarningsHolderTest.class + **/ImportControlCheckTest.class - **/SuppressWithPlainTextCommentFilterTest.class - + **/AbstractCheckTest.class - **/RegexpHeaderCheckTest.class - - **/ImportOrderCheckTest.class - - **/DetailAstImplTest.class - + **/SuppressWithNearbyCommentFilterTest.class + **/AbstractModuleTestSupport.class + **/CommentsIndentationCheckTest.class + **/SuppressionFilterTest.class - **/AllBlockCommentsTest.class - - **/NonEmptyAtclauseDescriptionCheckTest.class - + **/WriteTagCheckTest.class + **/AbstractJavadocCheckTest.class + @@ -1614,7 +1630,7 @@ com.groupon.maven.plugin.json json-schema-validator - 1.2.0 + ${json-schema-validator.version} verify @@ -1627,7 +1643,7 @@ ${basedir}/src/test/resources/com/puppycrawl/tools/checkstyle/sariflogger - https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json + https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Documents/CommitteeSpecifications/2.1.0/sarif-schema-2.1.0.json **/*.sarif @@ -1642,7 +1658,7 @@ maven-project-info-reports-plugin - 3.1.2 + 3.2.2 @@ -1675,7 +1691,7 @@ org.apache.maven.plugins maven-jxr-plugin - 3.1.1 + 3.2.0 @@ -1687,10 +1703,9 @@ org.codehaus.mojo taglist-maven-plugin - 2.4 + 3.0.0 - - true + **/*/checks/TodoCommentCheck.java @@ -1819,7 +1834,7 @@ http://www.antlr.org/antlr4-maven-plugin - http://maven.apache.org/plugins/maven-release-plugin/ + https://maven.apache.org/plugins/maven-release-plugin/ http://jacoco-maven-plugin/ @@ -1876,6 +1891,17 @@ https://freedomsponsors.org/* https://liberapay.com/checkstyle/ + + https://www.jarchitect.com + + http://maven.apache.org/plugins/maven-release-plugin/ + http://maven.apache.org/plugins/maven-deploy-plugin/ + http://maven.apache.org/plugins/maven-eclipse-plugin/ + http://maven.apache.org/plugins/maven-install-plugin/ + http://maven.apache.org/plugins/maven-linkcheck-plugin/ + + https://www.ej-technologies.com/* + https://travis-ci.com/ @@ -1885,17 +1911,6 @@ - - - java16 - - [16,) - - - --illegal-access=warn - - - @@ -1912,7 +1927,23 @@ true true true + true + + + + + com.groupon.maven.plugin.json + json-schema-validator + ${json-schema-validator.version} + + + none + + + + + @@ -1931,6 +1962,7 @@ true true true + true true @@ -2006,6 +2038,18 @@ + + + + com.groupon.maven.plugin.json + json-schema-validator + ${json-schema-validator.version} + + + none + + + @@ -2026,7 +2070,6 @@ pitest-misc - true true @@ -2118,7 +2161,6 @@ pitest-annotation - true true @@ -2163,7 +2205,6 @@ pitest-blocks - true true @@ -2208,7 +2249,6 @@ pitest-coding - true true @@ -2226,8 +2266,7 @@ INVERT_NEGS MATH NEGATE_CONDITIONALS - - + REMOVE_CONDITIONALS RETURN_VALS TRUE_RETURNS VOID_METHOD_CALLS @@ -2242,7 +2281,7 @@ *.Input* 100 - 100 + 99 ${pitest.plugin.timeout.factor} ${pitest.plugin.timeout.constant} ${pitest.plugin.threads} @@ -2254,7 +2293,6 @@ pitest-design - true true @@ -2299,7 +2337,6 @@ pitest-header - true true @@ -2344,7 +2381,6 @@ pitest-imports - true true @@ -2389,7 +2425,6 @@ pitest-indentation - true true @@ -2435,7 +2470,6 @@ pitest-javadoc - true true @@ -2490,7 +2524,6 @@ pitest-metrics - true true @@ -2535,7 +2568,6 @@ pitest-modifier - true true @@ -2580,7 +2612,6 @@ pitest-naming - true true @@ -2625,7 +2656,6 @@ pitest-regexp - true true @@ -2670,7 +2700,6 @@ pitest-sizes - true true @@ -2715,7 +2744,6 @@ pitest-whitespace - true true @@ -2761,7 +2789,6 @@ pitest-ant - true true @@ -2806,7 +2833,6 @@ pitest-packagenamesloader - true true @@ -2848,7 +2874,6 @@ pitest-common - true true @@ -2880,6 +2905,7 @@ com.puppycrawl.tools.checkstyle.Definitions* com.puppycrawl.tools.checkstyle.XMLLogger* com.puppycrawl.tools.checkstyle.SarifLogger* + com.puppycrawl.tools.checkstyle.MetadataGeneratorLogger* com.puppycrawl.tools.checkstyle.PackageObjectFactory* com.puppycrawl.tools.checkstyle.PropertiesExpander* com.puppycrawl.tools.checkstyle.PropertyCacheFile* @@ -2888,6 +2914,8 @@ com.puppycrawl.tools.checkstyle.grammar.CrAwareLexerSimulator com.puppycrawl.tools.checkstyle.AuditEventFormatter + com.puppycrawl.tools.checkstyle.XdocsPropertyType + com.puppycrawl.tools.checkstyle.PropertyType com.puppycrawl.tools.checkstyle.FileStatefulCheck com.puppycrawl.tools.checkstyle.ModuleFactory com.puppycrawl.tools.checkstyle.PropertyResolver @@ -2898,12 +2926,14 @@ com.puppycrawl.tools.checkstyle.AuditEventDefaultFormatterTest + com.puppycrawl.tools.checkstyle.XdocsPropertyTypeTest com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest com.puppycrawl.tools.checkstyle.DefaultConfigurationTest com.puppycrawl.tools.checkstyle.DefaultLoggerTest com.puppycrawl.tools.checkstyle.DefinitionsTest com.puppycrawl.tools.checkstyle.XMLLoggerTest com.puppycrawl.tools.checkstyle.SarifLoggerTest + com.puppycrawl.tools.checkstyle.MetadataGeneratorLoggerTest com.puppycrawl.tools.checkstyle.PackageObjectFactoryTest com.puppycrawl.tools.checkstyle.PropertiesExpanderTest com.puppycrawl.tools.checkstyle.PropertyCacheFileTest @@ -2913,6 +2943,8 @@ com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocParseTreeTest com.puppycrawl.tools.checkstyle.filefilters.BeforeExecutionExclusionFileFilterTest + + com.puppycrawl.tools.checkstyle.meta.MetadataGeneratorUtilTest 99 95 @@ -2927,7 +2959,6 @@ pitest-common-2 - true true @@ -2990,7 +3021,6 @@ pitest-main - true true @@ -3032,7 +3062,6 @@ pitest-tree-walker - true true @@ -3126,7 +3155,6 @@ pitest-api - true true @@ -3154,6 +3182,8 @@ com.puppycrawl.tools.checkstyle.api.* + + com.puppycrawl.tools.checkstyle.checks.coding.UnusedLocalVariableCheckTest *.Input* @@ -3180,7 +3210,6 @@ pitest-filters - true true @@ -3227,7 +3256,6 @@ pitest-utils - true true @@ -3274,6 +3302,16 @@ com.puppycrawl.tools.checkstyle.checks.javadoc.AbstractJavadocCheckTest + + com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheckTest + + + com.puppycrawl.tools.checkstyle.checks.whitespace.SingleSpaceSeparatorCheckTest + + + + com.puppycrawl.tools.checkstyle.checks.whitespace.SeparatorWrapCheckTest + com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheckTest @@ -3291,12 +3329,21 @@ com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheckTest + + com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheckTest + com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheckTest com.puppycrawl.tools.checkstyle.checks.OuterTypeFilenameCheckTest + + com.puppycrawl.tools.checkstyle.checks.coding.UnusedLocalVariableCheckTest + + + com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheckTest + *.Input* @@ -3314,7 +3361,6 @@ pitest-gui - true true @@ -3385,7 +3431,6 @@ pitest-xpath - true true @@ -3434,7 +3479,6 @@ pitest-java-ast-visitor - true true @@ -3462,7 +3506,6 @@ com.puppycrawl.tools.checkstyle.grammar.* - com.puppycrawl.tools.checkstyle.JavaParserTest com.puppycrawl.tools.checkstyle.JavaAstVisitorTest