Forum Discussion

SithLordDevOps's avatar
New Contributor
6 years ago

Maven Error with ready-api-maven-plugin and ReadyAPI 2.5.0

I have successfully called my cucumber tests and my soapui tests using maven and the ready api plugin. However, I'm getting the error after the tests are run 


[ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:2.5.0:test (default) on project dvpcucumber: Execution default of goal com.smartbear:ready-api-maven-plugin:2.5.0:test failed: A required class was missing wh
ile executing com.smartbear:ready-api-maven-plugin:2.5.0:test: org/apache/xml/serializer/SerializerTrace... [ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR] -----------------------------------------------------
[ERROR] : org.apache.xml.serializer.SerializerTrace


My maven file has the below config for the plugin.  


I manually add the SerializerTrace library in my dependencies and confirmed it was installed in the .m2/repository but I'm still getting the error.