Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <profiles>
- <profile>
- <id>integration-test</id>
- <properties>
- <!-- Used to locate the profile specific configuration file. -->
- <build.profile.id>integration-test</build.profile.id>
- <!-- Only integration tests are run. -->
- <skip.integration.tests>false</skip.integration.tests>
- <skip.unit.tests>true</skip.unit.tests>
- </properties>
- </profile>
- </profiles>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.7.201606060606</version>
- <executions>
- <execution>
- <phase>post-integration-test</phase>
- <goals>
- <goal>dump</goal>
- </goals>
- <configuration>
- <address>illinqw660</address>
- <port>8099</port>
- <reset>false</reset>
- <append>false</append>
- <dump>true</dump>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Used for integration tests -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.15</version>
- <executions>
- <!-- Ensures that both integration-test and verify goals of the Failsafe
- Maven plugin are executed. -->
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <!-- Sets the VM argument line used when integration tests are run. -->
- <argLine>${failsafeArgLine}</argLine>
- <!-- Skips integration tests if the value of skip.integration.tests
- property is true -->
- <skipTests>${skip.integration.tests}</skipTests>
- </configuration>
- </execution>
- </executions>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement