swagger-api / swagger-api/swagger-codegen

Error Building swagger-codegen

Open
#9,096 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

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🫙2.4.2-SNAPSHOT: The following artifacts could not be resolved: io.swagger:swagger-parser🫙1.0.42-SNAPSHOT, io.swagger:swagger-compat-spec-parser🫙1.0.42-SNAPSHOT: Failure to find io.swagger:swagger-parser🫙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

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

Run mvn clean package on the master branch and inspect the dependency-resolution failure for swagger-parser:1.0.42-SNAPSHOT and swagger-compat-spec-parser:1.0.42-SNAPSHOT. Check how these artifacts are declared or made available; done means the command completes without unresolved dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.