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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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-root</artifactId>
  8. <version>8.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-server</artifactId>
  11. <name>vaadin-server</name>
  12. <packaging>jar</packaging>
  13. <url>https://vaadin.com/</url>
  14. <description>Vaadin server</description>
  15. <dependencies>
  16. <!-- API DEPENDENCIES -->
  17. <!-- Liferay Portal Service -->
  18. <dependency>
  19. <groupId>com.liferay.portal</groupId>
  20. <artifactId>portal-service</artifactId>
  21. <version>${liferay.portal.version}</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. <!--Servlet API -->
  25. <dependency>
  26. <groupId>javax.servlet</groupId>
  27. <artifactId>javax.servlet-api</artifactId>
  28. <scope>provided</scope>
  29. </dependency>
  30. <!--Portlet API -->
  31. <dependency>
  32. <groupId>javax.portlet</groupId>
  33. <artifactId>portlet-api</artifactId>
  34. <scope>provided</scope>
  35. </dependency>
  36. <!-- Google App Engine -->
  37. <dependency>
  38. <groupId>com.google.appengine</groupId>
  39. <artifactId>appengine-api-1.0-sdk</artifactId>
  40. <scope>provided</scope>
  41. </dependency>
  42. <!-- Bean Validation API -->
  43. <dependency>
  44. <groupId>javax.validation</groupId>
  45. <artifactId>validation-api</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <!-- Sass compiler -->
  49. <dependency>
  50. <groupId>${project.groupId}</groupId>
  51. <artifactId>vaadin-sass-compiler</artifactId>
  52. </dependency>
  53. <!-- LIBRARY DEPENDENCIES (compile time) -->
  54. <!-- Project modules -->
  55. <dependency>
  56. <groupId>${project.groupId}</groupId>
  57. <artifactId>vaadin-shared</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>${project.groupId}</groupId>
  62. <artifactId>vaadin-push</artifactId>
  63. <version>${project.version}</version>
  64. <scope>provided</scope>
  65. </dependency>
  66. <!-- Jsoup for BootstrapHandler -->
  67. <dependency>
  68. <groupId>org.jsoup</groupId>
  69. <artifactId>jsoup</artifactId>
  70. </dependency>
  71. <!-- TESTING DEPENDENCIES -->
  72. <!-- Test dependencies -->
  73. <dependency>
  74. <groupId>commons-io</groupId>
  75. <artifactId>commons-io</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-lang</groupId>
  80. <artifactId>commons-lang</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.hsqldb</groupId>
  85. <artifactId>hsqldb</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-log4j12</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <!-- For manual testing with PostgreSQL (see SQLTestConstants) -->
  94. <!-- <dependency><groupId>postgresql</groupId><artifactId>postgresql</artifactId><version>9.1-901.jdbc3</version></dependency> -->
  95. </dependencies>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <artifactId>maven-resources-plugin</artifactId>
  100. <executions>
  101. <!-- Copy .java files to package -->
  102. <execution>
  103. <id>copy-sources</id>
  104. <!-- here the phase you need -->
  105. <phase>prepare-package</phase>
  106. <goals>
  107. <goal>copy-resources</goal>
  108. </goals>
  109. <configuration>
  110. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  111. <resources>
  112. <resource>
  113. <directory>src/main/resources</directory>
  114. <filtering>false</filtering>
  115. </resource>
  116. <resource>
  117. <directory>src/main/java</directory>
  118. <filtering>false</filtering>
  119. </resource>
  120. </resources>
  121. </configuration>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-checkstyle-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>checkstyle</goal>
  132. </goals>
  133. <phase>process-sources</phase>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-antrun-plugin</artifactId>
  139. <executions>
  140. <execution>
  141. <id>compressbootstrap</id>
  142. <phase>prepare-package</phase>
  143. <goals>
  144. <goal>run</goal>
  145. </goals>
  146. <configuration>
  147. <target>
  148. <property name="vaadinBootstrap.js"
  149. location="${project.build.outputDirectory}/VAADIN/vaadinBootstrap.js" />
  150. <!-- Gzipped version -->
  151. <gzip src="${vaadinBootstrap.js}" destfile="${vaadinBootstrap.js}.gz" />
  152. </target>
  153. </configuration>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.felix</groupId>
  159. <artifactId>maven-bundle-plugin</artifactId>
  160. <extensions>true</extensions>
  161. <configuration>
  162. <instructions>
  163. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  164. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  165. <Export-Package>com.vaadin.*;version="${osgi.bundle.version}"</Export-Package>
  166. <Import-Package>javax.servlet;version="${osgi.javax.servlet.version}",
  167. javax.servlet.http;version="${osgi.javax.servlet.version}",
  168. javax.validation;version="${javax.validation.version}";resolution:=optional,
  169. org.jsoup;version="${jsoup.version}",
  170. org.jsoup.parser;version="${jsoup.version}",
  171. org.jsoup.nodes;version="${jsoup.version}",
  172. org.jsoup.helper;version="${jsoup.version}",
  173. org.jsoup.safety;version="${jsoup.version}",
  174. org.jsoup.select;version="${jsoup.version}",
  175. javax.portlet;version="[${javax.portlet.version},3)";resolution:=optional,
  176. javax.portlet.filter;version="[${javax.portlet.version},3)";resolution:=optional,
  177. com.liferay.portal.kernel.util;resolution:=optional</Import-Package>
  178. <Require-Bundle>
  179. com.vaadin.shared;bundle-version="${osgi.bundle.version}",
  180. com.vaadin.push;bundle-version="${osgi.bundle.version}";resolution:=optional,
  181. com.vaadin.sass-compiler;bundle-version="${vaadin.sass.version}";resolution:=optional</Require-Bundle>
  182. </instructions>
  183. </configuration>
  184. <executions>
  185. <execution>
  186. <id>bundle-manifest</id>
  187. <phase>prepare-package</phase>
  188. <goals>
  189. <goal>manifest</goal>
  190. </goals>
  191. </execution>
  192. </executions>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-jar-plugin</artifactId>
  197. <configuration>
  198. <archive>
  199. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  200. <index>false</index>
  201. <manifest>
  202. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  203. </manifest>
  204. </archive>
  205. </configuration>
  206. </plugin>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-surefire-plugin</artifactId>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </project>