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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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.5-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>com.liferay.portal.kernel</artifactId>
  21. <version>${liferay.portal-kernel.version}</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. <!-- Liferay 6 -->
  25. <dependency>
  26. <groupId>com.liferay.portal</groupId>
  27. <artifactId>portal-service</artifactId>
  28. <version>${liferay.portal-service.version}</version>
  29. <scope>provided</scope>
  30. </dependency>
  31. <!--Servlet API -->
  32. <dependency>
  33. <groupId>javax.servlet</groupId>
  34. <artifactId>javax.servlet-api</artifactId>
  35. <scope>provided</scope>
  36. </dependency>
  37. <!--Portlet API -->
  38. <dependency>
  39. <groupId>javax.portlet</groupId>
  40. <artifactId>portlet-api</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.googlecode</groupId>
  45. <artifactId>openbeans</artifactId>
  46. </dependency>
  47. <!-- Bean Validation API -->
  48. <dependency>
  49. <groupId>javax.validation</groupId>
  50. <artifactId>validation-api</artifactId>
  51. <scope>provided</scope>
  52. <optional>true</optional>
  53. </dependency>
  54. <!-- Sass compiler -->
  55. <dependency>
  56. <groupId>${project.groupId}</groupId>
  57. <artifactId>vaadin-sass-compiler</artifactId>
  58. </dependency>
  59. <!-- LIBRARY DEPENDENCIES (compile time) -->
  60. <!-- Project modules -->
  61. <dependency>
  62. <groupId>${project.groupId}</groupId>
  63. <artifactId>vaadin-shared</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>${project.groupId}</groupId>
  68. <artifactId>vaadin-push</artifactId>
  69. <version>${project.version}</version>
  70. <scope>provided</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.vaadin</groupId>
  74. <artifactId>vaadin-icons</artifactId>
  75. </dependency>
  76. <!-- Jsoup for BootstrapHandler -->
  77. <dependency>
  78. <groupId>org.jsoup</groupId>
  79. <artifactId>jsoup</artifactId>
  80. </dependency>
  81. <!-- Small reflection library -->
  82. <dependency>
  83. <groupId>com.vaadin.external</groupId>
  84. <artifactId>gentyref</artifactId>
  85. <version>1.2.0.vaadin1</version>
  86. </dependency>
  87. <!-- OSGi API -->
  88. <dependency>
  89. <groupId>org.osgi</groupId>
  90. <artifactId>osgi.core</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.osgi</groupId>
  94. <artifactId>osgi.cmpn</artifactId>
  95. </dependency>
  96. <!-- TESTING DEPENDENCIES -->
  97. <!-- Test dependencies -->
  98. <dependency>
  99. <groupId>commons-io</groupId>
  100. <artifactId>commons-io</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-lang</groupId>
  105. <artifactId>commons-lang</artifactId>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.hsqldb</groupId>
  110. <artifactId>hsqldb</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-log4j12</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.reflections</groupId>
  120. <artifactId>reflections</artifactId>
  121. <version>0.9.11</version>
  122. <scope>test</scope>
  123. </dependency>
  124. <!-- For manual testing with PostgreSQL (see SQLTestConstants) -->
  125. <!-- <dependency><groupId>postgresql</groupId><artifactId>postgresql</artifactId><version>9.1-901.jdbc3</version></dependency> -->
  126. </dependencies>
  127. <build>
  128. <plugins>
  129. <plugin>
  130. <groupId>net.revelc.code.formatter</groupId>
  131. <artifactId>formatter-maven-plugin</artifactId>
  132. </plugin>
  133. <plugin>
  134. <groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
  135. <artifactId>whitespace-maven-plugin</artifactId>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-dependency-plugin</artifactId>
  140. <executions>
  141. <execution>
  142. <id>copy-font-icons</id>
  143. <phase>generate-sources</phase>
  144. <goals>
  145. <goal>unpack-dependencies</goal>
  146. </goals>
  147. <!-- VaadinIcons.java file -->
  148. <configuration>
  149. <includeGroupIds>com.vaadin</includeGroupIds>
  150. <includeArtifactIds>vaadin-icons</includeArtifactIds>
  151. <excludeTransitive>true</excludeTransitive>
  152. <includes>com/vaadin/icons/VaadinIcons.java</includes>
  153. <overWrite>true</overWrite>
  154. <outputDirectory>${project.build.directory}/vaadin-icons</outputDirectory>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.codehaus.mojo</groupId>
  161. <artifactId>build-helper-maven-plugin</artifactId>
  162. <executions>
  163. <execution>
  164. <id>add-source</id>
  165. <phase>generate-sources</phase>
  166. <goals>
  167. <goal>add-source</goal>
  168. </goals>
  169. <configuration>
  170. <sources>
  171. <source>${project.build.directory}/vaadin-icons</source>
  172. </sources>
  173. </configuration>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. <plugin>
  178. <artifactId>maven-resources-plugin</artifactId>
  179. <executions>
  180. <!-- Copy .java files to package -->
  181. <execution>
  182. <id>copy-sources</id>
  183. <!-- here the phase you need -->
  184. <phase>process-resources</phase>
  185. <goals>
  186. <goal>copy-resources</goal>
  187. </goals>
  188. <configuration>
  189. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  190. <resources>
  191. <resource>
  192. <directory>src/main/resources</directory>
  193. <filtering>false</filtering>
  194. </resource>
  195. <resource>
  196. <directory>src/main/java</directory>
  197. <filtering>false</filtering>
  198. </resource>
  199. <resource>
  200. <directory>${project.build.directory}/vaadin-icons</directory>
  201. <filtering>false</filtering>
  202. </resource>
  203. </resources>
  204. </configuration>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-checkstyle-plugin</artifactId>
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>checkstyle</goal>
  215. </goals>
  216. <phase>process-sources</phase>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. <plugin>
  221. <artifactId>maven-antrun-plugin</artifactId>
  222. <executions>
  223. <execution>
  224. <id>compressbootstrap</id>
  225. <phase>prepare-package</phase>
  226. <goals>
  227. <goal>run</goal>
  228. </goals>
  229. <configuration>
  230. <target>
  231. <property name="vaadinBootstrap.js"
  232. location="${project.build.outputDirectory}/VAADIN/vaadinBootstrap.js" />
  233. <!-- Gzipped version -->
  234. <gzip src="${vaadinBootstrap.js}"
  235. destfile="${vaadinBootstrap.js}.gz" />
  236. </target>
  237. </configuration>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. <plugin>
  242. <groupId>biz.aQute.bnd</groupId>
  243. <artifactId>bnd-maven-plugin</artifactId>
  244. </plugin>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-jar-plugin</artifactId>
  248. <configuration>
  249. <archive>
  250. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  251. <index>false</index>
  252. <manifest>
  253. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  254. </manifest>
  255. </archive>
  256. </configuration>
  257. <!-- Package src/test into a jar so that compatbility-server
  258. can use the same test classes, e.g. test beans -->
  259. <executions>
  260. <execution>
  261. <goals>
  262. <goal>test-jar</goal>
  263. </goals>
  264. </execution>
  265. </executions>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-surefire-plugin</artifactId>
  270. </plugin>
  271. </plugins>
  272. <pluginManagement>
  273. <plugins>
  274. <!-- Make Eclipse add the source folder -->
  275. <plugin>
  276. <groupId>org.eclipse.m2e</groupId>
  277. <artifactId>lifecycle-mapping</artifactId>
  278. <version>1.0.0</version>
  279. <configuration>
  280. <lifecycleMappingMetadata>
  281. <pluginExecutions>
  282. <pluginExecution>
  283. <pluginExecutionFilter>
  284. <groupId>org.codehaus.mojo</groupId>
  285. <artifactId>build-helper-maven-plugin</artifactId>
  286. <versionRange>[1.0,)</versionRange>
  287. <goals>
  288. <goal>add-source</goal>
  289. <!--
  290. <goal>add-test-source</goal>
  291. <goal>add-resource</goal>
  292. <goal>add-test-resource</goal>
  293. <goal>maven-version</goal>
  294. <goal>parse-version</goal>
  295. -->
  296. </goals>
  297. </pluginExecutionFilter>
  298. <action>
  299. <execute>
  300. <runOnConfiguration>true</runOnConfiguration>
  301. <!-- <runOnIncremental>true</runOnIncremental> -->
  302. </execute>
  303. </action>
  304. </pluginExecution>
  305. </pluginExecutions>
  306. </lifecycleMappingMetadata>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </pluginManagement>
  311. </build>
  312. </project>