swagger-api / swagger-api/swagger-codegen
swagger-codegen-maven-plugin build does not respect the --quiet settings
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When building with Maven the plugin does not respect the --errors or --quiet as explained in http://books.sonatype.com/mvnref-book/reference/running-sect-options.html#running-sect-verbose-option
This would not normally be a problem, but in our case the api is rather large, and we end up with logs which are rather extensive and not very usable by the developper
I'm forking the repository in order to force the use of a Logger with the expected Level.
/Julien
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the swagger-codegen-maven-plugin entry point and review how its Maven build output is produced, using the referenced Maven --errors and --quiet options as the expected behavior. Confirm that quiet and errors modes control the plugin's logging and that a large API no longer produces excessive logs.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100