SmartBear / readyapi-swagger-plugin

Ready! API Plugin for importing Swagger definitions as REST Services
36 stars 27 forks source link

I tried three branches (master, 2.3.1, version-2.1.3) but all failed to resolve dependencies. Which version/branch to use? #33

Open maksfastovets opened 8 years ago

maksfastovets commented 8 years ago

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building SoapUI Swagger plugin 2.1 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.smartbear:ready-api-soapui-pro:jar:1.2.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.352 s [INFO] Finished at: 2016-05-29T10:24:04+03:00 [INFO] Final Memory: 8M/145M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project soapui-swagger-plugin: Could not resolve dependencies for project com.smartbear:soapui-swagger-plugin:jar:2.1: Failure to find com.smartbear:ready-api-soapui-pro:jar:1.2.0 in http://www.soapui.org/repository/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of soapUI Repository has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

get this under master branch. please help :)

maksfastovets commented 8 years ago

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Ready! API Swagger plugin 2.3.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.smartbear:swagger4j:jar:1.0-beta6 is missing, no dependency information available [WARNING] The POM for io.swagger:swagger-inflector:jar:1.0.6-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.777 s [INFO] Finished at: 2016-05-29T10:45:58+03:00 [INFO] Final Memory: 9M/145M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project soapui-swagger-plugin: Could not resolve dependencies for project com.smartbear:soapui-swagger-plugin:jar:2.3.1-SNAPSHOT: The following artifacts could not be resolved: com.smartbear:swagger4j:jar:1.0-beta6, io.swagger:swagger-inflector:jar:1.0.6-SNAPSHOT: Failure to find com.smartbear:swagger4j:jar:1.0-beta6 in http://www.soapui.org/repository/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of soapUI Repository has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

get this under 2.3.1 branch.

maksfastovets commented 8 years ago

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building SoapUI Swagger plugin 2.1.3 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for io.swagger:swagger-parser:jar:1.0.8-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.690 s [INFO] Finished at: 2016-05-29T10:55:42+03:00 [INFO] Final Memory: 10M/205M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project soapui-swagger-plugin: Could not resolve dependencies for project com.smartbear:soapui-swagger-plugin:jar:2.1.3: Failure to find io.swagger:swagger-parser:jar:1.0.8-SNAPSHOT in http://www.soapui.org/repository/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of soapUI Repository has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

on version-2.1.3

olensmar commented 8 years ago

Hi - I'm sorry about this - I've just finalized 2.3.1 and merged it back to master - you should use master going forward - could you please try building that?

thanks!

maksfastovets commented 8 years ago

now on a master branch:

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Ready! API Swagger plugin 2.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.smartbear:swagger4j:jar:1.0-beta6 is missing, no dependency information available [WARNING] The POM for io.swagger:swagger-parser:jar:1.0.20-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.979 s [INFO] Finished at: 2016-06-07T21:14:00+03:00 [INFO] Final Memory: 12M/205M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project soapui-swagger-plugin: Could not resolve dependencies for project com.smartbear:soapui-swagger-plugin:jar:2.4.0-SNAPSHOT: Failure to find com.smartbear:swagger4j:jar:1.0-beta6 in http://www.soapui.org/repository/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of soapUI Repository has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

olensmar commented 8 years ago

oops - you'll have to build that locally from https://github.com/SmartBear/swagger4j until I can get it pushed to our repository - I'm sorry for the hassle...

olensmar commented 8 years ago

ok - i've pushed swagger4j-1.0.0-SNAPSHOT to sonatype and update the dependency herein - and also added a new SwaggerComplianceAssertion...