SKoneru
11 years agoContributor
[R] Compilation errors on com.eviware.soapui.junit.*
Hi,
I am implementing Custom Junit Reports by extending JUnitSecurityReportCollector class.
In my maven project I defined the dependency as follows
<dependency>
<groupId>eviware</groupId>
<artifactId>soapui-pro</artifactId>
<version>4.5.1</version>
</dependency>
This dependency is available from http://www.soapui.org/repository/maven2 ... oapui-pro/ repository.
But the custom class that I wrote didn't compile and complained "The type com.eviware.soapui.junit.Testcase can not be resolved.It is indirectly referenced from required .class files".
But it worked when I changed the dependency to the SOAPUI jar that existed in the lib folder of the downloaded SOAPUI-PRO application.
<dependency>
<groupId>eviware</groupId>
<artifactId>soapui</artifactId>
<version>4.5.2</version>
<scope>system</scope>
<systemPath>/Applications/soapUI-Pro-4.5.2.app/Contents/java/app/lib/soapui-4.5.2.jar</systemPath>
</dependency>
Question:-
1- I didn't find 4.5.2 jar is SOAPUI or SOAPUI-PRO maven repo.
2- How did pointing to 4.5.2 resolve this issue. I am expecting "com.eviware.soapui.junit.*" package should have existed in 4.5.1. But as said I see an issue with 4.5.1
Any help or suggestions will be appreciated.
I am implementing Custom Junit Reports by extending JUnitSecurityReportCollector class.
In my maven project I defined the dependency as follows
<dependency>
<groupId>eviware</groupId>
<artifactId>soapui-pro</artifactId>
<version>4.5.1</version>
</dependency>
This dependency is available from http://www.soapui.org/repository/maven2 ... oapui-pro/ repository.
But the custom class that I wrote didn't compile and complained "The type com.eviware.soapui.junit.Testcase can not be resolved.It is indirectly referenced from required .class files".
But it worked when I changed the dependency to the SOAPUI jar that existed in the lib folder of the downloaded SOAPUI-PRO application.
<dependency>
<groupId>eviware</groupId>
<artifactId>soapui</artifactId>
<version>4.5.2</version>
<scope>system</scope>
<systemPath>/Applications/soapUI-Pro-4.5.2.app/Contents/java/app/lib/soapui-4.5.2.jar</systemPath>
</dependency>
Question:-
1- I didn't find 4.5.2 jar is SOAPUI or SOAPUI-PRO maven repo.
2- How did pointing to 4.5.2 resolve this issue. I am expecting "com.eviware.soapui.junit.*" package should have existed in 4.5.1. But as said I see an issue with 4.5.1
Any help or suggestions will be appreciated.