tdrury
15 years agoContributor
maven and multiple projects
I cannot get the maven plugin to run test suites from multiple projects. I've seen this thread: viewtopic.php?f=14&t=5381&p=17861&hilit=maven+multiple+projects&sid=6ec23825ae86359d1fc4e91865fc130d#p16965
and tried that strategy. Here is the POM I use:
When using the 3.6.1 non-pro plugin (remove "-pro" from plugin ArtifactId above), nothing appears to happen - no tests are executed. When I use the pro plugin I get the error that "File [d:\<snip>\me.test.webservices-soapui-project.xml] does not exist" which is correct because this is not the project name - it attempted to create the project name from my POM's ArtifactId because it evidently didn't find it in the /build/plugins/plugin/configuration section.
-tim
and tried that strategy. Here is the POM I use:
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>ActivityTests</id>
<configuration>
<projectFile>src/test/resources/me-activity-soapui-project.xml</projectFile>
</configuration>
</execution>
<execution>
<id>StatusTests</id>
<configuration>
<projectFile>src/test/resources/me-status-soapui-project.xml</projectFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
When using the 3.6.1 non-pro plugin (remove "-pro" from plugin ArtifactId above), nothing appears to happen - no tests are executed. When I use the pro plugin I get the error that "File [d:\<snip>\me.test.webservices-soapui-project.xml] does not exist" which is correct because this is not the project name - it attempted to create the project name from my POM's ArtifactId because it evidently didn't find it in the /build/plugins/plugin/configuration section.
-tim