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.

pom.xml 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  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.1.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.vaadin7</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.13.vaadin1</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. <!-- Cannot use 9.3 or 9.4 because they sometimes reset the connection too early in case of errors -->
  42. <jetty.version>9.4.14.v20181114</jetty.version>
  43. <phantomjs.version>2.1.1</phantomjs.version>
  44. </properties>
  45. <repositories>
  46. <repository>
  47. <id>central</id>
  48. <url>https://repo.maven.apache.org/maven2/</url>
  49. <snapshots>
  50. <enabled>false</enabled>
  51. </snapshots>
  52. </repository>
  53. </repositories>
  54. <!-- TODO: remove this after maven plugin has been released -->
  55. <pluginRepositories>
  56. <pluginRepository>
  57. <id>central</id>
  58. <url>https://repo.maven.apache.org/maven2/</url>
  59. <snapshots>
  60. <enabled>false</enabled>
  61. </snapshots>
  62. </pluginRepository>
  63. <pluginRepository>
  64. <id>vaadin-prereleases</id>
  65. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  66. </pluginRepository>
  67. </pluginRepositories>
  68. <organization>
  69. <name>Vaadin Ltd</name>
  70. </organization>
  71. <url>https://vaadin.com/</url>
  72. <description>Vaadin Framework Root Pom</description>
  73. <licenses>
  74. <license>
  75. <name>Apache License Version 2.0</name>
  76. <distribution>repo</distribution>
  77. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  78. </license>
  79. </licenses>
  80. <scm>
  81. <connection>scm:https:https://github.com/vaadin/vaadin.git</connection>
  82. <developerConnection>scm:https:https://github.com/vaadin/vaadin.git</developerConnection>
  83. <url>https://github.com/vaadin/vaadin</url>
  84. </scm>
  85. <modules>
  86. <module>buildhelpers</module>
  87. <module>shared</module>
  88. <module>push</module>
  89. <module>server</module>
  90. <module>client</module>
  91. <module>client-compiler</module>
  92. <module>client-compiled</module>
  93. <module>themes</module>
  94. <module>widgets</module>
  95. <module>uitest</module>
  96. <module>liferay</module>
  97. <module>all</module>
  98. <!-- Nexus staging bug needs the last module to be deployed. -->
  99. <module>bom</module>
  100. </modules>
  101. <build>
  102. <pluginManagement>
  103. <plugins>
  104. <plugin>
  105. <artifactId>maven-clean-plugin</artifactId>
  106. <version>3.0.0</version>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <version>3.5.1</version>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-deploy-plugin</artifactId>
  114. <version>2.8.2</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-install-plugin</artifactId>
  118. <version>2.5.2</version>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-resources-plugin</artifactId>
  122. <!-- Downgraded due to filtering related bug -->
  123. <version>2.6</version>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-site-plugin</artifactId>
  127. <version>3.5</version>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-jar-plugin</artifactId>
  131. <version>2.6</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-assembly-plugin</artifactId>
  135. <version>2.6</version>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-surefire-plugin</artifactId>
  139. <version>2.19.1</version>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-failsafe-plugin</artifactId>
  143. <version>2.19.1</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>com.github.klieber</groupId>
  147. <artifactId>phantomjs-maven-plugin</artifactId>
  148. <version>0.7</version>
  149. </plugin>
  150. <plugin>
  151. <artifactId>maven-antrun-plugin</artifactId>
  152. <version>1.8</version>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.felix</groupId>
  156. <artifactId>maven-bundle-plugin</artifactId>
  157. <version>3.0.1</version>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-dependency-plugin</artifactId>
  162. <version>2.10</version>
  163. <configuration>
  164. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  165. <overWriteReleases>false</overWriteReleases>
  166. <overWriteSnapshots>true</overWriteSnapshots>
  167. </configuration>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.codehaus.mojo</groupId>
  171. <artifactId>exec-maven-plugin</artifactId>
  172. <version>1.4.0</version>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.codehaus.mojo</groupId>
  176. <artifactId>versions-maven-plugin</artifactId>
  177. <version>2.3</version>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.codehaus.mojo</groupId>
  181. <artifactId>build-helper-maven-plugin</artifactId>
  182. <version>1.10</version>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-source-plugin</artifactId>
  186. <version>3.0.0</version>
  187. </plugin>
  188. <plugin>
  189. <groupId>com.vaadin</groupId>
  190. <artifactId>vaadin-maven-plugin</artifactId>
  191. <version>${vaadin.plugin.version}</version>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-checkstyle-plugin</artifactId>
  196. <version>2.17</version>
  197. <dependencies>
  198. <!-- Needed because of a JavadocMethodCheck bug in
  199. 6.11 -->
  200. <dependency>
  201. <groupId>com.puppycrawl.tools</groupId>
  202. <artifactId>checkstyle</artifactId>
  203. <version>6.17</version>
  204. </dependency>
  205. </dependencies>
  206. <configuration>
  207. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  208. <headerLocation>../checkstyle/header</headerLocation>
  209. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  210. <encoding>UTF-8</encoding>
  211. <consoleOutput>false</consoleOutput>
  212. <failsOnError>false</failsOnError>
  213. <linkXRef>false</linkXRef>
  214. </configuration>
  215. </plugin>
  216. <plugin>
  217. <groupId>org.codehaus.mojo</groupId>
  218. <artifactId>animal-sniffer-maven-plugin</artifactId>
  219. <version>1.15</version>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.eclipse.m2e</groupId>
  223. <artifactId>lifecycle-mapping</artifactId>
  224. <version>1.0.0</version>
  225. <configuration>
  226. <lifecycleMappingMetadata>
  227. <pluginExecutions>
  228. <pluginExecution>
  229. <pluginExecutionFilter>
  230. <groupId>
  231. org.apache.maven.plugins
  232. </groupId>
  233. <artifactId>
  234. maven-antrun-plugin
  235. </artifactId>
  236. <versionRange>
  237. [1.8,)
  238. </versionRange>
  239. <goals>
  240. <goal>run</goal>
  241. </goals>
  242. </pluginExecutionFilter>
  243. <action>
  244. <ignore></ignore>
  245. </action>
  246. </pluginExecution>
  247. </pluginExecutions>
  248. </lifecycleMappingMetadata>
  249. </configuration>
  250. </plugin>
  251. </plugins>
  252. </pluginManagement>
  253. <plugins>
  254. <plugin>
  255. <groupId>org.codehaus.mojo</groupId>
  256. <artifactId>build-helper-maven-plugin</artifactId>
  257. <version>1.8</version>
  258. <executions>
  259. <execution>
  260. <id>parse-version</id>
  261. <goals>
  262. <goal>parse-version</goal>
  263. </goals>
  264. </execution>
  265. </executions>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.codehaus.mojo</groupId>
  269. <artifactId>animal-sniffer-maven-plugin</artifactId>
  270. <executions>
  271. <execution>
  272. <id>java6compatibility</id>
  273. <phase>test</phase>
  274. <goals>
  275. <goal>check</goal>
  276. </goals>
  277. <configuration>
  278. <signature>
  279. <groupId>org.codehaus.mojo.signature</groupId>
  280. <artifactId>java16</artifactId>
  281. <version>1.0</version>
  282. </signature>
  283. <ignores>
  284. <ignore>com.google.gwt.*</ignore>
  285. </ignores>
  286. </configuration>
  287. </execution>
  288. </executions>
  289. </plugin>
  290. <!-- Unpacked Dependencies as resource -->
  291. <plugin>
  292. <groupId>org.codehaus.mojo</groupId>
  293. <artifactId>build-helper-maven-plugin</artifactId>
  294. <!-- Needs extra resource folder for unpacked dependencies -->
  295. <executions>
  296. <execution>
  297. <id>add-dependency-resources</id>
  298. <phase>generate-resources</phase>
  299. <goals>
  300. <goal>add-resource</goal>
  301. </goals>
  302. <configuration>
  303. <resources>
  304. <resource>
  305. <directory>${dependency.unpack.directory}</directory>
  306. <filtering>false</filtering>
  307. </resource>
  308. </resources>
  309. </configuration>
  310. </execution>
  311. </executions>
  312. </plugin>
  313. </plugins>
  314. </build>
  315. <profiles>
  316. <profile>
  317. <id>slowtest</id>
  318. <modules>
  319. <module>test</module>
  320. </modules>
  321. </profile>
  322. <profile>
  323. <!-- Snapshot build only builds artifacts that are deployed or
  324. needed by them -->
  325. <id>snapshot</id>
  326. <properties>
  327. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  328. </properties>
  329. <build>
  330. <plugins>
  331. <plugin>
  332. <artifactId>maven-source-plugin</artifactId>
  333. <executions>
  334. <execution>
  335. <id>sources-jar</id>
  336. <phase>package</phase>
  337. <goals>
  338. <goal>jar</goal>
  339. </goals>
  340. <configuration>
  341. <!-- Only include java files -->
  342. <includes>
  343. <include>**/*.java</include>
  344. </includes>
  345. </configuration>
  346. </execution>
  347. </executions>
  348. </plugin>
  349. <plugin>
  350. <artifactId>maven-javadoc-plugin</artifactId>
  351. <version>2.10.3</version>
  352. <executions>
  353. <execution>
  354. <id>generate-javadoc</id>
  355. <goals>
  356. <goal>jar</goal>
  357. </goals>
  358. <configuration>
  359. <failOnError>false</failOnError>
  360. </configuration>
  361. </execution>
  362. </executions>
  363. </plugin>
  364. </plugins>
  365. </build>
  366. </profile>
  367. <profile>
  368. <id>release</id>
  369. <activation>
  370. <activeByDefault>false</activeByDefault>
  371. </activation>
  372. <properties>
  373. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  374. </properties>
  375. <build>
  376. <plugins>
  377. <plugin>
  378. <artifactId>maven-source-plugin</artifactId>
  379. <executions>
  380. <execution>
  381. <id>sources-jar</id>
  382. <phase>package</phase>
  383. <goals>
  384. <goal>jar</goal>
  385. </goals>
  386. <configuration>
  387. <!-- Only include java files -->
  388. <includes>
  389. <include>**/*.java</include>
  390. </includes>
  391. </configuration>
  392. </execution>
  393. </executions>
  394. </plugin>
  395. <plugin>
  396. <artifactId>maven-javadoc-plugin</artifactId>
  397. <version>2.10.3</version>
  398. <executions>
  399. <execution>
  400. <id>generate-javadoc</id>
  401. <goals>
  402. <goal>jar</goal>
  403. </goals>
  404. <configuration>
  405. <failOnError>false</failOnError>
  406. </configuration>
  407. </execution>
  408. </executions>
  409. </plugin>
  410. <plugin>
  411. <groupId>org.sonatype.plugins</groupId>
  412. <artifactId>nexus-staging-maven-plugin</artifactId>
  413. <version>1.6.7</version>
  414. <extensions>true</extensions>
  415. </plugin>
  416. </plugins>
  417. </build>
  418. </profile>
  419. <profile>
  420. <!-- This profile is disjoint with default profile. It allows
  421. to prevent running build for all available modules but restricts a number
  422. of modules to specified here only (which allows to avoid long time compilation
  423. for projects that are not needed since japicmp works with compiled classes).
  424. ! -->
  425. <id>apicmp</id>
  426. <modules>
  427. <module>server</module>
  428. <module>push</module>
  429. <module>client</module>
  430. <module>client-compiler</module>
  431. <module>shared</module>
  432. </modules>
  433. <repositories>
  434. <repository>
  435. <id>vaadin-prereleases</id>
  436. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  437. </repository>
  438. </repositories>
  439. <build>
  440. <plugins>
  441. <plugin>
  442. <groupId>com.github.siom79.japicmp</groupId>
  443. <artifactId>japicmp-maven-plugin</artifactId>
  444. <version>0.9.1</version>
  445. <configuration>
  446. <oldVersion>
  447. <dependency>
  448. <groupId>${project.groupId}</groupId>
  449. <artifactId>${project.artifactId}</artifactId>
  450. <version>${vaadin.api.reference.version}</version>
  451. <type>jar</type>
  452. </dependency>
  453. </oldVersion>
  454. <newVersion>
  455. <file>
  456. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  457. </file>
  458. </newVersion>
  459. <parameter>
  460. <ignoreMissingClasses>true</ignoreMissingClasses>
  461. <onlyModified>true</onlyModified>
  462. <skipDiffReport>true</skipDiffReport>
  463. <skipXmlReport>true</skipXmlReport>
  464. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  465. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  466. </parameter>
  467. </configuration>
  468. <executions>
  469. <execution>
  470. <phase>verify</phase>
  471. <goals>
  472. <goal>cmp</goal>
  473. </goals>
  474. </execution>
  475. </executions>
  476. </plugin>
  477. </plugins>
  478. </build>
  479. </profile>
  480. </profiles>
  481. </project>