Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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