Java 如何使systemPropertyVariables成为必填项
maven surefire插件中systemPropertyVariables下列出的属性,如何使它们成为必需的?在下面的代码中,如何使变量“path”成为必需的Java 如何使systemPropertyVariables成为必填项,java,maven,maven-2,maven-plugin,Java,Maven,Maven 2,Maven Plugin,maven surefire插件中systemPropertyVariables下列出的属性,如何使它们成为必需的?在下面的代码中,如何使变量“path”成为必需的 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<systemPropertyVariables>
<Path>${path}</Path>
</systemPropertyVariables>
<suiteXmlFiles>
<suiteXmlFile>testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
org.apache.maven.plugins
maven surefire插件
2.20
${path}
testng.xml
这是否回答了您的问题:?这是否回答了您的问题:?