Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-surefire-plugin</artifactId>
  4. <version>2.22.2</version>
  5. </plugin>
  6. <plugin>
  7. <groupId>org.apache.maven.plugins</groupId>
  8. <artifactId>maven-failsafe-plugin</artifactId>
  9. <version>2.22.2</version>
  10. </plugin>
  11. <plugin>
  12. <groupId>io.fabric8</groupId>
  13. <artifactId>docker-maven-plugin</artifactId>
  14. <version>0.31.0</version>
  15. </plugin>
  16.  
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-surefire-plugin</artifactId>
  20. <configuration>
  21. <includes>
  22. <include>*Test</include>
  23. </includes>
  24. <excludes>
  25. <exclude>*ITest</exclude>
  26. </excludes>
  27. </configuration>
  28. </plugin>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-failsafe-plugin</artifactId>
  32. <executions>
  33. <execution>
  34. <goals>
  35. <goal>integration-test</goal>
  36. <goal>verify</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. <configuration>
  41. <includes>
  42. <include>*ITest</include>
  43. </includes>
  44. </configuration>
  45. </plugin>
  46. <plugin>
  47. <groupId>io.fabric8</groupId>
  48. <artifactId>docker-maven-plugin</artifactId>
  49. <configuration>
  50. <images>
  51. <image>
  52. <alias>html-validator</alias>
  53. <name>validator/validator:latest</name>
  54. <run>
  55. <ports>
  56. <port>8888:8888</port>
  57. </ports>
  58. <wait>
  59. <log>Checker service started.</log>
  60. <time>20000</time>
  61. </wait>
  62. </run>
  63. </image>
  64. </images>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <id>html-validator-start</id>
  69. <goals>
  70. <goal>start</goal>
  71. </goals>
  72. <phase>pre-integration-test</phase>
  73. </execution>
  74. <execution>
  75. <id>html-validator-stop</id>
  76. <goals>
  77. <goal>stop</goal>
  78. </goals>
  79. <phase>post-integration-test</phase>
  80. </execution>
  81. </executions>
  82. </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement