slachiewicz opened a new pull request, #1763: URL: https://github.com/apache/maven-dependency-plugin/pull/1763
Part of #1759. `AnalyzeMojoIgnoreTest` replaces six ITs that compiled a class against real jars only to check that an `ignore*` parameter lets `failOnWarning` pass: `analyze-ignore-dependency`, `analyze-ignore-unused-declared-dependency`, `analyze-ignore-used-undeclared-dependency`, `analyze-ignore-non-test-scope-dependency`, `analyze-ignore-all-non-test-scope-dependency` and `mdep-714-analyze-ignore-unused-runtime`. Each case stubs the analyzer with the result those ITs logged and asserts the "Ignored …" lines; a seventh case checks that an unused runtime dependency fails without `ignoreUnusedRuntime`, which no IT covered. The other `analyze` and all `tree` ITs stay: they depend on real resolution, bytecode analysis of compiled classes, reactors or the HTML report. Verified: removing the `ignoreUnusedRuntime` filter or the `ignoredDependencies` filter for used undeclared dependencies in `AbstractAnalyzeMojo` fails the matching test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
