0

package我在此阶段部署我的应用程序:

<plugin>
    <groupId>org.glassfish.maven.plugin</groupId>
    <artifactId>maven-glassfish-plugin</artifactId>
    <version>2.1</version>
    <executions>
        <execution>
            <id>gf-redeploy</id>
            <goals>
                <goal>redeploy</goal>
            </goals>
            <phase>package</phase>
        </execution>
    </executions>
</plugin>

integration-test并在阶段运行一些集成测试

<plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-maven-plugin</artifactId>
    <version>1.10.1</version>
    <executions>
        <execution>
            <id>jmeter-tests</id>
            <phase>integration-test</phase>
            <goals>
                <goal>jmeter</goal>
            </goals>
        </execution>
    </executions>
</plugin>

但是,当我查看控制台时,JMeter 测试在redeploy. 这怎么可能?我错过了什么?

4

0 回答 0