swagger-api / swagger-api/swagger-codegen

swagger-codegen-maven-plugin build does not respect the --quiet settings

Open
#1,870 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Swagger Codegen Maven Plugin
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.