Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pom.xml 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  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-parent</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>vaadin-root</artifactId>
  11. <name>vaadin-root</name>
  12. <packaging>pom</packaging>
  13. <version>7.7-SNAPSHOT</version>
  14. <prerequisites>
  15. <maven>3.1.0</maven>
  16. </prerequisites>
  17. <properties>
  18. <maven.compiler.source>1.6</maven.compiler.source>
  19. <maven.compiler.target>1.6</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <!-- Used version numbers for dependencies -->
  23. <commons-io.version>2.4</commons-io.version>
  24. <google.appengine.version>1.7.7</google.appengine.version>
  25. <jsoup.version>1.8.3</jsoup.version>
  26. <liferay.portal.version>6.0.2</liferay.portal.version>
  27. <vaadin.sass.version>0.9.13</vaadin.sass.version>
  28. <vaadin.gwt.version>2.7.0.vaadin4</vaadin.gwt.version>
  29. <vaadin.plugin.version>7.7.0</vaadin.plugin.version>
  30. <javax.portlet.version>2.0</javax.portlet.version>
  31. <javax.servlet.version>3.0.1</javax.servlet.version>
  32. <javax.validation.version>1.0.0.GA</javax.validation.version>
  33. <!-- Test dependencies -->
  34. <junit.version>4.11</junit.version>
  35. <!-- Atmosphere versions -->
  36. <!-- Note that this should be kept in sync with the class Constants -->
  37. <atmosphere.runtime.version>2.2.9.vaadin2</atmosphere.runtime.version>
  38. <atmosphere.js.version>2.2.13.vaadin5</atmosphere.js.version>
  39. <!-- Dependency unpack directory -->
  40. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  41. <jetty.version>9.3.7.v20160115</jetty.version>
  42. <phantomjs.version>2.1.1</phantomjs.version>
  43. </properties>
  44. <!-- TODO: remove this after maven plugin has been released -->
  45. <pluginRepositories>
  46. <pluginRepository>
  47. <id>vaadin-prereleases</id>
  48. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  49. </pluginRepository>
  50. </pluginRepositories>
  51. <organization>
  52. <name>Vaadin Ltd</name>
  53. </organization>
  54. <url>https://vaadin.com/</url>
  55. <description>Vaadin Framework Root Pom</description>
  56. <licenses>
  57. <license>
  58. <name>Apache License Version 2.0</name>
  59. <distribution>repo</distribution>
  60. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  61. </license>
  62. </licenses>
  63. <scm>
  64. <connection>scm:https:https://github.com/vaadin/vaadin.git</connection>
  65. <developerConnection>scm:https:https://github.com/vaadin/vaadin.git</developerConnection>
  66. <url>https://github.com/vaadin/vaadin</url>
  67. </scm>
  68. <modules>
  69. <module>buildhelpers</module>
  70. <module>shared</module>
  71. <module>push</module>
  72. <module>server</module>
  73. <module>client</module>
  74. <module>client-compiler</module>
  75. <module>client-compiled</module>
  76. <module>themes</module>
  77. <module>widgets</module>
  78. <module>uitest</module>
  79. <module>liferay</module>
  80. <module>all</module>
  81. <!-- Nexus staging bug needs the last module to be deployed. -->
  82. <module>bom</module>
  83. </modules>
  84. <build>
  85. <pluginManagement>
  86. <plugins>
  87. <plugin>
  88. <artifactId>maven-clean-plugin</artifactId>
  89. <version>3.0.0</version>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-compiler-plugin</artifactId>
  93. <version>3.5.1</version>
  94. </plugin>
  95. <plugin>
  96. <artifactId>maven-deploy-plugin</artifactId>
  97. <version>2.8.2</version>
  98. </plugin>
  99. <plugin>
  100. <artifactId>maven-install-plugin</artifactId>
  101. <version>2.5.2</version>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-resources-plugin</artifactId>
  105. <!-- Downgraded due to filtering related bug -->
  106. <version>2.6</version>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-site-plugin</artifactId>
  110. <version>3.5</version>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-jar-plugin</artifactId>
  114. <version>2.6</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-assembly-plugin</artifactId>
  118. <version>2.6</version>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-surefire-plugin</artifactId>
  122. <version>2.19.1</version>
  123. </plugin>
  124. <plugin>
  125. <artifactId>maven-failsafe-plugin</artifactId>
  126. <version>2.19.1</version>
  127. </plugin>
  128. <plugin>
  129. <groupId>com.github.klieber</groupId>
  130. <artifactId>phantomjs-maven-plugin</artifactId>
  131. <version>0.7</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-antrun-plugin</artifactId>
  135. <version>1.8</version>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.felix</groupId>
  139. <artifactId>maven-bundle-plugin</artifactId>
  140. <version>3.0.1</version>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-dependency-plugin</artifactId>
  145. <version>2.10</version>
  146. <configuration>
  147. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  148. <overWriteReleases>false</overWriteReleases>
  149. <overWriteSnapshots>true</overWriteSnapshots>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.codehaus.mojo</groupId>
  154. <artifactId>exec-maven-plugin</artifactId>
  155. <version>1.4.0</version>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.codehaus.mojo</groupId>
  159. <artifactId>versions-maven-plugin</artifactId>
  160. <version>2.3</version>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.codehaus.mojo</groupId>
  164. <artifactId>build-helper-maven-plugin</artifactId>
  165. <version>1.10</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-source-plugin</artifactId>
  169. <version>3.0.0</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>com.vaadin</groupId>
  173. <artifactId>vaadin-maven-plugin</artifactId>
  174. <version>${vaadin.plugin.version}</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-checkstyle-plugin</artifactId>
  179. <version>2.17</version>
  180. <dependencies>
  181. <!-- Needed because of a JavadocMethodCheck bug in
  182. 6.11 -->
  183. <dependency>
  184. <groupId>com.puppycrawl.tools</groupId>
  185. <artifactId>checkstyle</artifactId>
  186. <version>6.17</version>
  187. </dependency>
  188. </dependencies>
  189. <configuration>
  190. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  191. <headerLocation>../checkstyle/header</headerLocation>
  192. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  193. <encoding>UTF-8</encoding>
  194. <consoleOutput>false</consoleOutput>
  195. <failsOnError>false</failsOnError>
  196. <linkXRef>false</linkXRef>
  197. </configuration>
  198. </plugin>
  199. <plugin>
  200. <groupId>org.codehaus.mojo</groupId>
  201. <artifactId>animal-sniffer-maven-plugin</artifactId>
  202. <version>1.15</version>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.eclipse.m2e</groupId>
  206. <artifactId>lifecycle-mapping</artifactId>
  207. <version>1.0.0</version>
  208. <configuration>
  209. <lifecycleMappingMetadata>
  210. <pluginExecutions>
  211. <pluginExecution>
  212. <pluginExecutionFilter>
  213. <groupId>
  214. org.apache.maven.plugins
  215. </groupId>
  216. <artifactId>
  217. maven-antrun-plugin
  218. </artifactId>
  219. <versionRange>
  220. [1.8,)
  221. </versionRange>
  222. <goals>
  223. <goal>run</goal>
  224. </goals>
  225. </pluginExecutionFilter>
  226. <action>
  227. <ignore></ignore>
  228. </action>
  229. </pluginExecution>
  230. </pluginExecutions>
  231. </lifecycleMappingMetadata>
  232. </configuration>
  233. </plugin>
  234. </plugins>
  235. </pluginManagement>
  236. <plugins>
  237. <plugin>
  238. <groupId>org.codehaus.mojo</groupId>
  239. <artifactId>build-helper-maven-plugin</artifactId>
  240. <version>1.8</version>
  241. <executions>
  242. <execution>
  243. <id>parse-version</id>
  244. <goals>
  245. <goal>parse-version</goal>
  246. </goals>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.codehaus.mojo</groupId>
  252. <artifactId>animal-sniffer-maven-plugin</artifactId>
  253. <executions>
  254. <execution>
  255. <id>java6compatibility</id>
  256. <phase>test</phase>
  257. <goals>
  258. <goal>check</goal>
  259. </goals>
  260. <configuration>
  261. <signature>
  262. <groupId>org.codehaus.mojo.signature</groupId>
  263. <artifactId>java16</artifactId>
  264. <version>1.0</version>
  265. </signature>
  266. <ignores>
  267. <ignore>com.google.gwt.*</ignore>
  268. </ignores>
  269. </configuration>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <!-- Unpacked Dependencies as resource -->
  274. <plugin>
  275. <groupId>org.codehaus.mojo</groupId>
  276. <artifactId>build-helper-maven-plugin</artifactId>
  277. <!-- Needs extra resource folder for unpacked dependencies -->
  278. <executions>
  279. <execution>
  280. <id>add-dependency-resources</id>
  281. <phase>generate-resources</phase>
  282. <goals>
  283. <goal>add-resource</goal>
  284. </goals>
  285. <configuration>
  286. <resources>
  287. <resource>
  288. <directory>${dependency.unpack.directory}</directory>
  289. <filtering>false</filtering>
  290. </resource>
  291. </resources>
  292. </configuration>
  293. </execution>
  294. </executions>
  295. </plugin>
  296. </plugins>
  297. </build>
  298. <profiles>
  299. <profile>
  300. <id>slowtest</id>
  301. <modules>
  302. <module>test</module>
  303. </modules>
  304. </profile>
  305. <profile>
  306. <id>release</id>
  307. <activation>
  308. <activeByDefault>false</activeByDefault>
  309. </activation>
  310. <properties>
  311. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  312. </properties>
  313. <build>
  314. <plugins>
  315. <plugin>
  316. <artifactId>maven-source-plugin</artifactId>
  317. <executions>
  318. <execution>
  319. <id>sources-jar</id>
  320. <phase>package</phase>
  321. <goals>
  322. <goal>jar</goal>
  323. </goals>
  324. <configuration>
  325. <!-- Only include java files -->
  326. <includes>
  327. <include>**/*.java</include>
  328. </includes>
  329. </configuration>
  330. </execution>
  331. </executions>
  332. </plugin>
  333. <plugin>
  334. <artifactId>maven-javadoc-plugin</artifactId>
  335. <version>2.10.3</version>
  336. <executions>
  337. <execution>
  338. <id>generate-javadoc</id>
  339. <goals>
  340. <goal>jar</goal>
  341. </goals>
  342. <configuration>
  343. <failOnError>false</failOnError>
  344. </configuration>
  345. </execution>
  346. </executions>
  347. </plugin>
  348. <plugin>
  349. <groupId>org.sonatype.plugins</groupId>
  350. <artifactId>nexus-staging-maven-plugin</artifactId>
  351. <version>1.6.7</version>
  352. <extensions>true</extensions>
  353. </plugin>
  354. </plugins>
  355. </build>
  356. </profile>
  357. </profiles>
  358. </project>