diff --git a/pom.xml b/pom.xml index a431b59c..cef555cd 100644 --- a/pom.xml +++ b/pom.xml @@ -53,8 +53,8 @@ 0.8.7 11 11 - 1.9.10 - 1.0.0 + 1.9.22 + 1.1.1 1.20 3.6.4 8 @@ -540,6 +540,23 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + analyze-dependencies + + analyze-only + + + + com.pinterest.ktlint:ktlint-cli-reporter-plain + + + + + org.apache.maven.plugins maven-enforcer-plugin diff --git a/src/test/kotlin/com/github/gantsign/maven/plugin/ktlint/FormatMojoTest.kt b/src/test/kotlin/com/github/gantsign/maven/plugin/ktlint/FormatMojoTest.kt index 6d8e1243..01c19abb 100644 --- a/src/test/kotlin/com/github/gantsign/maven/plugin/ktlint/FormatMojoTest.kt +++ b/src/test/kotlin/com/github/gantsign/maven/plugin/ktlint/FormatMojoTest.kt @@ -73,7 +73,7 @@ class FormatMojoTest { } verify { log.debug("Format fixed > $source:30:8: Missing newline before \")\"") } verify { log.debug("Format fixed > $source:30:8: Missing trailing comma before \")\"") } - verify { log.debug("Format could not fix > $source:29:14: Exceeded max line length (80)") } + verify { log.debug("Format could not fix > $source:29:94: Exceeded max line length (80)") } verify { log.debug("Format fixed > $source") } verify { log.warn("Source root doesn't exist: $testRoot") } verify { log.info("1 file(s) formatted.") } @@ -106,7 +106,7 @@ class FormatMojoTest { ) } verify { log.debug("Format fixed > $scriptSource:30:8: Missing newline before \")\"") } - verify { log.debug("Format could not fix > $scriptSource:29:14: Exceeded max line length (80)") } + verify { log.debug("Format could not fix > $scriptSource:29:94: Exceeded max line length (80)") } verify { log.debug("Format fixed > $scriptSource") } verify { log.warn("Source root doesn't exist: $testRoot") } verify { log.info("1 file(s) formatted.") }