Advertisement
Guest User

Untitled

a guest
Nov 10th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.91 KB | None | 0 0
  1.  
  2.     <profiles>
  3.         <profile>
  4.             <id>integration-test</id>
  5.             <properties>
  6.                 <!-- Used to locate the profile specific configuration file. -->
  7.                 <build.profile.id>integration-test</build.profile.id>
  8.                 <!-- Only integration tests are run. -->
  9.                 <skip.integration.tests>false</skip.integration.tests>
  10.                 <skip.unit.tests>true</skip.unit.tests>
  11.             </properties>
  12.         </profile>
  13.     </profiles>
  14.  
  15.  
  16.  
  17. <plugin>
  18.                 <groupId>org.jacoco</groupId>
  19.                 <artifactId>jacoco-maven-plugin</artifactId>
  20.                 <version>0.7.7.201606060606</version>              
  21.                 <executions>
  22.                     <execution>
  23.                         <phase>post-integration-test</phase>
  24.                         <goals>
  25.                             <goal>dump</goal>
  26.                         </goals>
  27.                         <configuration>
  28.                             <address>illinqw660</address>
  29.                             <port>8099</port>
  30.                             <reset>false</reset>
  31.                             <append>false</append>
  32.                             <dump>true</dump>
  33.                             <!-- Sets the output directory for the code coverage report. -->
  34.                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
  35.                         </configuration>
  36.                     </execution>
  37.                 </executions>
  38.             </plugin>
  39.             <!-- Used for integration tests -->
  40.             <plugin>
  41.                 <groupId>org.apache.maven.plugins</groupId>
  42.                 <artifactId>maven-failsafe-plugin</artifactId>
  43.                 <version>2.15</version>
  44.                 <executions>
  45.                     <!-- Ensures that both integration-test and verify goals of the Failsafe
  46.                         Maven plugin are executed. -->
  47.                     <execution>
  48.                         <id>integration-tests</id>
  49.                         <goals>
  50.                             <goal>integration-test</goal>
  51.                             <goal>verify</goal>
  52.                         </goals>
  53.                         <configuration>
  54.                             <!-- Sets the VM argument line used when integration tests are run. -->
  55.                             <argLine>${failsafeArgLine}</argLine>
  56.  
  57.                             <!-- Skips integration tests if the value of skip.integration.tests
  58.                                 property is true -->
  59.                             <skipTests>${skip.integration.tests}</skipTests>
  60.                         </configuration>
  61.                     </execution>
  62.                 </executions>
  63.             </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement