From 4143a769506bd5752e7ce7720c5a8e768b6621a0 Mon Sep 17 00:00:00 2001 From: Tomasz Pietruszkiewicz Date: Thu, 25 Mar 2021 11:54:14 +0100 Subject: Update all HV-VES dependencies to newest versions Change-Id: Iba0d2dce0374a3fe44f0b6e3b302b02e782d8d56 Issue-ID: DCAEGEN2-2696 Signed-off-by: Tomasz Pietruszkiewicz --- build/hv-collector-analysis/pom.xml | 2 +- .../src/main/resources/onap-detekt-config.yml | 113 +++++++++------------ build/hv-collector-coverage/pom.xml | 2 +- build/pom.xml | 2 +- 4 files changed, 49 insertions(+), 70 deletions(-) (limited to 'build') diff --git a/build/hv-collector-analysis/pom.xml b/build/hv-collector-analysis/pom.xml index 4517ba66..618667ff 100644 --- a/build/hv-collector-analysis/pom.xml +++ b/build/hv-collector-analysis/pom.xml @@ -33,7 +33,7 @@ org.onap.dcaegen2.collectors.hv-ves hv-collector-build - 1.6.0-SNAPSHOT + 1.7.0-SNAPSHOT .. diff --git a/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml b/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml index a5dd275e..baab749a 100644 --- a/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml +++ b/build/hv-collector-analysis/src/main/resources/onap-detekt-config.yml @@ -1,32 +1,12 @@ -autoCorrect: true -failFast: false -test-pattern: # Configure exclusions for test sources - active: true - patterns: # Test file regexes - - '.*/test/.*' - - '.*Test.kt' - - '.*Spec.kt' - exclude-rule-sets: - - 'comments' - exclude-rules: - - 'NamingRules' - - 'WildcardImport' - - 'MagicNumber' - - 'MaxLineLength' - - 'LateinitUsage' - - 'StringLiteralDuplication' - - 'SpreadOperator' - - 'TooManyFunctions' - - 'ForEachOnRange' build: maxIssues: 3 weights: - # complexity: 2 - # LongParameterList: 1 - # style: 1 - # comments: 1 + # complexity: 2 + # LongParameterList: 1 + # style: 1 + # comments: 1 processors: active: true @@ -94,7 +74,8 @@ complexity: threshold: 20 LongParameterList: active: true - threshold: 6 + functionThreshold: 6 + constructorThreshold: 7 ignoreDefaultParameters: false MethodOverloading: active: false @@ -137,7 +118,7 @@ empty-blocks: active: true EmptyFunctionBlock: active: true - ignoreOverriddenFunctions: false + ignoreOverridden: false EmptyIfBlock: active: true EmptyInitBlock: @@ -180,43 +161,43 @@ exceptions: TooGenericExceptionCaught: active: true exceptionNames: - - ArrayIndexOutOfBoundsException - - Error - - Exception - - IllegalMonitorStateException - - NullPointerException - - IndexOutOfBoundsException - - RuntimeException - - Throwable + - ArrayIndexOutOfBoundsException + - Error + - Exception + - IllegalMonitorStateException + - NullPointerException + - IndexOutOfBoundsException + - RuntimeException + - Throwable TooGenericExceptionThrown: active: true exceptionNames: - - Error - - Exception - - Throwable - - RuntimeException + - Error + - Exception + - Throwable + - RuntimeException formatting: active: true android: false - autoCorrect: true + ChainWrapping: active: false - autoCorrect: true + CommentSpacing: active: true - autoCorrect: true + Filename: active: true FinalNewline: active: true - autoCorrect: true + ImportOrdering: active: true - autoCorrect: true + Indentation: active: true - autoCorrect: true + indentSize: 4 continuationIndentSize: 4 MaximumLineLength: @@ -224,67 +205,65 @@ formatting: maxLineLength: 120 ModifierOrdering: active: true - autoCorrect: true + NoBlankLineBeforeRbrace: active: true - autoCorrect: true + NoConsecutiveBlankLines: active: true - autoCorrect: true + NoEmptyClassBody: active: true - autoCorrect: true - NoItParamInMultilineLambda: - active: true + NoLineBreakAfterElse: active: true - autoCorrect: true + NoLineBreakBeforeAssignment: active: true - autoCorrect: true + NoMultipleSpaces: active: true - autoCorrect: true + NoSemicolons: active: true - autoCorrect: true + NoTrailingSpaces: active: true - autoCorrect: true + NoUnitReturn: active: true - autoCorrect: true + NoUnusedImports: active: true - autoCorrect: true + NoWildcardImports: active: true - autoCorrect: true + ParameterListWrapping: active: false - autoCorrect: true + indentSize: 4 SpacingAroundColon: active: true - autoCorrect: true + SpacingAroundComma: active: true - autoCorrect: true + SpacingAroundCurly: active: true - autoCorrect: true + SpacingAroundKeyword: active: true - autoCorrect: true + SpacingAroundOperators: active: true - autoCorrect: true + SpacingAroundRangeOperator: active: true - autoCorrect: true + StringTemplate: active: true - autoCorrect: true + naming: active: true @@ -311,7 +290,7 @@ naming: active: false MemberNameEqualsClassName: active: false - ignoreOverriddenFunction: true + ignoreOverridden: true ObjectPropertyNaming: active: true propertyPattern: '[A-Za-z][_A-Za-z0-9]*' diff --git a/build/hv-collector-coverage/pom.xml b/build/hv-collector-coverage/pom.xml index 0de95e98..eb2c6c2f 100644 --- a/build/hv-collector-coverage/pom.xml +++ b/build/hv-collector-coverage/pom.xml @@ -33,7 +33,7 @@ org.onap.dcaegen2.collectors.hv-ves hv-collector-build - 1.6.0-SNAPSHOT + 1.7.0-SNAPSHOT .. diff --git a/build/pom.xml b/build/pom.xml index f3248331..4b743efb 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -32,7 +32,7 @@ org.onap.dcaegen2.collectors.hv-ves ves-hv-collector - 1.6.0-SNAPSHOT + 1.7.0-SNAPSHOT .. -- cgit 1.2.3-korg