Forum Discussion

abcfan's avatar
abcfan
New Contributor
12 years ago

Failed to load soapui project with maven

Getting error with soapui pro 4.6.2 and maven 3.1.1: [ERROR] Failed to load SoapUI project file [ms4-od-soapui-project.xml]

It seemd default projectname is being used instead of <projectFile> specified in pom.xml


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>GatewayModularizedTests</groupId>
<artifactId>ms4-od</artifactId>
<version>0.0.1-SNAPSHOT</version>
<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.2</version>
<dependencies>
<dependency>
<groupId>com.microsoft</groupId>
<artifactId>sqlserver2005-jdbc</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.16</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>oracle-ojdbc6</artifactId>
<version>11.1.0.7.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${project.basedir}/ms4-od-WebServiceStatusCheck-soapui-project.xml</projectFile>
<outputFolder>${project.basedir}/target/soapui-reports</outputFolder>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    Please follow the other duplicate topic for further discussion and this is locked as duplicate.