Forum Discussion

Sandyapitester's avatar
Sandyapitester
Frequent Contributor
6 years ago

soapui maven surefire html report generation issue

Hi All,

 

I am trying the integrate soapui build in maven, in my pom, I have used the comment below

 

 

 

<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mavensoap</groupId>
<artifactId>sopauitest</artifactId>
<version>1</version>

<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>


<build>

<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.2.1</version>

<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.4.3</version>
</dependency>

<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>forms</artifactId>
<version>1.0.7</version>
</dependency>

<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui</artifactId>
<version>5.2.1</version>
<exclusions>
<exclusion>
<groupId>javafx</groupId>
<artifactId>jfxrt</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>


<configuration>
<projectFile>xyz.xml</projectFile>
<testSuite>ABC</testSuite>
<testCase>ABCDTestSuite</testCase>
<printReport>true</printReport>
<exportAll>true</exportAll>
<outputFolder>${basedir}/target/reports</outputFolder>
<junitReport>true</junitReport>
</configuration>

<executions>
<execution>
<phase>test</phase>
<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.20.1</version>
<configuration>
<outputDirectory>${basedir}/target/reports</outputDirectory>
<testFailureIgonre>true</testFailureIgonre>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<outputDirectory>${basedir}/target/reports</outputDirectory>
</configuration>
</plugin>
</plugins>
</reporting>

</project>

 

 

problem is : 

 

In my report folder am getting xml report, but not getting surefire html report. anyone help me to resolve this issue