Forum Discussion

Srikanth_jp's avatar
Srikanth_jp
Occasional Visitor
7 years ago

Ready API Integration with Maven -Problems in including the Ready API XML project file in POM.xml

Team,

 

I have attached my POM file for reference , I have included the Ready API jar file locally in my machine and have provide the path in my POM xml file . Also i included the project file name in the Plugin>Configuration node but i am not getting errors in the POM file but when i run the tests the Ready API xml file is not triggered .Please assist

 

I referred the below link from Smart bear to setup the POM file

 

https://support.smartbear.com/readyapi/docs/testing/integrations/ci-systems/maven/working.html

 

1 Reply

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi Srikanth,

     

    Thank you for your post. It seems that your POM file wasn't correct. I've modified your POM file, please see attached. Please check it once again (I tried to add all dependencies which you had). 

     

    Note that I deleted <!scope>test</scope> from this dependency:

    <dependency>
    <groupId>org.testng</groupId>
    <artifactId>testng</artifactId>
    <version>6.9.9</version>
    <!--scope>test</scope-->
    </dependency>

     

    If you still have issues, please share the output from maven.