/mycila-testing/tags/mycila-testing-2.9.ga/mycila-testing-plugins/mycila-testing-jetty/src/it/tests/parent-pom/pom.xml

http://mycila.googlecode.com/ · XML · 130 lines · 116 code · 13 blank · 1 comment · 0 complexity · 2464cc29c448f2290dfef55ad6b6be72 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.mycila.testing.plugins.jettyrunwar.its</groupId>
  5. <artifactId>jettyrunwar-its-parent</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <name>${project.artifactId}</name>
  9. <description>common pom configuration</description>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <java.sources.compile.version>1.6</java.sources.compile.version>
  14. </properties>
  15. <build>
  16. <testResources>
  17. <testResource>
  18. <directory>src/test/config</directory>
  19. </testResource>
  20. </testResources>
  21. <plugins>
  22. <plugin>
  23. <artifactId>maven-resources-plugin</artifactId>
  24. <version>2.5</version>
  25. <configuration>
  26. <includeEmptyDirs>true</includeEmptyDirs>
  27. </configuration>
  28. </plugin>
  29. <plugin>
  30. <groupId>org.codehaus.mojo</groupId>
  31. <artifactId>build-helper-maven-plugin</artifactId>
  32. <version>1.5</version>
  33. <executions>
  34. <execution>
  35. <id>add-it-source</id>
  36. <phase>generate-test-sources</phase>
  37. <goals>
  38. <goal>add-test-source</goal>
  39. </goals>
  40. <configuration>
  41. <sources>
  42. <source>src/it/java</source>
  43. </sources>
  44. </configuration>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <artifactId>maven-compiler-plugin</artifactId>
  50. <version>2.3.1</version>
  51. <configuration>
  52. <source>${java.sources.compile.version}</source>
  53. <target>${java.sources.compile.version}</target>
  54. <encoding>${project.build.sourceEncoding}</encoding>
  55. <debug>true</debug>
  56. <showDeprecation>true</showDeprecation>
  57. <showWarnings>true</showWarnings>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <artifactId>maven-failsafe-plugin</artifactId>
  62. <version>2.6</version>
  63. <configuration>
  64. <systemPropertyVariables>
  65. <warPath>target/${project.artifactId}-${project.version}.war</warPath>
  66. </systemPropertyVariables>
  67. </configuration>
  68. <executions>
  69. <execution>
  70. <id>integration-test</id>
  71. <goals>
  72. <goal>integration-test</goal>
  73. </goals>
  74. </execution>
  75. <execution>
  76. <id>verify</id>
  77. <goals>
  78. <goal>verify</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-log4j12</artifactId>
  89. <version>1.6.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>@project.groupId@</groupId>
  93. <artifactId>@project.artifactId@</artifactId>
  94. <version>@project.version@</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <!-- JspServlet from org.apache.tomcat:jasper required because not provided by since jetty-7 due to licence -->
  98. <dependency>
  99. <groupId>org.apache.tomcat</groupId>
  100. <artifactId>jasper</artifactId>
  101. <version>6.0.29</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>junit</groupId>
  106. <artifactId>junit</artifactId>
  107. <version>4.8.1</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.seleniumhq.selenium</groupId>
  112. <artifactId>selenium-htmlunit-driver</artifactId>
  113. <version>2.0a5</version>
  114. <scope>test</scope>
  115. </dependency>
  116. </dependencies>
  117. </project>