You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.vaadin</groupId>
  7. <artifactId>vaadin-servlet-containers-test</artifactId>
  8. <version>8.10-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-test-glassfish-server</artifactId>
  11. <name>Vaadin Glassfish Test</name>
  12. <packaging>war</packaging>
  13. <properties>
  14. <jetty.skip>true</jetty.skip>
  15. <glassfish.version>4.1.2.173</glassfish.version>
  16. <server.name>glassfish</server.name>
  17. </properties>
  18. <dependencies>
  19. <!-- UI classes and tests from dependencies -->
  20. <dependency>
  21. <groupId>com.vaadin</groupId>
  22. <artifactId>vaadin-test-server-ui</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.vaadin</groupId>
  27. <artifactId>vaadin-test-server-tests</artifactId>
  28. <version>${project.version}</version>
  29. <scope>test</scope>
  30. </dependency>
  31. </dependencies>
  32. <build>
  33. <plugins>
  34. <!-- Server configuration -->
  35. <plugin>
  36. <groupId>org.glassfish.embedded</groupId>
  37. <artifactId>maven-embedded-glassfish-plugin</artifactId>
  38. <version>4.1.1</version>
  39. <executions>
  40. <execution>
  41. <id>start-glassfish</id>
  42. <phase>pre-integration-test</phase>
  43. <goals>
  44. <goal>start</goal>
  45. <goal>deploy</goal>
  46. </goals>
  47. </execution>
  48. <execution>
  49. <id>stop-glassfish</id>
  50. <phase>post-integration-test</phase>
  51. <goals>
  52. <goal>stop</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. <configuration>
  57. <port>8080</port>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>