swagger-api / validator-badge

Validate your Swagger JSON/YAML today!
http://swagger.io
Apache License 2.0
210 stars 85 forks source link

Swagger-jaxrs and swagger-parser SNAPSHOTs missing #58

Closed jnighlight closed 8 years ago

jnighlight commented 8 years ago

Hey all! We're using this for a project, and it seems that when I pull down the latest version and attempt to run it, it looks for snapshots that don't exist. We're running this on CENTOS 7 with Maven 3.10 and jdk 1.7, if that's relevant. The error we get is:

[ERROR] Failed to execute goal on project swagger-validator: Could not resolve dependencies for project io.swagger:swagger-validator:war:1.0.2-SNAPSHOT: The following artifacts could not be resolved: io.swagger:swagger-jaxrs:jar:1.5.4-SNAPSHOT, io.swagger:swagger-parser:jar:1.0.11-SNAPSHOT: Failure to find io.swagger:swagger-jaxrs:jar:1.5.4-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-snapshots has elapsed or updates are forced -> [Help 1]

It works fine if you update the pom.xml to ask for the snapshots that are found on the server. I don't know if this is just a small update that needs to happen or something on my end (I'm a little new to maven), but I wanted to let you know just in case.

-        <swagger-core-version>1.5.4-SNAPSHOT</swagger-core-version>
-        <swagger-parser-version>1.0.11-SNAPSHOT</swagger-parser-version>
+        <swagger-core-version>1.5.5-SNAPSHOT</swagger-core-version>
+        <swagger-parser-version>1.0.12-SNAPSHOT</swagger-parser-version>
fehguy commented 8 years ago

Hi, that's weird. Well, we did just release swagger-parser 1.0.12 last night, so I'll update it to use that.