bzzup
11 years agoOccasional Contributor
Hudson. Add dependency for custom plugin
Hi. We've developed custom assertion and custom test step. Everything works fine locally, but when it's time to use it with Hudson - problems begin.
We've modified pom to include local maven repository, as well as added dependency as per http://www.soapui.org/Test-Automation/m ... ll-example. However it still doesn't work with errors like:
ERROR [TestAssertionRegistry] Missing assertion for type [MyAssertionID]
ERROR [WsdlTestCase] Failed to create test step for [Average Response]
Our plugin is soap-ahr-plugin
Our pom file:
We rechecked everything twice.. Could you shed some light on our problem please?
We've modified pom to include local maven repository, as well as added dependency as per http://www.soapui.org/Test-Automation/m ... ll-example. However it still doesn't work with errors like:
ERROR [TestAssertionRegistry] Missing assertion for type [MyAssertionID]
ERROR [WsdlTestCase] Failed to create test step for [Average Response]
Our plugin is soap-ahr-plugin
Our pom file:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ist.qa</groupId>
<artifactId>hnfwk-services-test</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>hnfwk-services-test</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.16</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
<!--The repository for where Maven can find the soapUI Plugin-->
<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
<pluginRepository>
<id>Atena-Nexus</id>
<name>Releases on Atena</name>
<url>http://atena:8081/nexus/content/repositories/releases/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.1.2</version>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<dependency>
<groupId>soap.ahr.plugins</groupId>
<artifactId>soap-ahr-plugin</artifactId>
<version>0.6-plugin</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.9-RC1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.10-FINAL</version>
<exclusions>
<exclusion>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<executions>
<execution>
<phase>test</phase>
<id>hnfwk.business.service.tests.school</id>
<configuration>
<testFailIgnore>true</testFailIgnore>
<projectFile>business/hnfwk.business.service.tests.school.xml</projectFile>
<outputFolder>${project.build.directory}/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<exportAll>false</exportAll>
<printReport>true</printReport>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}/soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.16</version>
<configuration>
<aggregate>false</aggregate>
<useFile>true</useFile>
<!--also set this to link to generated source reports-->
<linkXRef>false</linkXRef>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
We rechecked everything twice.. Could you shed some light on our problem please?