cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: scan maven aggregate projects

Open gitphill opened this issue 2 years ago • 1 comments

What does this PR do?

See https://github.com/snyk/snyk-mvn-plugin/pull/136

Introduces --maven-aggregate-project so that we can support Maven module scanning better. Until now if modules depend on each other we would error out when using --all-projects. This new flag uses the Maven reactor and a compile phase to correctly scan the entire project using one Maven command, passing back a multi scan result to the CLI.

Added a Maven tip if we detect a Maven project with multiple manifests and no relevant options being used.

gitphill avatar Aug 11 '22 08:08 gitphill

Warnings
:warning:

Since the CLI is unifying on a standard and improved tooling, we're starting to migrate old-style imports and exports to ES6 ones. A file you've modified is using either module.exports or require(). If you can, please update them to ES6 import syntax and export syntax. Files found:

  • src/cli/args.ts

Generated by :no_entry_sign: dangerJS against 019bc458f0c1da234e4818263c0990f435cddb1f

github-actions[bot] avatar Aug 11 '22 08:08 github-actions[bot]