2012-04-12 57 views
0

是否可以執行maven-easyb-plugin作爲集成階段而不是測試階段的一部分?將項目部署到Web服務器後,我想運行easyb測試。執行maven-easyb-plugin作爲集成階段的一部分,而不是測試階段

    <plugin> 
        <groupId>org.easyb</groupId> 
        <artifactId>maven-easyb-plugin</artifactId> 
        <version>1.4</version> 
        <executions> 
         <execution> 
          <goals> 
           <goal>test</goal> 
          </goals> 
         </execution> 
        </executions> 
        <configuration> 
         <storyType>html</storyType> 
         <storyReport>target/easyb/easyb.html</storyReport> 
         <easybTestDirectory>src/test/stories</easybTestDirectory> 
         <jvmArguments>-Xmx512m -Dwebdriver.driver=firefox</jvmArguments> 
        </configuration> 
       </plugin> 

回答

0

在特定情況下,它是:

<execution> 
    <phase>integration-test</phase> 
    <goals> 
     <goal>test</goal> 
    </goals> 
</execution> 
在你的插件配置