alibaba/java-dns-cache-manipulator

View on GitHub
mvnw.cmd

Summary

Maintainability
Test Coverage

Expected an indentation at 4 instead of at 2.
Open

  %MAVEN_DEBUG_OPTS% ^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "}"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "}"
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "$webclient = new-object System.Net.WebClient;"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "  exit 1;"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%WRAPPER_URL%', '%WRAPPER_JAR%')"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "  Write-Output 'If you updated your Maven version, you need to update the specified wrapperSha256Sum property.';"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "}"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "}"
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "  Write-Output 'Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.';"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  -classpath %WRAPPER_JAR% ^
Severity: Minor
Found in mvnw.cmd by editorconfig

Unexpected tabs found.
Open

        "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  %MAVEN_OPTS% ^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "If('%WRAPPER_SHA_256_SUM%' -ne $hash){"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  %JVM_CONFIG_MAVEN_PROPS% ^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "$hash = (Get-FileHash \"%WRAPPER_JAR%\" -Algorithm SHA256).Hash.ToLower();"^
Severity: Minor
Found in mvnw.cmd by editorconfig

Expected an indentation at 8 instead of at 7.
Open

       "  Write-Output 'Investigate or delete %WRAPPER_JAR% to attempt a clean download.';"^
Severity: Minor
Found in mvnw.cmd by editorconfig

There are no issues that match your filters.

Category
Status