swagger-api / swagger-api/swagger-codegen
Can't build swagger-codegen because of missing snapshot dependency
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
- Have a clean maven repo
- Download latest version of swagger-codegen source from https://github.com/swagger-api/swagger-codegen
- run mvn clean package
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
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 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