Allow to skip autobahntestsuite by specify property skipAutobahnTestsuite

This commit is contained in:
Norman Maurer 2014-02-06 07:10:33 +01:00
parent cadaeb658d
commit be919b372e

View File

@ -85,28 +85,44 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
<artifactId>autobahntestsuite-maven-plugin</artifactId>
<version>0.1.1</version>
<configuration>
<mainClass>io.netty.testsuite.websockets.autobahn.AutobahnServer</mainClass>
<cases>
<case>*</case>
</cases>
<excludeCases></excludeCases>
<failOnNonStrict>false</failOnNonStrict>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>fuzzingclient</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Only run the autobahntestsuite if it is not disabled -->
<id>autobahntestsuite</id>
<activation>
<property>
<name>!skipAutobahnTestsuite</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
<artifactId>autobahntestsuite-maven-plugin</artifactId>
<version>0.1.1</version>
<configuration>
<mainClass>io.netty.testsuite.websockets.autobahn.AutobahnServer</mainClass>
<cases>
<case>*</case>
</cases>
<excludeCases></excludeCases>
<failOnNonStrict>false</failOnNonStrict>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>fuzzingclient</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>