Forum Discussion
leskop
13 years agoOccasional Contributor
I'm missing this feature also.
If I set following for child project:
Second child project has similar configuration with other variables.
Parrent pom looks like:
Is there any way how to aggregate ${basedir}/../../target/soapui-reports-childProject1 and ${basedir}/../../target/soapui-reports-childProject2 test sub-module results into one?
Using
If I set following for child project:
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<inherited>true</inherited>
<configuration>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}/soapui-logs/</value>
</property>
</soapuiProperties>
<saveAfterRun>true</saveAfterRun>
<testFailIgnore>true</testFailIgnore>
<aggregate>true</aggregate>
<linkXRef>true</linkXRef>
<projectFile>${basedir}/../../src/test/soapui/Test-soapui-project.xml</projectFile>
<host>http://127.0.0.1:8080</host>
<outputFolder>${basedir}/../../target/soapui-reports-childProject1/</outputFolder>
<junitReport>true</junitReport>
<printReport>false</printReport>
<projectProperties>
<projectProperty>myProp1=prop1</projectProperty>
<projectProperty>myProp2=prop2</projectProperty>
</projectProperties>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
Second child project has similar configuration with other variables.
Parrent pom looks like:
...
<modules>
<module>modules/project1</module>
<module>modules/project1</module>
</modules>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
Is there any way how to aggregate ${basedir}/../../target/soapui-reports-childProject1 and ${basedir}/../../target/soapui-reports-childProject2 test sub-module results into one?
Using
mvn integration-testto produce results