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

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