我正在使用“幻灯片”构造一个多功能玉米-SapUi项目。 我有几个儿童ven项目,每个项目都有自己的项目xml和pom.xml文档。 当我单独管理每个儿童项目时,它会进行罚款。 但是,当我管理母项目时,它看着母体目录中的xml项目档案,而不是儿童目录,因此失败了,是否有解决办法?
Child POM
<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>
<parent>
<groupId>com.project</groupId>
<artifactId>project-test</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>submodule SoapUI tests</name>
<groupId>com.prject</groupId>
<artifactId>project-submodule-test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Submodule SoapUI tests</description>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<dependencies>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>3.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>soapUI</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
<configuration>
<projectFile>submodule.xml</projectFile>
<outputFolder>Reports</outputFolder>
<junitReport>true</junitReport>
<printReport>false</printReport>
<projectProperties/>
</configuration>
</plugin>
</plugins>
</build>
</project>
父母
<?xml version="1.0" encoding="UTF-8"?>
<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.project</groupId>
<artifactId>project-test</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>SoapUI tests</name>
<modules>
<module>submodule</module>
</modules>
</project>