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 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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-test</artifactId>
  8. <version>8.1-SNAPSHOT</version>
  9. <relativePath>../..</relativePath>
  10. </parent>
  11. <artifactId>vaadin-test-generic-integration</artifactId>
  12. <name>vaadin-test-generic-integration</name>
  13. <packaging>war</packaging>
  14. <properties>
  15. <osgi.bundle.version>8.0.0</osgi.bundle.version>
  16. <jetty.skip>true</jetty.skip>
  17. </properties>
  18. <dependencies>
  19. <!-- Project modules -->
  20. <dependency>
  21. <groupId>com.vaadin</groupId>
  22. <artifactId>vaadin-compatibility-server</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.vaadin</groupId>
  26. <artifactId>vaadin-compatibility-client-compiled</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.vaadin</groupId>
  30. <artifactId>vaadin-compatibility-themes</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.vaadin</groupId>
  34. <artifactId>vaadin-client-compiled</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.vaadin</groupId>
  38. <artifactId>vaadin-push</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.vaadin</groupId>
  42. <artifactId>vaadin-testbench-api</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <plugins>
  48. <!--TODO run this on different servers -->
  49. <plugin>
  50. <groupId>org.eclipse.jetty</groupId>
  51. <artifactId>jetty-maven-plugin</artifactId>
  52. <version>${jetty.version}</version>
  53. <configuration>
  54. <webApp>
  55. <contextPath>/demo</contextPath>
  56. </webApp>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-deploy-plugin</artifactId>
  61. <configuration>
  62. <skip>true</skip>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <artifactId>maven-surefire-plugin</artifactId>
  67. <configuration>
  68. <skip>true</skip>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <artifactId>maven-failsafe-plugin</artifactId>
  73. <!-- Currently tested using an Ant script. -->
  74. <configuration>
  75. <skip>true</skip>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <artifactId>maven-war-plugin</artifactId>
  80. <configuration>
  81. <archive>
  82. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  83. </archive>
  84. </configuration>
  85. <!-- This execution builds an additional .war file with JBoss
  86. 6 specific descriptor -->
  87. <executions>
  88. <execution>
  89. <id>jboss6-war</id>
  90. <phase>package</phase>
  91. <goals>
  92. <goal>war</goal>
  93. </goals>
  94. <configuration>
  95. <classifier>jboss6</classifier>
  96. <webResources>
  97. <resource>
  98. <directory>src/main/jboss-6</directory>
  99. </resource>
  100. </webResources>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.felix</groupId>
  107. <artifactId>maven-bundle-plugin</artifactId>
  108. <version>3.0.1</version>
  109. <extensions>true</extensions>
  110. <configuration>
  111. <instructions>
  112. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  113. <Bundle-Name>${project.name}</Bundle-Name>
  114. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  115. <Import-Package>javax.servlet,javax.servlet.http,javax.websocket,javax.websocket.server,!com.vaadin.*,*</Import-Package>
  116. <Web-ContextPath>run</Web-ContextPath>
  117. </instructions>
  118. <supportedProjectTypes>
  119. <supportedProjectType>war</supportedProjectType>
  120. </supportedProjectTypes>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <id>osgi-manifest</id>
  125. <phase>process-classes</phase>
  126. <goals>
  127. <goal>manifest</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>