swagger-api / swagger-api/swagger-codegen

Can't build swagger-codegen because of missing snapshot dependency

Open
#11,828 0 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

I checked out the latest version of swagger-codegen, but could not build it from sratch.
Problem was that swagger-parser-1.0.61-SNAPSHOT could not be found.
I had to change
<swagger-parser-version>1.0.61-SNAPSHOT</swagger-parser-version>
to
<swagger-parser-version>1.0.61</swagger-parser-version>
in pom.xml to fix that.

Swagger-codegen version

2.4.28-SNAPSHOT

Swagger declaration file content or url
Command line used for generation

mvn clean package

Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement

Replace in pom.xml
<swagger-parser-version>1.0.61-SNAPSHOT</swagger-parser-version>
by
<swagger-parser-version>1.0.61</swagger-parser-version>

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 with pom.xml and inspect the swagger-parser-version used by the build. Run mvn clean package with a clean Maven repository to confirm the dependency resolves; done means the project builds successfully without a locally installed snapshot.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.