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 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  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>8.0-SNAPSHOT</version>
  14. <prerequisites>
  15. <maven>3.0.5</maven>
  16. </prerequisites>
  17. <properties>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <!-- Used version numbers for dependencies -->
  22. <liferay.portal.version>6.0.2</liferay.portal.version>
  23. <jetty.version>9.3.9.v20160517</jetty.version>
  24. <vaadin.gwt.version>2.8.0-rc2</vaadin.gwt.version>
  25. <vaadin.plugin.version>8.0-SNAPSHOT</vaadin.plugin.version>
  26. <!-- Used in OSGi manifests -->
  27. <javax.validation.version>1.0.0.GA</javax.validation.version>
  28. <jsoup.version>1.8.3</jsoup.version>
  29. <javax.portlet.version>2.0</javax.portlet.version>
  30. <vaadin.sass.version>0.9.13</vaadin.sass.version>
  31. <!-- Note that this should be kept in sync with the class Constants -->
  32. <atmosphere.runtime.version>2.4.5.vaadin1</atmosphere.runtime.version>
  33. <!-- OSGi -->
  34. <osgi.javax.servlet.version>3.0.0</osgi.javax.servlet.version>
  35. <osgi.execution.environment>JavaSE-1.8</osgi.execution.environment>
  36. <osgi.bundle.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.bundle.version>
  37. <!-- Dependency unpack directory -->
  38. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  39. </properties>
  40. <!-- TODO: remove this after maven plugin has been released -->
  41. <pluginRepositories>
  42. <pluginRepository>
  43. <id>vaadin-prereleases</id>
  44. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  45. </pluginRepository>
  46. <pluginRepository>
  47. <id>vaadin-snapshots</id>
  48. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  49. <releases>
  50. <enabled>false</enabled>
  51. </releases>
  52. <snapshots>
  53. <enabled>true</enabled>
  54. </snapshots>
  55. </pluginRepository>
  56. </pluginRepositories>
  57. <organization>
  58. <name>Vaadin Ltd</name>
  59. </organization>
  60. <url>https://vaadin.com/</url>
  61. <description>Vaadin Framework Root Pom</description>
  62. <licenses>
  63. <license>
  64. <name>Apache License Version 2.0</name>
  65. <distribution>repo</distribution>
  66. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  67. </license>
  68. </licenses>
  69. <scm>
  70. <connection>scm:https:https://github.com/vaadin/vaadin.git</connection>
  71. <developerConnection>scm:https:https://github.com/vaadin/vaadin.git</developerConnection>
  72. <url>https://github.com/vaadin/vaadin</url>
  73. </scm>
  74. <modules>
  75. <module>buildhelpers</module>
  76. <module>shared</module>
  77. <module>push</module>
  78. <module>server</module>
  79. <module>client</module>
  80. <module>client-compiler</module>
  81. <module>client-compiled</module>
  82. <module>themes</module>
  83. <module>widgets</module>
  84. <module>uitest-common</module>
  85. <module>uitest</module>
  86. <module>liferay</module>
  87. <module>all</module>
  88. <module>compatibility-server</module>
  89. <module>compatibility-client</module>
  90. <module>compatibility-client-compiled</module>
  91. <module>compatibility-shared</module>
  92. <!-- Nexus staging bug needs the last module to be deployed. -->
  93. <module>bom</module>
  94. </modules>
  95. <dependencyManagement>
  96. <dependencies>
  97. <dependency>
  98. <groupId>commons-io</groupId>
  99. <artifactId>commons-io</artifactId>
  100. <version>2.4</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>commons-cli</groupId>
  104. <artifactId>commons-cli</artifactId>
  105. <version>1.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-lang</groupId>
  109. <artifactId>commons-lang</artifactId>
  110. <version>2.6</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-codec</groupId>
  114. <artifactId>commons-codec</artifactId>
  115. <version>1.5</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.slf4j</groupId>
  119. <artifactId>slf4j-log4j12</artifactId>
  120. <version>1.6.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.vaadin</groupId>
  124. <artifactId>vaadin-sass-compiler</artifactId>
  125. <version>${vaadin.sass.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.carrotsearch</groupId>
  129. <artifactId>smartsprites</artifactId>
  130. <version>0.2.10</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.google.gwt</groupId>
  134. <artifactId>gwt-dev</artifactId>
  135. <version>${vaadin.gwt.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.google.gwt</groupId>
  139. <artifactId>gwt-elemental</artifactId>
  140. <version>${vaadin.gwt.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.google.gwt</groupId>
  144. <artifactId>gwt-servlet</artifactId>
  145. <version>${vaadin.gwt.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.vaadin.external.atmosphere</groupId>
  149. <artifactId>atmosphere-runtime</artifactId>
  150. <version>${atmosphere.runtime.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.vaadin.external.atmosphere.client</groupId>
  154. <artifactId>javascript</artifactId>
  155. <type>war</type>
  156. <version>2.3.2.vaadin1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <version>4.11</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.easymock</groupId>
  165. <artifactId>easymock</artifactId>
  166. <version>3.0</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>javax.servlet</groupId>
  170. <artifactId>javax.servlet-api</artifactId>
  171. <version>3.0.1</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>javax.portlet</groupId>
  175. <artifactId>portlet-api</artifactId>
  176. <version>${javax.portlet.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.google.appengine</groupId>
  180. <artifactId>appengine-api-1.0-sdk</artifactId>
  181. <version>1.7.7</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>javax.validation</groupId>
  185. <artifactId>validation-api</artifactId>
  186. <version>${javax.validation.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.hibernate</groupId>
  190. <artifactId>hibernate-validator</artifactId>
  191. <version>4.2.0.Final</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.jsoup</groupId>
  195. <artifactId>jsoup</artifactId>
  196. <version>${jsoup.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.mockito</groupId>
  200. <artifactId>mockito-all</artifactId>
  201. <version>1.9.5</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.hamcrest</groupId>
  205. <artifactId>hamcrest-all</artifactId>
  206. <version>1.3</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.hsqldb</groupId>
  210. <artifactId>hsqldb</artifactId>
  211. <version>2.2.6</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.vaadin</groupId>
  215. <artifactId>vaadin-testbench</artifactId>
  216. <version>4.0.3</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.eclipse.jetty</groupId>
  220. <artifactId>jetty-server</artifactId>
  221. <version>${jetty.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.eclipse.jetty</groupId>
  225. <artifactId>jetty-servlets</artifactId>
  226. <version>${jetty.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.eclipse.jetty.websocket</groupId>
  230. <artifactId>websocket-server</artifactId>
  231. <version>${jetty.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.eclipse.jetty</groupId>
  235. <artifactId>jetty-webapp</artifactId>
  236. <version>${jetty.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.eclipse.jetty</groupId>
  240. <artifactId>jetty-util</artifactId>
  241. <version>${jetty.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.eclipse.jetty</groupId>
  245. <artifactId>jetty-proxy</artifactId>
  246. <version>${jetty.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.jcraft</groupId>
  250. <artifactId>jsch</artifactId>
  251. <version>0.1.52</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.eclipse.jgit</groupId>
  255. <artifactId>org.eclipse.jgit</artifactId>
  256. <version>3.5.1.201410131835-r</version>
  257. </dependency>
  258. </dependencies>
  259. </dependencyManagement>
  260. <!-- Common test dependencies -->
  261. <dependencies>
  262. <dependency>
  263. <groupId>junit</groupId>
  264. <artifactId>junit</artifactId>
  265. <scope>test</scope>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.mockito</groupId>
  269. <artifactId>mockito-all</artifactId>
  270. <scope>test</scope>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.hamcrest</groupId>
  274. <artifactId>hamcrest-all</artifactId>
  275. <scope>test</scope>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.easymock</groupId>
  279. <artifactId>easymock</artifactId>
  280. <scope>test</scope>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.hibernate</groupId>
  284. <artifactId>hibernate-validator</artifactId>
  285. <scope>test</scope>
  286. </dependency>
  287. </dependencies>
  288. <build>
  289. <pluginManagement>
  290. <plugins>
  291. <plugin>
  292. <artifactId>maven-clean-plugin</artifactId>
  293. <version>3.0.0</version>
  294. </plugin>
  295. <plugin>
  296. <artifactId>maven-compiler-plugin</artifactId>
  297. <version>3.5.1</version>
  298. </plugin>
  299. <plugin>
  300. <artifactId>maven-deploy-plugin</artifactId>
  301. <version>2.8.2</version>
  302. </plugin>
  303. <plugin>
  304. <artifactId>maven-install-plugin</artifactId>
  305. <version>2.5.2</version>
  306. </plugin>
  307. <plugin>
  308. <artifactId>maven-resources-plugin</artifactId>
  309. <!-- Downgraded due to filtering related bug -->
  310. <version>2.6</version>
  311. </plugin>
  312. <plugin>
  313. <artifactId>maven-site-plugin</artifactId>
  314. <version>3.5</version>
  315. </plugin>
  316. <plugin>
  317. <artifactId>maven-jar-plugin</artifactId>
  318. <version>2.6</version>
  319. </plugin>
  320. <plugin>
  321. <artifactId>maven-assembly-plugin</artifactId>
  322. <version>2.6</version>
  323. </plugin>
  324. <plugin>
  325. <artifactId>maven-surefire-plugin</artifactId>
  326. <version>2.19.1</version>
  327. </plugin>
  328. <plugin>
  329. <artifactId>maven-antrun-plugin</artifactId>
  330. <version>1.8</version>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.apache.felix</groupId>
  334. <artifactId>maven-bundle-plugin</artifactId>
  335. <version>3.0.1</version>
  336. </plugin>
  337. <plugin>
  338. <groupId>org.apache.maven.plugins</groupId>
  339. <artifactId>maven-dependency-plugin</artifactId>
  340. <version>2.10</version>
  341. <configuration>
  342. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  343. <overWriteReleases>false</overWriteReleases>
  344. <overWriteSnapshots>true</overWriteSnapshots>
  345. </configuration>
  346. </plugin>
  347. <plugin>
  348. <groupId>org.codehaus.mojo</groupId>
  349. <artifactId>exec-maven-plugin</artifactId>
  350. <version>1.4.0</version>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.codehaus.mojo</groupId>
  354. <artifactId>versions-maven-plugin</artifactId>
  355. <version>2.3</version>
  356. </plugin>
  357. <plugin>
  358. <groupId>org.codehaus.mojo</groupId>
  359. <artifactId>build-helper-maven-plugin</artifactId>
  360. <version>1.10</version>
  361. </plugin>
  362. <plugin>
  363. <artifactId>maven-source-plugin</artifactId>
  364. <version>3.0.0</version>
  365. </plugin>
  366. <plugin>
  367. <groupId>com.vaadin</groupId>
  368. <artifactId>vaadin-maven-plugin</artifactId>
  369. <version>${vaadin.plugin.version}</version>
  370. </plugin>
  371. <plugin>
  372. <groupId>org.apache.maven.plugins</groupId>
  373. <artifactId>maven-checkstyle-plugin</artifactId>
  374. <version>2.17</version>
  375. <dependencies>
  376. <!-- Needed because of a JavadocMethodCheck bug in
  377. 6.11 -->
  378. <dependency>
  379. <groupId>com.puppycrawl.tools</groupId>
  380. <artifactId>checkstyle</artifactId>
  381. <version>6.17</version>
  382. </dependency>
  383. </dependencies>
  384. <configuration>
  385. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  386. <headerLocation>../checkstyle/header</headerLocation>
  387. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  388. <encoding>UTF-8</encoding>
  389. <consoleOutput>false</consoleOutput>
  390. <failsOnError>false</failsOnError>
  391. <linkXRef>false</linkXRef>
  392. </configuration>
  393. </plugin>
  394. <plugin>
  395. <groupId>org.codehaus.mojo</groupId>
  396. <artifactId>animal-sniffer-maven-plugin</artifactId>
  397. <version>1.15</version>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.eclipse.m2e</groupId>
  401. <artifactId>lifecycle-mapping</artifactId>
  402. <version>1.0.0</version>
  403. <configuration>
  404. <lifecycleMappingMetadata>
  405. <pluginExecutions>
  406. <pluginExecution>
  407. <pluginExecutionFilter>
  408. <groupId>
  409. org.apache.maven.plugins
  410. </groupId>
  411. <artifactId>
  412. maven-antrun-plugin
  413. </artifactId>
  414. <versionRange>
  415. [1.8,)
  416. </versionRange>
  417. <goals>
  418. <goal>run</goal>
  419. </goals>
  420. </pluginExecutionFilter>
  421. <action>
  422. <ignore></ignore>
  423. </action>
  424. </pluginExecution>
  425. </pluginExecutions>
  426. </lifecycleMappingMetadata>
  427. </configuration>
  428. </plugin>
  429. </plugins>
  430. </pluginManagement>
  431. <plugins>
  432. <plugin>
  433. <groupId>org.codehaus.mojo</groupId>
  434. <artifactId>animal-sniffer-maven-plugin</artifactId>
  435. <executions>
  436. <execution>
  437. <id>java8compatibility</id>
  438. <phase>test</phase>
  439. <goals>
  440. <goal>check</goal>
  441. </goals>
  442. <configuration>
  443. <signature>
  444. <groupId>org.codehaus.mojo.signature</groupId>
  445. <artifactId>java18</artifactId>
  446. <version>1.0</version>
  447. </signature>
  448. <ignores>
  449. <ignore>com.google.gwt.*</ignore>
  450. </ignores>
  451. </configuration>
  452. </execution>
  453. </executions>
  454. </plugin>
  455. <!-- Unpacked Dependencies as resource -->
  456. <plugin>
  457. <groupId>org.codehaus.mojo</groupId>
  458. <artifactId>build-helper-maven-plugin</artifactId>
  459. <!-- Needs extra resource folder for unpacked dependencies -->
  460. <executions>
  461. <execution>
  462. <id>add-dependency-resources</id>
  463. <phase>generate-resources</phase>
  464. <goals>
  465. <goal>add-resource</goal>
  466. </goals>
  467. <configuration>
  468. <resources>
  469. <resource>
  470. <directory>${dependency.unpack.directory}</directory>
  471. <filtering>false</filtering>
  472. </resource>
  473. </resources>
  474. </configuration>
  475. </execution>
  476. <execution>
  477. <id>parse-version</id>
  478. <goals>
  479. <goal>parse-version</goal>
  480. </goals>
  481. </execution>
  482. </executions>
  483. </plugin>
  484. </plugins>
  485. </build>
  486. <profiles>
  487. <profile>
  488. <id>release</id>
  489. <activation>
  490. <activeByDefault>false</activeByDefault>
  491. </activation>
  492. <properties>
  493. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  494. </properties>
  495. <build>
  496. <plugins>
  497. <plugin>
  498. <artifactId>maven-source-plugin</artifactId>
  499. <executions>
  500. <execution>
  501. <id>sources-jar</id>
  502. <phase>package</phase>
  503. <goals>
  504. <goal>jar</goal>
  505. </goals>
  506. <configuration>
  507. <!-- Only include java files -->
  508. <includes>
  509. <include>**/*.java</include>
  510. </includes>
  511. </configuration>
  512. </execution>
  513. </executions>
  514. </plugin>
  515. <plugin>
  516. <artifactId>maven-javadoc-plugin</artifactId>
  517. <version>2.10.3</version>
  518. <executions>
  519. <execution>
  520. <id>generate-javadoc</id>
  521. <goals>
  522. <goal>jar</goal>
  523. </goals>
  524. <configuration>
  525. <failOnError>false</failOnError>
  526. </configuration>
  527. </execution>
  528. </executions>
  529. </plugin>
  530. <plugin>
  531. <groupId>org.sonatype.plugins</groupId>
  532. <artifactId>nexus-staging-maven-plugin</artifactId>
  533. <version>1.6.7</version>
  534. <extensions>true</extensions>
  535. </plugin>
  536. </plugins>
  537. </build>
  538. </profile>
  539. </profiles>
  540. </project>