Last active
December 29, 2016 19:39
-
-
Save mike-ensor/a1f1bf5891cb533e7eac8f2912d8b37e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>benchmark</id> | |
<properties> | |
<maven.test.ITests>true</maven.test.ITests> | |
</properties> | |
<build> | |
<plugins> | |
<!-- Start application for benchmarks to test against --> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>pre-integration-test</id> | |
<goals> | |
<goal>start</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>post-integration-test</id> | |
<goals> | |
<goal>stop</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Turn off unit tests --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<excludes> | |
<exclude>**/*Tests.java</exclude> | |
<exclude>**/*Test.java</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.5.0</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<phase>integration-test</phase> | |
</execution> | |
</executions> | |
<configuration> | |
<executable>java</executable> | |
<classpathScope>test</classpathScope> | |
<arguments> | |
<argument>-classpath</argument> | |
<classpath /> | |
<argument>com.dev9.benchmark.BenchmarkBase</argument> | |
<argument>.*</argument> | |
</arguments> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment