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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  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>8.5-SNAPSHOT</version>
  14. <prerequisites>
  15. <maven>3.1.0</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. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <!-- Used version numbers for dependencies -->
  23. <liferay.portal-service.version>6.2.5</liferay.portal-service.version>
  24. <liferay.portal-kernel.version>2.0.0</liferay.portal-kernel.version>
  25. <vaadin.gwt.version>2.8.2</vaadin.gwt.version>
  26. <vaadin.plugin.version>8.4-SNAPSHOT</vaadin.plugin.version>
  27. <!-- Used in OSGi manifests -->
  28. <javax.validation.version>1.0.0.GA</javax.validation.version>
  29. <jsoup.version>1.11.2</jsoup.version>
  30. <javax.portlet.version>2.0</javax.portlet.version>
  31. <vaadin.sass.version>0.9.13</vaadin.sass.version>
  32. <!-- Note that this should be kept in sync with the class Constants -->
  33. <atmosphere.runtime.version>2.4.24.vaadin1</atmosphere.runtime.version>
  34. <!-- OSGi -->
  35. <osgi.execution.environment>JavaSE-1.8</osgi.execution.environment>
  36. <osgi.bundle.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.bundle.version>
  37. <osgi.version>6.0.0</osgi.version>
  38. <osgi.annotation.version>6.0.1</osgi.annotation.version>
  39. <bnd.version>3.3.0</bnd.version>
  40. <!-- Dependency unpack directory -->
  41. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  42. <!-- Cannot use 9.3 or 9.4 because they sometimes reset the connection
  43. too early in case of errors -->
  44. <!-- See e.g. https://issues.apache.org/jira/browse/SOLR-8453 -->
  45. <jetty.version>9.2.9.v20150224</jetty.version>
  46. <phantomjs.version>2.1.1</phantomjs.version>
  47. <!-- Sonar properties -->
  48. <sonar.java.source>8</sonar.java.source>
  49. <sonar.analysis.mode>preview</sonar.analysis.mode>
  50. <sonar.issuesReport.console.enable>true</sonar.issuesReport.console.enable>
  51. <sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable>
  52. <vaadin.icons.version>3.0.1</vaadin.icons.version>
  53. <vaadin.testbench.version>5.1.1</vaadin.testbench.version>
  54. </properties>
  55. <pluginRepositories>
  56. <pluginRepository>
  57. <id>vaadin-snapshots</id>
  58. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  59. <releases>
  60. <enabled>false</enabled>
  61. </releases>
  62. <snapshots>
  63. <enabled>true</enabled>
  64. </snapshots>
  65. </pluginRepository>
  66. </pluginRepositories>
  67. <repositories>
  68. <repository>
  69. <id>redhat-ga</id>
  70. <url>https://maven.repository.redhat.com/ga/</url>
  71. <releases>
  72. <enabled>true</enabled>
  73. </releases>
  74. <snapshots>
  75. <enabled>false</enabled>
  76. </snapshots>
  77. </repository>
  78. <repository>
  79. <id>vaadin-snapshots</id>
  80. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  81. <releases>
  82. <enabled>false</enabled>
  83. </releases>
  84. <snapshots>
  85. <enabled>true</enabled>
  86. </snapshots>
  87. </repository>
  88. </repositories>
  89. <organization>
  90. <name>Vaadin Ltd</name>
  91. </organization>
  92. <url>https://vaadin.com/</url>
  93. <description>Vaadin Framework Root Pom</description>
  94. <licenses>
  95. <license>
  96. <name>Apache License Version 2.0</name>
  97. <distribution>repo</distribution>
  98. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  99. </license>
  100. </licenses>
  101. <scm>
  102. <connection>scm:git:git://github.com/vaadin/framework.git</connection>
  103. <developerConnection>scm:git:git://github.com/vaadin/framework.git</developerConnection>
  104. <url>https://github.com/vaadin/framework</url>
  105. </scm>
  106. <dependencyManagement>
  107. <dependencies>
  108. <dependency>
  109. <groupId>commons-io</groupId>
  110. <artifactId>commons-io</artifactId>
  111. <version>2.4</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.googlecode</groupId>
  115. <artifactId>openbeans</artifactId>
  116. <version>1.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-cli</groupId>
  120. <artifactId>commons-cli</artifactId>
  121. <version>1.2</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-lang</groupId>
  125. <artifactId>commons-lang</artifactId>
  126. <version>2.6</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>commons-codec</groupId>
  130. <artifactId>commons-codec</artifactId>
  131. <version>1.5</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.slf4j</groupId>
  135. <artifactId>slf4j-log4j12</artifactId>
  136. <version>1.6.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.vaadin</groupId>
  140. <artifactId>vaadin-sass-compiler</artifactId>
  141. <version>${vaadin.sass.version}</version>
  142. <exclusions>
  143. <!-- No need to have the minifier included for development
  144. mode on-the-fly compilation -->
  145. <exclusion>
  146. <groupId>com.yahoo.platform.yui</groupId>
  147. <artifactId>yuicompressor</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.carrotsearch</groupId>
  153. <artifactId>smartsprites</artifactId>
  154. <version>0.2.10</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.google.gwt</groupId>
  158. <artifactId>gwt-dev</artifactId>
  159. <version>${vaadin.gwt.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.google.gwt</groupId>
  163. <artifactId>gwt-elemental</artifactId>
  164. <version>${vaadin.gwt.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.google.gwt</groupId>
  168. <artifactId>gwt-servlet</artifactId>
  169. <version>${vaadin.gwt.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.vaadin.external.atmosphere</groupId>
  173. <artifactId>atmosphere-runtime</artifactId>
  174. <version>${atmosphere.runtime.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.vaadin.external.atmosphere.client</groupId>
  178. <artifactId>javascript</artifactId>
  179. <type>war</type>
  180. <version>2.3.2.vaadin1</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>junit</groupId>
  184. <artifactId>junit</artifactId>
  185. <version>4.12</version>
  186. <exclusions>
  187. <exclusion>
  188. <artifactId>hamcrest-core</artifactId>
  189. <groupId>org.hamcrest</groupId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.easymock</groupId>
  195. <artifactId>easymock</artifactId>
  196. <version>3.0</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>javax.servlet</groupId>
  200. <artifactId>javax.servlet-api</artifactId>
  201. <version>3.0.1</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>javax.portlet</groupId>
  205. <artifactId>portlet-api</artifactId>
  206. <version>${javax.portlet.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.google.appengine</groupId>
  210. <artifactId>appengine-api-1.0-sdk</artifactId>
  211. <version>1.7.7</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>javax.validation</groupId>
  215. <artifactId>validation-api</artifactId>
  216. <version>${javax.validation.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.hibernate</groupId>
  220. <artifactId>hibernate-validator</artifactId>
  221. <version>4.3.2.Final</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.jsoup</groupId>
  225. <artifactId>jsoup</artifactId>
  226. <version>${jsoup.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.mockito</groupId>
  230. <artifactId>mockito-core</artifactId>
  231. <version>2.18.3</version>
  232. <exclusions>
  233. <exclusion>
  234. <artifactId>hamcrest-core</artifactId>
  235. <groupId>org.hamcrest</groupId>
  236. </exclusion>
  237. </exclusions>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.hamcrest</groupId>
  241. <artifactId>hamcrest-all</artifactId>
  242. <version>1.3</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.hsqldb</groupId>
  246. <artifactId>hsqldb</artifactId>
  247. <version>2.2.6</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>com.vaadin</groupId>
  251. <artifactId>vaadin-testbench</artifactId>
  252. <version>${vaadin.testbench.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.eclipse.jetty</groupId>
  256. <artifactId>jetty-server</artifactId>
  257. <version>${jetty.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.eclipse.jetty</groupId>
  261. <artifactId>jetty-servlets</artifactId>
  262. <version>${jetty.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.eclipse.jetty.websocket</groupId>
  266. <artifactId>websocket-server</artifactId>
  267. <version>${jetty.version}</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.eclipse.jetty</groupId>
  271. <artifactId>jetty-webapp</artifactId>
  272. <version>${jetty.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.eclipse.jetty</groupId>
  276. <artifactId>jetty-util</artifactId>
  277. <version>${jetty.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.eclipse.jetty</groupId>
  281. <artifactId>jetty-proxy</artifactId>
  282. <version>${jetty.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.jcraft</groupId>
  286. <artifactId>jsch</artifactId>
  287. <version>0.1.52</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.eclipse.jgit</groupId>
  291. <artifactId>org.eclipse.jgit</artifactId>
  292. <version>3.5.1.201410131835-r</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.github.siom79.japicmp</groupId>
  296. <artifactId>japicmp-maven-plugin</artifactId>
  297. <version>0.9.1</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>com.vaadin</groupId>
  301. <artifactId>vaadin-icons</artifactId>
  302. <version>${vaadin.icons.version}</version>
  303. <scope>provided</scope>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.osgi</groupId>
  307. <artifactId>osgi.core</artifactId>
  308. <version>${osgi.version}</version>
  309. <scope>provided</scope>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.osgi</groupId>
  313. <artifactId>osgi.annotation</artifactId>
  314. <version>${osgi.annotation.version}</version>
  315. <scope>provided</scope>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.osgi</groupId>
  319. <artifactId>osgi.cmpn</artifactId>
  320. <version>${osgi.version}</version>
  321. <scope>provided</scope>
  322. </dependency>
  323. </dependencies>
  324. </dependencyManagement>
  325. <!-- Common test dependencies -->
  326. <dependencies>
  327. <dependency>
  328. <groupId>junit</groupId>
  329. <artifactId>junit</artifactId>
  330. <scope>test</scope>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.mockito</groupId>
  334. <artifactId>mockito-core</artifactId>
  335. <scope>test</scope>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.hamcrest</groupId>
  339. <artifactId>hamcrest-all</artifactId>
  340. <scope>test</scope>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.easymock</groupId>
  344. <artifactId>easymock</artifactId>
  345. <scope>test</scope>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.hibernate</groupId>
  349. <artifactId>hibernate-validator</artifactId>
  350. <scope>test</scope>
  351. </dependency>
  352. </dependencies>
  353. <build>
  354. <pluginManagement>
  355. <plugins>
  356. <plugin>
  357. <artifactId>maven-clean-plugin</artifactId>
  358. <version>3.0.0</version>
  359. </plugin>
  360. <plugin>
  361. <artifactId>maven-compiler-plugin</artifactId>
  362. <version>3.5.1</version>
  363. </plugin>
  364. <plugin>
  365. <artifactId>maven-deploy-plugin</artifactId>
  366. <version>2.8.2</version>
  367. </plugin>
  368. <plugin>
  369. <artifactId>maven-install-plugin</artifactId>
  370. <version>2.5.2</version>
  371. </plugin>
  372. <plugin>
  373. <artifactId>maven-resources-plugin</artifactId>
  374. <!-- Downgraded due to filtering related bug -->
  375. <version>2.6</version>
  376. </plugin>
  377. <plugin>
  378. <artifactId>maven-site-plugin</artifactId>
  379. <version>3.5</version>
  380. </plugin>
  381. <plugin>
  382. <artifactId>maven-jar-plugin</artifactId>
  383. <version>2.6</version>
  384. </plugin>
  385. <plugin>
  386. <artifactId>maven-assembly-plugin</artifactId>
  387. <version>2.6</version>
  388. </plugin>
  389. <plugin>
  390. <artifactId>maven-surefire-plugin</artifactId>
  391. <version>2.19.1</version>
  392. </plugin>
  393. <plugin>
  394. <artifactId>maven-failsafe-plugin</artifactId>
  395. <version>2.19.1</version>
  396. </plugin>
  397. <plugin>
  398. <groupId>com.github.klieber</groupId>
  399. <artifactId>phantomjs-maven-plugin</artifactId>
  400. <version>0.7</version>
  401. </plugin>
  402. <plugin>
  403. <artifactId>maven-antrun-plugin</artifactId>
  404. <version>1.8</version>
  405. </plugin>
  406. <plugin>
  407. <groupId>biz.aQute.bnd</groupId>
  408. <artifactId>bnd-maven-plugin</artifactId>
  409. <version>${bnd.version}</version>
  410. <executions>
  411. <execution>
  412. <goals>
  413. <goal>bnd-process</goal>
  414. </goals>
  415. </execution>
  416. </executions>
  417. </plugin>
  418. <plugin>
  419. <groupId>org.apache.maven.plugins</groupId>
  420. <artifactId>maven-dependency-plugin</artifactId>
  421. <version>3.0.1</version>
  422. <configuration>
  423. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  424. <overWriteReleases>false</overWriteReleases>
  425. <overWriteSnapshots>true</overWriteSnapshots>
  426. </configuration>
  427. </plugin>
  428. <plugin>
  429. <groupId>org.codehaus.mojo</groupId>
  430. <artifactId>exec-maven-plugin</artifactId>
  431. <version>1.6.0</version>
  432. </plugin>
  433. <plugin>
  434. <groupId>org.codehaus.mojo</groupId>
  435. <artifactId>versions-maven-plugin</artifactId>
  436. <version>2.3</version>
  437. </plugin>
  438. <plugin>
  439. <groupId>org.codehaus.mojo</groupId>
  440. <artifactId>build-helper-maven-plugin</artifactId>
  441. <version>1.10</version>
  442. </plugin>
  443. <plugin>
  444. <artifactId>maven-source-plugin</artifactId>
  445. <version>3.0.1</version>
  446. </plugin>
  447. <plugin>
  448. <groupId>com.vaadin</groupId>
  449. <artifactId>vaadin-maven-plugin</artifactId>
  450. <version>${vaadin.plugin.version}</version>
  451. </plugin>
  452. <plugin>
  453. <groupId>net.revelc.code.formatter</groupId>
  454. <artifactId>formatter-maven-plugin</artifactId>
  455. <version>2.7.2</version>
  456. <configuration>
  457. <configFile>${project.basedir}/../eclipse/VaadinJavaConventions.xml</configFile>
  458. <skipJsFormatting>true</skipJsFormatting>
  459. </configuration>
  460. <executions>
  461. <execution>
  462. <id>format-source</id>
  463. <goals>
  464. <goal>format</goal>
  465. </goals>
  466. <phase>process-sources</phase>
  467. </execution>
  468. </executions>
  469. </plugin>
  470. <plugin>
  471. <groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
  472. <artifactId>whitespace-maven-plugin</artifactId>
  473. <version>1.0.4</version>
  474. <executions>
  475. <execution>
  476. <id>trim-trailing-spaces-source</id>
  477. <goals>
  478. <goal>trim</goal>
  479. </goals>
  480. <phase>process-sources</phase>
  481. </execution>
  482. </executions>
  483. </plugin>
  484. <plugin>
  485. <groupId>org.apache.maven.plugins</groupId>
  486. <artifactId>maven-checkstyle-plugin</artifactId>
  487. <version>2.17</version>
  488. <dependencies>
  489. <!-- Needed because of a JavadocMethodCheck bug in
  490. 6.11 -->
  491. <dependency>
  492. <groupId>com.puppycrawl.tools</groupId>
  493. <artifactId>checkstyle</artifactId>
  494. <version>6.17</version>
  495. </dependency>
  496. </dependencies>
  497. <configuration>
  498. <propertyExpansion>config_loc=${basedir}/../checkstyle</propertyExpansion>
  499. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  500. <headerLocation>../checkstyle/header</headerLocation>
  501. <!-- <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation> -->
  502. <encoding>UTF-8</encoding>
  503. <consoleOutput>false</consoleOutput>
  504. <failsOnError>false</failsOnError>
  505. <linkXRef>false</linkXRef>
  506. </configuration>
  507. </plugin>
  508. <plugin>
  509. <groupId>org.codehaus.mojo</groupId>
  510. <artifactId>animal-sniffer-maven-plugin</artifactId>
  511. <version>1.15</version>
  512. </plugin>
  513. <plugin>
  514. <groupId>org.eclipse.m2e</groupId>
  515. <artifactId>lifecycle-mapping</artifactId>
  516. <version>1.0.0</version>
  517. <configuration>
  518. <lifecycleMappingMetadata>
  519. <pluginExecutions>
  520. <pluginExecution>
  521. <pluginExecutionFilter>
  522. <groupId>
  523. org.apache.maven.plugins
  524. </groupId>
  525. <artifactId>
  526. maven-antrun-plugin
  527. </artifactId>
  528. <versionRange>
  529. [1.8,)
  530. </versionRange>
  531. <goals>
  532. <goal>run</goal>
  533. </goals>
  534. </pluginExecutionFilter>
  535. <action>
  536. <ignore></ignore>
  537. </action>
  538. </pluginExecution>
  539. <pluginExecution>
  540. <pluginExecutionFilter>
  541. <groupId>
  542. com.github.klieber
  543. </groupId>
  544. <artifactId>
  545. phantomjs-maven-plugin
  546. </artifactId>
  547. <versionRange>
  548. [0.7,)
  549. </versionRange>
  550. <goals>
  551. <goal>install</goal>
  552. </goals>
  553. </pluginExecutionFilter>
  554. <action>
  555. <ignore></ignore>
  556. </action>
  557. </pluginExecution>
  558. </pluginExecutions>
  559. </lifecycleMappingMetadata>
  560. </configuration>
  561. </plugin>
  562. <plugin>
  563. <groupId>org.apache.felix</groupId>
  564. <artifactId>maven-bundle-plugin</artifactId>
  565. <version>3.3.0</version>
  566. </plugin>
  567. </plugins>
  568. </pluginManagement>
  569. <plugins>
  570. <plugin>
  571. <groupId>org.codehaus.mojo</groupId>
  572. <artifactId>animal-sniffer-maven-plugin</artifactId>
  573. <executions>
  574. <execution>
  575. <id>java8compatibility</id>
  576. <phase>test</phase>
  577. <goals>
  578. <goal>check</goal>
  579. </goals>
  580. <configuration>
  581. <signature>
  582. <groupId>org.codehaus.mojo.signature</groupId>
  583. <artifactId>java18</artifactId>
  584. <version>1.0</version>
  585. </signature>
  586. <ignores>
  587. <ignore>com.google.gwt.*</ignore>
  588. </ignores>
  589. </configuration>
  590. </execution>
  591. </executions>
  592. </plugin>
  593. <!-- Unpacked Dependencies as resource -->
  594. <plugin>
  595. <groupId>org.codehaus.mojo</groupId>
  596. <artifactId>build-helper-maven-plugin</artifactId>
  597. <!-- Needs extra resource folder for unpacked dependencies -->
  598. <executions>
  599. <execution>
  600. <id>add-dependency-resources</id>
  601. <phase>generate-resources</phase>
  602. <goals>
  603. <goal>add-resource</goal>
  604. </goals>
  605. <configuration>
  606. <resources>
  607. <resource>
  608. <directory>${dependency.unpack.directory}</directory>
  609. <filtering>false</filtering>
  610. </resource>
  611. </resources>
  612. </configuration>
  613. </execution>
  614. <execution>
  615. <id>parse-version</id>
  616. <goals>
  617. <goal>parse-version</goal>
  618. </goals>
  619. </execution>
  620. </executions>
  621. </plugin>
  622. </plugins>
  623. </build>
  624. <profiles>
  625. <profile>
  626. <!-- Default build profile that runs all modules. -->
  627. <id>default</id>
  628. <activation>
  629. <activeByDefault>true</activeByDefault>
  630. </activation>
  631. <modules>
  632. <module>shared</module>
  633. <module>push</module>
  634. <module>server</module>
  635. <module>client</module>
  636. <module>client-compiler</module>
  637. <module>client-compiled</module>
  638. <module>themes</module>
  639. <module>uitest</module>
  640. <module>liferay</module>
  641. <module>liferay-integration</module>
  642. <module>osgi-integration</module>
  643. <module>all</module>
  644. <module>compatibility-server</module>
  645. <module>compatibility-server-gae</module>
  646. <module>compatibility-client</module>
  647. <module>compatibility-client-compiled</module>
  648. <module>compatibility-shared</module>
  649. <module>compatibility-themes</module>
  650. <module>testbench-api</module>
  651. <module>bom</module>
  652. </modules>
  653. </profile>
  654. <profile>
  655. <!-- Profile for running integration tests. Vaadin version to
  656. be tested can be defined with property vaadin.version -->
  657. <id>slowtest</id>
  658. <modules>
  659. <module>test</module>
  660. </modules>
  661. </profile>
  662. <profile>
  663. <!-- This profile builds the assembled parts of the Framework
  664. for website release. Should be run after running the release profile -->
  665. <id>release-assemblies</id>
  666. <modules>
  667. <module>liferay</module>
  668. <module>all</module>
  669. </modules>
  670. </profile>
  671. <profile>
  672. <!-- Release build only builds artifacts that are deployed or
  673. needed by them -->
  674. <id>release</id>
  675. <properties>
  676. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  677. </properties>
  678. <modules>
  679. <module>shared</module>
  680. <module>push</module>
  681. <module>server</module>
  682. <module>client</module>
  683. <module>client-compiler</module>
  684. <module>client-compiled</module>
  685. <module>themes</module>
  686. <module>compatibility-server</module>
  687. <module>compatibility-server-gae</module>
  688. <module>compatibility-client</module>
  689. <module>compatibility-client-compiled</module>
  690. <module>compatibility-shared</module>
  691. <module>compatibility-themes</module>
  692. <module>liferay-integration</module>
  693. <module>osgi-integration</module>
  694. <!-- Nexus staging bug needs the last module to be deployed. -->
  695. <module>testbench-api</module>
  696. <!-- BOM is built and released separately -->
  697. </modules>
  698. <build>
  699. <plugins>
  700. <plugin>
  701. <artifactId>maven-source-plugin</artifactId>
  702. <executions>
  703. <execution>
  704. <id>sources-jar</id>
  705. <phase>package</phase>
  706. <goals>
  707. <goal>jar</goal>
  708. </goals>
  709. <configuration>
  710. <!-- Only include java files -->
  711. <includes>
  712. <include>**/*.java</include>
  713. </includes>
  714. </configuration>
  715. </execution>
  716. </executions>
  717. </plugin>
  718. <plugin>
  719. <artifactId>maven-javadoc-plugin</artifactId>
  720. <version>2.10.3</version>
  721. <executions>
  722. <execution>
  723. <id>generate-javadoc</id>
  724. <goals>
  725. <goal>jar</goal>
  726. </goals>
  727. <configuration>
  728. <failOnError>false</failOnError>
  729. </configuration>
  730. </execution>
  731. </executions>
  732. </plugin>
  733. </plugins>
  734. </build>
  735. </profile>
  736. <profile>
  737. <!-- Pre-release build only builds artifacts that are deployed or
  738. needed by them -->
  739. <id>prerelease</id>
  740. <properties>
  741. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  742. </properties>
  743. <modules>
  744. <module>shared</module>
  745. <module>push</module>
  746. <module>server</module>
  747. <module>client</module>
  748. <module>client-compiler</module>
  749. <module>client-compiled</module>
  750. <module>themes</module>
  751. <module>compatibility-server</module>
  752. <module>compatibility-server-gae</module>
  753. <module>compatibility-client</module>
  754. <module>compatibility-client-compiled</module>
  755. <module>compatibility-shared</module>
  756. <module>compatibility-themes</module>
  757. <module>liferay-integration</module>
  758. <module>osgi-integration</module>
  759. <!-- Nexus staging bug needs the last module to be deployed. -->
  760. <module>testbench-api</module>
  761. <!-- BOM is built and released separately -->
  762. </modules>
  763. <build>
  764. <plugins>
  765. <plugin>
  766. <artifactId>maven-source-plugin</artifactId>
  767. <executions>
  768. <execution>
  769. <id>sources-jar</id>
  770. <phase>package</phase>
  771. <goals>
  772. <goal>jar</goal>
  773. </goals>
  774. <configuration>
  775. <!-- Only include java files -->
  776. <includes>
  777. <include>**/*.java</include>
  778. </includes>
  779. </configuration>
  780. </execution>
  781. </executions>
  782. </plugin>
  783. <plugin>
  784. <artifactId>maven-javadoc-plugin</artifactId>
  785. <version>2.10.3</version>
  786. <executions>
  787. <execution>
  788. <id>generate-javadoc</id>
  789. <goals>
  790. <goal>jar</goal>
  791. </goals>
  792. <configuration>
  793. <failOnError>false</failOnError>
  794. </configuration>
  795. </execution>
  796. </executions>
  797. </plugin>
  798. </plugins>
  799. </build>
  800. </profile>
  801. <profile>
  802. <!-- Snapshot build only builds artifacts that are deployed or
  803. needed by them -->
  804. <id>snapshot</id>
  805. <properties>
  806. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  807. </properties>
  808. <modules>
  809. <module>shared</module>
  810. <module>push</module>
  811. <module>server</module>
  812. <module>client</module>
  813. <module>client-compiler</module>
  814. <module>client-compiled</module>
  815. <module>themes</module>
  816. <module>compatibility-server</module>
  817. <module>compatibility-server-gae</module>
  818. <module>compatibility-client</module>
  819. <module>compatibility-client-compiled</module>
  820. <module>compatibility-shared</module>
  821. <module>compatibility-themes</module>
  822. <module>liferay-integration</module>
  823. <module>osgi-integration</module>
  824. <module>testbench-api</module>
  825. <module>bom</module>
  826. </modules>
  827. <build>
  828. <plugins>
  829. <plugin>
  830. <artifactId>maven-source-plugin</artifactId>
  831. <executions>
  832. <execution>
  833. <id>sources-jar</id>
  834. <phase>package</phase>
  835. <goals>
  836. <goal>jar</goal>
  837. </goals>
  838. <configuration>
  839. <!-- Only include java files -->
  840. <includes>
  841. <include>**/*.java</include>
  842. </includes>
  843. </configuration>
  844. </execution>
  845. </executions>
  846. </plugin>
  847. <plugin>
  848. <artifactId>maven-javadoc-plugin</artifactId>
  849. <version>2.10.3</version>
  850. <executions>
  851. <execution>
  852. <id>generate-javadoc</id>
  853. <goals>
  854. <goal>jar</goal>
  855. </goals>
  856. <configuration>
  857. <failOnError>false</failOnError>
  858. </configuration>
  859. </execution>
  860. </executions>
  861. </plugin>
  862. </plugins>
  863. </build>
  864. </profile>
  865. <profile>
  866. <!-- This profile is disjoint with default profile. It allows
  867. to prevent running build for all available modules but restricts a number
  868. of modules to specified here only (which allows to avoid long time compilation
  869. for projects that are not needed since japicmp works with compiled classes).
  870. ! -->
  871. <id>apicmp</id>
  872. <modules>
  873. <module>server</module>
  874. <module>push</module>
  875. <module>client</module>
  876. <module>compatibility-server</module>
  877. <module>compatibility-server-gae</module>
  878. <module>compatibility-client</module>
  879. <module>client-compiler</module>
  880. <module>shared</module>
  881. <module>compatibility-shared</module>
  882. <module>liferay-integration</module>
  883. <module>osgi-integration</module>
  884. </modules>
  885. <repositories>
  886. <repository>
  887. <id>vaadin-prereleases</id>
  888. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  889. </repository>
  890. </repositories>
  891. <build>
  892. <plugins>
  893. <plugin>
  894. <groupId>com.github.siom79.japicmp</groupId>
  895. <artifactId>japicmp-maven-plugin</artifactId>
  896. <configuration>
  897. <oldVersion>
  898. <dependency>
  899. <groupId>${project.groupId}</groupId>
  900. <artifactId>${project.artifactId}</artifactId>
  901. <version>${vaadin.api.reference.version}</version>
  902. <type>jar</type>
  903. </dependency>
  904. </oldVersion>
  905. <newVersion>
  906. <file>
  907. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  908. </file>
  909. </newVersion>
  910. <parameter>
  911. <ignoreMissingClasses>true</ignoreMissingClasses>
  912. <onlyModified>true</onlyModified>
  913. <skipDiffReport>true</skipDiffReport>
  914. <skipXmlReport>true</skipXmlReport>
  915. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  916. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  917. </parameter>
  918. </configuration>
  919. <executions>
  920. <execution>
  921. <phase>verify</phase>
  922. <goals>
  923. <goal>cmp</goal>
  924. </goals>
  925. </execution>
  926. </executions>
  927. </plugin>
  928. </plugins>
  929. </build>
  930. </profile>
  931. <profile>
  932. <!-- Testing profile for measurement tests. Use along with default
  933. profile -->
  934. <id>measurements</id>
  935. <properties>
  936. <skipTests>true</skipTests>
  937. </properties>
  938. </profile>
  939. </profiles>
  940. </project>