swagger-api / swagger-api/swagger-codegen
[3.0.7] Maven build for swagger-codegen-cli.jar not working
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I've downloaded last zip version (3.0.7), and when i try to build the swagger-codegen-cli.jar with mvn clean package got an exception :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for swagger-codegen-project 3.0.7:
[INFO]
[INFO] swagger-codegen-project ............................ SUCCESS [ 0.882 s]
[INFO] swagger-codegen (core library) ..................... FAILURE [ 3.609 s]
[INFO] swagger-codegen (executable) ....................... SKIPPED
[INFO] swagger-codegen (maven-plugin) ..................... SKIPPED
[INFO] swagger-generator .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.848 s
[INFO] Finished at: 2019-03-28T16:10:42+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project swagger-codegen: There are test failures.
Swagger-codegen version
3.0.7
Swagger declaration file content or url
Command line used for generation
mvn clean package
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
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 by running mvn clean package for swagger-codegen 3.0.7 and inspect the full Maven Surefire failure in the swagger-codegen core library, since the report includes only the reactor summary. Trace the failing test and its build configuration; done means the core library tests pass and the CLI, Maven plugin, and generator modules build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100