Forum Discussion

3 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    While we wait to listen from the SmartBear team, what happens when you try the workaround given in the link you have provided? Did it help?
    • jpr's avatar
      jpr
      Occasional Contributor

      Hi. For my specific use case, where I am using the soapui library from within a unit test, the following two-part workaround solves it for me:

       

      1. Add this dependency exclusion to the pom.xml:

       

      <exclusion>
          <groupId>com.smartbear.utils.analytics</groupId>
          <artifactId>out-app-analytics-provider</artifactId>
      </exclusion>

       

      2. Disable analytics:

       

      com.eviware.soapui.SoapUI.getSettings().setBoolean(UISettings.DISABLE_ANALYTICS, true);

       

      Kind regards,

      Jimmy

      • tbake0155's avatar
        tbake0155
        New Contributor

        I didn't spend a bunch of  time on it, but when I tried building on the default java installed on ubuntu 18.04 when using apt, which appeared to be jdk11, I got an error about this 1.5 source in soapui/soapui/pom.xml:

         

        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>xmlbeans-maven-plugin</artifactId>
            <version>2.3.3</version>
            <executions>
                <execution>
                    <phase>generate-sources</phase>
                    <goals>
                         <goal>xmlbeans</goal>
                    </goals>
                </execution>
            </executions>
            <inherited>true</inherited>
            <configuration>
                <javaSource>1.5</javaSource>
                <verbose>false</verbose>
                <schemaDirectory>src/main/xsd</schemaDirectory>
            </configuration>
        </plugin>

         

        It could have been unrelated to jdk11 but I was able to build using jdk8.  This was version 5.6.0-SNAPSHOT from the github repo by the way.