如何将jvm与maven构建集成

如何将jvm与maven构建集成,maven,tycho,cucumber-jvm,swtbot,Maven,Tycho,Cucumber Jvm,Swtbot,我试图在我的eclipse插件项目中加入一些bdd,但不知道如何在maven build fase期间运行集成测试。为了编写测试,我使用SWTBot框架 我已经完成了功能生成fase,并设置了测试。如何设置pom以运行集成测试?我使用下面的配置并运行mvn clean verify。如果不希望并行运行测试,请删除parallel、perCoreThreadCount和threadCountClasses标记。 确保更新正则表达式以匹配测试命名约定**/Run*.java org.apache.

我试图在我的eclipse插件项目中加入一些bdd,但不知道如何在maven build fase期间运行集成测试。为了编写测试,我使用SWTBot框架


我已经完成了功能生成fase,并设置了测试。如何设置pom以运行集成测试?

我使用下面的配置并运行
mvn clean verify
。如果不希望并行运行测试,请删除
parallel
perCoreThreadCount
threadCountClasses
标记。 确保更新正则表达式以匹配测试命名约定
**/Run*.java


org.apache.maven.plugins
maven surefire插件
2.16
验收试验
集成测试
测试
UTF-8
班级
真的
10
-Xmx1024m
-XX:MaxPermSize=256m
**/运行*.java
             <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.16</version>
                <executions>
                    <execution>
                        <id>acceptance-test</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <outputEncoding>UTF-8</outputEncoding>
                            <parallel>classes</parallel>
                            <perCoreThreadCount>true</perCoreThreadCount>
                            <threadCountClasses>10</threadCountClasses>
                            <argLine>-Xmx1024m</argLine>
                            <argLine>-XX:MaxPermSize=256m</argLine>
                            <includes>
                                <include>**/Run*.java</include>
                            </includes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>