swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.06k stars 6.03k forks source link

Error Building swagger-codegen #9096

Open kunal-pmj opened 5 years ago

kunal-pmj commented 5 years ago
Description

Following error is observed on building swagger-cdegen

Failed to execute goal on project swagger-codegen: Could not resolve dependencies for project io.swagger:swagger-codegen:jar:2.4.2-SNAPSHOT: The following artifacts could not be resolved: io.swagger:swagger-parser:jar:1.0.42-SNAPSHOT, io.swagger:swagger-compat-spec-parser:jar:1.0.42-SNAPSHOT: Failure to find io.swagger:swagger-parser:jar:1.0.42-SNAPSHOT

Swagger-codegen version

tried to build master branch

Swagger declaration file content or url

NA

Command line used for generation

mvn clean package

Steps to reproduce

clone the master branch and build 'mvn clean package'

Related issues/PRs
Suggest a fix/enhancement
eatmarcus commented 5 years ago

Tried to build swagger-codegen using "mvn clean package" and I get:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (test-testng) on project swagger-codegen: There are test failures.

bdeanindy commented 5 years ago

@eatmarcus did you ever get that issue resolved? I just encountered the exact same issue.

chorfa007 commented 2 years ago

The same for me how we can solve this issue ?