Forum Discussion

palatha3's avatar
palatha3
Occasional Contributor
5 years ago

ReadyAPI integration with maven

I am trying to use below POM file for readyapi (2.6.0) but not successful. can you please suggest what should be the repository id which I can use in settings.xml (.m2 directory). I need to set this in maven settings.xml to get remote repositories other than our own central repository.

repository id I have used is:SmartBearPluginRepository

example pom: https://support.smartbear.com/readyapi/docs/integrations/maven/example.html#pom

error information: [ERROR] Plugin com.smartbear:ready-api-maven-plugin:2.6.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.smartbear:ready-api-maven-plugin:jar:2.6.0: Could not transfer artifact com.smartbear:ready-api-maven-plugin:pom:2.6.0 from/to SmartBearPluginRepository (http://smartbearsoftware.com/repository/maven2): Connection reset -> [Help 1]

please let me know your suggestion or thoughts.

  • I was able to resolve by myself. The issue was maven was not looking at java version 1.8.0 so changed it started working.

  • palatha3's avatar
    palatha3
    Occasional Contributor
    I can reach to that site in browser but not with maven. It might be due to some sort of authentication issue. I may need to add proxy or so not sure yet.
    • palatha3's avatar
      palatha3
      Occasional Contributor

      I was able to resolve by myself. The issue was maven was not looking at java version 1.8.0 so changed it started working.