Forum Discussion

redfish4ktc2's avatar
redfish4ktc2
Super Contributor
12 years ago

SoapUI 5.0.0-beta maven pro plugin missing dependency

Hi,
running the maven pro plugin always fails (at least for the test and mock goals) with the following maven error log

Execution soapui-start-mock of goal com.smartbear.soapui:soapui-pro-maven-plugin:5.0.0-beta:mock failed: A required class was missing while executing com.smartbear.soapui:soapui-pro-maven-plugin:5.0.0-beta:mock: com/smardec/license4j/License
Execution soapui-test of goal com.smartbear.soapui:soapui-pro-maven-plugin:5.0.0-beta:test failed: A required class was missing while executing com.smartbear.soapui:soapui-pro-maven-plugin:5.0.0-beta:test: com/smardec/license4j/License


the workaround is to add the license4j dependency to the plugin declaration.
          <dependency>
<groupId>license4j</groupId>
<artifactId>license4j</artifactId>
<version>1.3</version>
</dependency>


See the attached archive to reproduce the problem. I've tested this with maven 3.0.5, oracle jdk 1.7.0_21, windows 7

3 Replies

  • Hi,

    This answer is from our developer:

    I was not been able to reproduce this issue. I tried the same pom, project file then removed the dependency license4j from the pom and also manually removed license4j from my local maven repo. Still it worked when I ran mock goal.


    Regards,

    Giscard
    SmartBear Support
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Thanks for your reply,
    unfortunately, I've been able to reproduce the issue on another machine (still on windows 7) with various maven versions using a fresh maven local repository.

    I will perform extra test with this plugin version.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi,
    for information, I am able to reproduce the problem in any environments using a fresh local maven repository.
    See https://s3.amazonaws.com/archive.travis ... 97/log.txt and look for "[INFO] Building: fix_dependencies/soapui-pro-5.0.0-beta/pom.xml". You will find a "com/smardec/license4j/License"

    To reproduce the issue, remove the soapui pro jar from the local maven repository.

    Anyway, there is not such an issue with 5.0.0