Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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-service.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. <!-- Bean Validation API -->
  37. <dependency>
  38. <groupId>javax.validation</groupId>
  39. <artifactId>validation-api</artifactId>
  40. <scope>provided</scope>
  41. <optional>true</optional>
  42. </dependency>
  43. <!-- Sass compiler -->
  44. <dependency>
  45. <groupId>${project.groupId}</groupId>
  46. <artifactId>vaadin-sass-compiler</artifactId>
  47. </dependency>
  48. <!-- LIBRARY DEPENDENCIES (compile time) -->
  49. <!-- Project modules -->
  50. <dependency>
  51. <groupId>${project.groupId}</groupId>
  52. <artifactId>vaadin-shared</artifactId>
  53. <version>${project.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>${project.groupId}</groupId>
  57. <artifactId>vaadin-push</artifactId>
  58. <version>${project.version}</version>
  59. <scope>provided</scope>
  60. </dependency>
  61. <!-- Jsoup for BootstrapHandler -->
  62. <dependency>
  63. <groupId>org.jsoup</groupId>
  64. <artifactId>jsoup</artifactId>
  65. </dependency>
  66. <!-- Small reflection library -->
  67. <dependency>
  68. <groupId>com.googlecode.gentyref</groupId>
  69. <artifactId>gentyref</artifactId>
  70. <version>1.2.0</version>
  71. </dependency>
  72. <!-- TESTING DEPENDENCIES -->
  73. <!-- Test dependencies -->
  74. <dependency>
  75. <groupId>commons-io</groupId>
  76. <artifactId>commons-io</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-lang</groupId>
  81. <artifactId>commons-lang</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.hsqldb</groupId>
  86. <artifactId>hsqldb</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.slf4j</groupId>
  91. <artifactId>slf4j-log4j12</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <!-- For manual testing with PostgreSQL (see SQLTestConstants) -->
  95. <!-- <dependency><groupId>postgresql</groupId><artifactId>postgresql</artifactId><version>9.1-901.jdbc3</version></dependency> -->
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <artifactId>maven-resources-plugin</artifactId>
  101. <executions>
  102. <!-- Copy .java files to package -->
  103. <execution>
  104. <id>copy-sources</id>
  105. <!-- here the phase you need -->
  106. <phase>prepare-package</phase>
  107. <goals>
  108. <goal>copy-resources</goal>
  109. </goals>
  110. <configuration>
  111. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  112. <resources>
  113. <resource>
  114. <directory>src/main/resources</directory>
  115. <filtering>false</filtering>
  116. </resource>
  117. <resource>
  118. <directory>src/main/java</directory>
  119. <filtering>false</filtering>
  120. </resource>
  121. </resources>
  122. </configuration>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-checkstyle-plugin</artifactId>
  129. <executions>
  130. <execution>
  131. <goals>
  132. <goal>checkstyle</goal>
  133. </goals>
  134. <phase>process-sources</phase>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <plugin>
  139. <artifactId>maven-antrun-plugin</artifactId>
  140. <executions>
  141. <execution>
  142. <id>compressbootstrap</id>
  143. <phase>prepare-package</phase>
  144. <goals>
  145. <goal>run</goal>
  146. </goals>
  147. <configuration>
  148. <target>
  149. <property name="vaadinBootstrap.js"
  150. location="${project.build.outputDirectory}/VAADIN/vaadinBootstrap.js" />
  151. <!-- Gzipped version -->
  152. <gzip src="${vaadinBootstrap.js}"
  153. destfile="${vaadinBootstrap.js}.gz" />
  154. </target>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.felix</groupId>
  161. <artifactId>maven-bundle-plugin</artifactId>
  162. <extensions>true</extensions>
  163. <configuration>
  164. <instructions>
  165. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  166. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  167. <Export-Package>VAADIN;version="${osgi.bundle.version}",com.vaadin.*;version="${osgi.bundle.version}"</Export-Package>
  168. <!-- Note that Liferay 6 does not use OSGi, and the dependency is optional for non-Liferay deployments -->
  169. <Import-Package>javax.servlet;version="${osgi.javax.servlet.version}",
  170. javax.servlet.http;version="${osgi.javax.servlet.version}",
  171. javax.validation;version="${javax.validation.version}";resolution:=optional,
  172. org.jsoup;version="${jsoup.version}",
  173. org.jsoup.parser;version="${jsoup.version}",
  174. org.jsoup.nodes;version="${jsoup.version}",
  175. org.jsoup.helper;version="${jsoup.version}",
  176. org.jsoup.safety;version="${jsoup.version}",
  177. org.jsoup.select;version="${jsoup.version}",
  178. javax.portlet;version="[${javax.portlet.version},3)";resolution:=optional,
  179. javax.portlet.filter;version="[${javax.portlet.version},3)";resolution:=optional,
  180. com.liferay.portal.kernel.util;version="[7,8)";resolution:=optional</Import-Package>
  181. <Require-Bundle>
  182. com.vaadin.shared;bundle-version="${osgi.bundle.version}",
  183. com.vaadin.push;bundle-version="${osgi.bundle.version}";resolution:=optional,
  184. com.vaadin.sass-compiler;bundle-version="${vaadin.sass.version}";resolution:=optional</Require-Bundle>
  185. </instructions>
  186. </configuration>
  187. <executions>
  188. <execution>
  189. <id>bundle-manifest</id>
  190. <phase>prepare-package</phase>
  191. <goals>
  192. <goal>manifest</goal>
  193. </goals>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. <plugin>
  198. <groupId>org.apache.maven.plugins</groupId>
  199. <artifactId>maven-jar-plugin</artifactId>
  200. <configuration>
  201. <archive>
  202. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  203. <index>false</index>
  204. <manifest>
  205. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  206. </manifest>
  207. </archive>
  208. </configuration>
  209. <!-- Package src/test into a jar so that compatbility-server
  210. can use the same test classes, e.g. test beans -->
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>test-jar</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-surefire-plugin</artifactId>
  222. </plugin>
  223. </plugins>
  224. </build>
  225. </project>