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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  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.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.version>6.0.2</liferay.portal.version>
  24. <jetty.version>9.3.9.v20160517</jetty.version>
  25. <vaadin.gwt.version>2.8.0</vaadin.gwt.version>
  26. <vaadin.plugin.version>8.0-SNAPSHOT</vaadin.plugin.version>
  27. <!-- Used in OSGi manifests -->
  28. <javax.validation.version>1.0.0.GA</javax.validation.version>
  29. <jsoup.version>1.8.3</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.5.vaadin1</atmosphere.runtime.version>
  34. <!-- OSGi -->
  35. <osgi.javax.servlet.version>3.0.0</osgi.javax.servlet.version>
  36. <osgi.execution.environment>JavaSE-1.8</osgi.execution.environment>
  37. <osgi.bundle.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.bundle.version>
  38. <!-- Dependency unpack directory -->
  39. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  40. <jetty.version>9.3.7.v20160115</jetty.version>
  41. <phantomjs.version>2.1.1</phantomjs.version>
  42. </properties>
  43. <!-- TODO: remove this after maven plugin has been released -->
  44. <pluginRepositories>
  45. <pluginRepository>
  46. <id>vaadin-prereleases</id>
  47. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  48. </pluginRepository>
  49. <pluginRepository>
  50. <id>vaadin-snapshots</id>
  51. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  52. <releases>
  53. <enabled>false</enabled>
  54. </releases>
  55. <snapshots>
  56. <enabled>true</enabled>
  57. </snapshots>
  58. </pluginRepository>
  59. </pluginRepositories>
  60. <organization>
  61. <name>Vaadin Ltd</name>
  62. </organization>
  63. <url>https://vaadin.com/</url>
  64. <description>Vaadin Framework Root Pom</description>
  65. <licenses>
  66. <license>
  67. <name>Apache License Version 2.0</name>
  68. <distribution>repo</distribution>
  69. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  70. </license>
  71. </licenses>
  72. <scm>
  73. <connection>scm:https:https://github.com/vaadin/framework.git</connection>
  74. <developerConnection>scm:https:https://github.com/vaadin/framework.git</developerConnection>
  75. <url>https://github.com/vaadin/framework</url>
  76. </scm>
  77. <dependencyManagement>
  78. <dependencies>
  79. <dependency>
  80. <groupId>commons-io</groupId>
  81. <artifactId>commons-io</artifactId>
  82. <version>2.4</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-cli</groupId>
  86. <artifactId>commons-cli</artifactId>
  87. <version>1.2</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-lang</groupId>
  91. <artifactId>commons-lang</artifactId>
  92. <version>2.6</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-codec</groupId>
  96. <artifactId>commons-codec</artifactId>
  97. <version>1.5</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.slf4j</groupId>
  101. <artifactId>slf4j-log4j12</artifactId>
  102. <version>1.6.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.vaadin</groupId>
  106. <artifactId>vaadin-sass-compiler</artifactId>
  107. <version>${vaadin.sass.version}</version>
  108. <exclusions>
  109. <!-- No need to have the minifier included for development
  110. mode on-the-fly compilation -->
  111. <exclusion>
  112. <groupId>com.yahoo.platform.yui</groupId>
  113. <artifactId>yuicompressor</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.carrotsearch</groupId>
  119. <artifactId>smartsprites</artifactId>
  120. <version>0.2.10</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.google.gwt</groupId>
  124. <artifactId>gwt-dev</artifactId>
  125. <version>${vaadin.gwt.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.google.gwt</groupId>
  129. <artifactId>gwt-elemental</artifactId>
  130. <version>${vaadin.gwt.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.google.gwt</groupId>
  134. <artifactId>gwt-servlet</artifactId>
  135. <version>${vaadin.gwt.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.vaadin.external.atmosphere</groupId>
  139. <artifactId>atmosphere-runtime</artifactId>
  140. <version>${atmosphere.runtime.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.vaadin.external.atmosphere.client</groupId>
  144. <artifactId>javascript</artifactId>
  145. <type>war</type>
  146. <version>2.3.2.vaadin1</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>junit</groupId>
  150. <artifactId>junit</artifactId>
  151. <version>4.12</version>
  152. <exclusions>
  153. <exclusion>
  154. <artifactId>hamcrest-core</artifactId>
  155. <groupId>org.hamcrest</groupId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.easymock</groupId>
  161. <artifactId>easymock</artifactId>
  162. <version>3.0</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>javax.servlet</groupId>
  166. <artifactId>javax.servlet-api</artifactId>
  167. <version>3.0.1</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>javax.portlet</groupId>
  171. <artifactId>portlet-api</artifactId>
  172. <version>${javax.portlet.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.google.appengine</groupId>
  176. <artifactId>appengine-api-1.0-sdk</artifactId>
  177. <version>1.7.7</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>javax.validation</groupId>
  181. <artifactId>validation-api</artifactId>
  182. <version>${javax.validation.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.hibernate</groupId>
  186. <artifactId>hibernate-validator</artifactId>
  187. <version>4.2.0.Final</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.jsoup</groupId>
  191. <artifactId>jsoup</artifactId>
  192. <version>${jsoup.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.mockito</groupId>
  196. <artifactId>mockito-core</artifactId>
  197. <version>1.9.5</version>
  198. <exclusions>
  199. <exclusion>
  200. <artifactId>hamcrest-core</artifactId>
  201. <groupId>org.hamcrest</groupId>
  202. </exclusion>
  203. </exclusions>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.hamcrest</groupId>
  207. <artifactId>hamcrest-all</artifactId>
  208. <version>1.3</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.hsqldb</groupId>
  212. <artifactId>hsqldb</artifactId>
  213. <version>2.2.6</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.vaadin</groupId>
  217. <artifactId>vaadin-testbench</artifactId>
  218. <version>5.0.0.alpha1</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.eclipse.jetty</groupId>
  222. <artifactId>jetty-server</artifactId>
  223. <version>${jetty.version}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.eclipse.jetty</groupId>
  227. <artifactId>jetty-servlets</artifactId>
  228. <version>${jetty.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.eclipse.jetty.websocket</groupId>
  232. <artifactId>websocket-server</artifactId>
  233. <version>${jetty.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.eclipse.jetty</groupId>
  237. <artifactId>jetty-webapp</artifactId>
  238. <version>${jetty.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.eclipse.jetty</groupId>
  242. <artifactId>jetty-util</artifactId>
  243. <version>${jetty.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.eclipse.jetty</groupId>
  247. <artifactId>jetty-proxy</artifactId>
  248. <version>${jetty.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.jcraft</groupId>
  252. <artifactId>jsch</artifactId>
  253. <version>0.1.52</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.eclipse.jgit</groupId>
  257. <artifactId>org.eclipse.jgit</artifactId>
  258. <version>3.5.1.201410131835-r</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.github.siom79.japicmp</groupId>
  262. <artifactId>japicmp-maven-plugin</artifactId>
  263. <version>0.9.1</version>
  264. </dependency>
  265. </dependencies>
  266. </dependencyManagement>
  267. <!-- Common test dependencies -->
  268. <dependencies>
  269. <dependency>
  270. <groupId>junit</groupId>
  271. <artifactId>junit</artifactId>
  272. <scope>test</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.mockito</groupId>
  276. <artifactId>mockito-core</artifactId>
  277. <scope>test</scope>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.hamcrest</groupId>
  281. <artifactId>hamcrest-all</artifactId>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.easymock</groupId>
  286. <artifactId>easymock</artifactId>
  287. <scope>test</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.hibernate</groupId>
  291. <artifactId>hibernate-validator</artifactId>
  292. <scope>test</scope>
  293. </dependency>
  294. </dependencies>
  295. <build>
  296. <pluginManagement>
  297. <plugins>
  298. <plugin>
  299. <artifactId>maven-clean-plugin</artifactId>
  300. <version>3.0.0</version>
  301. </plugin>
  302. <plugin>
  303. <artifactId>maven-compiler-plugin</artifactId>
  304. <version>3.5.1</version>
  305. </plugin>
  306. <plugin>
  307. <artifactId>maven-deploy-plugin</artifactId>
  308. <version>2.8.2</version>
  309. </plugin>
  310. <plugin>
  311. <artifactId>maven-install-plugin</artifactId>
  312. <version>2.5.2</version>
  313. </plugin>
  314. <plugin>
  315. <artifactId>maven-resources-plugin</artifactId>
  316. <!-- Downgraded due to filtering related bug -->
  317. <version>2.6</version>
  318. </plugin>
  319. <plugin>
  320. <artifactId>maven-site-plugin</artifactId>
  321. <version>3.5</version>
  322. </plugin>
  323. <plugin>
  324. <artifactId>maven-jar-plugin</artifactId>
  325. <version>2.6</version>
  326. </plugin>
  327. <plugin>
  328. <artifactId>maven-assembly-plugin</artifactId>
  329. <version>2.6</version>
  330. </plugin>
  331. <plugin>
  332. <artifactId>maven-surefire-plugin</artifactId>
  333. <version>2.19.1</version>
  334. </plugin>
  335. <plugin>
  336. <artifactId>maven-failsafe-plugin</artifactId>
  337. <version>2.19.1</version>
  338. </plugin>
  339. <plugin>
  340. <groupId>com.github.klieber</groupId>
  341. <artifactId>phantomjs-maven-plugin</artifactId>
  342. <version>0.7</version>
  343. </plugin>
  344. <plugin>
  345. <artifactId>maven-antrun-plugin</artifactId>
  346. <version>1.8</version>
  347. </plugin>
  348. <plugin>
  349. <groupId>org.apache.felix</groupId>
  350. <artifactId>maven-bundle-plugin</artifactId>
  351. <version>3.0.1</version>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-dependency-plugin</artifactId>
  356. <version>2.10</version>
  357. <configuration>
  358. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  359. <overWriteReleases>false</overWriteReleases>
  360. <overWriteSnapshots>true</overWriteSnapshots>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.codehaus.mojo</groupId>
  365. <artifactId>exec-maven-plugin</artifactId>
  366. <version>1.4.0</version>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.codehaus.mojo</groupId>
  370. <artifactId>versions-maven-plugin</artifactId>
  371. <version>2.3</version>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.codehaus.mojo</groupId>
  375. <artifactId>build-helper-maven-plugin</artifactId>
  376. <version>1.10</version>
  377. </plugin>
  378. <plugin>
  379. <artifactId>maven-source-plugin</artifactId>
  380. <version>3.0.0</version>
  381. </plugin>
  382. <plugin>
  383. <groupId>com.vaadin</groupId>
  384. <artifactId>vaadin-maven-plugin</artifactId>
  385. <version>${vaadin.plugin.version}</version>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-checkstyle-plugin</artifactId>
  390. <version>2.17</version>
  391. <dependencies>
  392. <!-- Needed because of a JavadocMethodCheck bug in
  393. 6.11 -->
  394. <dependency>
  395. <groupId>com.puppycrawl.tools</groupId>
  396. <artifactId>checkstyle</artifactId>
  397. <version>6.17</version>
  398. </dependency>
  399. </dependencies>
  400. <configuration>
  401. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  402. <headerLocation>../checkstyle/header</headerLocation>
  403. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  404. <encoding>UTF-8</encoding>
  405. <consoleOutput>false</consoleOutput>
  406. <failsOnError>false</failsOnError>
  407. <linkXRef>false</linkXRef>
  408. </configuration>
  409. </plugin>
  410. <plugin>
  411. <groupId>org.codehaus.mojo</groupId>
  412. <artifactId>animal-sniffer-maven-plugin</artifactId>
  413. <version>1.15</version>
  414. </plugin>
  415. <plugin>
  416. <groupId>org.eclipse.m2e</groupId>
  417. <artifactId>lifecycle-mapping</artifactId>
  418. <version>1.0.0</version>
  419. <configuration>
  420. <lifecycleMappingMetadata>
  421. <pluginExecutions>
  422. <pluginExecution>
  423. <pluginExecutionFilter>
  424. <groupId>
  425. org.apache.maven.plugins
  426. </groupId>
  427. <artifactId>
  428. maven-antrun-plugin
  429. </artifactId>
  430. <versionRange>
  431. [1.8,)
  432. </versionRange>
  433. <goals>
  434. <goal>run</goal>
  435. </goals>
  436. </pluginExecutionFilter>
  437. <action>
  438. <ignore></ignore>
  439. </action>
  440. </pluginExecution>
  441. <pluginExecution>
  442. <pluginExecutionFilter>
  443. <groupId>
  444. com.github.klieber
  445. </groupId>
  446. <artifactId>
  447. phantomjs-maven-plugin
  448. </artifactId>
  449. <versionRange>
  450. [0.7,)
  451. </versionRange>
  452. <goals>
  453. <goal>install</goal>
  454. </goals>
  455. </pluginExecutionFilter>
  456. <action>
  457. <ignore></ignore>
  458. </action>
  459. </pluginExecution>
  460. </pluginExecutions>
  461. </lifecycleMappingMetadata>
  462. </configuration>
  463. </plugin>
  464. </plugins>
  465. </pluginManagement>
  466. <plugins>
  467. <plugin>
  468. <groupId>org.codehaus.mojo</groupId>
  469. <artifactId>animal-sniffer-maven-plugin</artifactId>
  470. <executions>
  471. <execution>
  472. <id>java8compatibility</id>
  473. <phase>test</phase>
  474. <goals>
  475. <goal>check</goal>
  476. </goals>
  477. <configuration>
  478. <signature>
  479. <groupId>org.codehaus.mojo.signature</groupId>
  480. <artifactId>java18</artifactId>
  481. <version>1.0</version>
  482. </signature>
  483. <ignores>
  484. <ignore>com.google.gwt.*</ignore>
  485. </ignores>
  486. </configuration>
  487. </execution>
  488. </executions>
  489. </plugin>
  490. <!-- Unpacked Dependencies as resource -->
  491. <plugin>
  492. <groupId>org.codehaus.mojo</groupId>
  493. <artifactId>build-helper-maven-plugin</artifactId>
  494. <!-- Needs extra resource folder for unpacked dependencies -->
  495. <executions>
  496. <execution>
  497. <id>add-dependency-resources</id>
  498. <phase>generate-resources</phase>
  499. <goals>
  500. <goal>add-resource</goal>
  501. </goals>
  502. <configuration>
  503. <resources>
  504. <resource>
  505. <directory>${dependency.unpack.directory}</directory>
  506. <filtering>false</filtering>
  507. </resource>
  508. </resources>
  509. </configuration>
  510. </execution>
  511. <execution>
  512. <id>parse-version</id>
  513. <goals>
  514. <goal>parse-version</goal>
  515. </goals>
  516. </execution>
  517. </executions>
  518. </plugin>
  519. </plugins>
  520. </build>
  521. <profiles>
  522. <profile>
  523. <!-- Profile is triggered unless apiDiff property is defined:
  524. always except "apicmp" profile which is disjoint with this profile
  525. !-->
  526. <id>default</id>
  527. <activation>
  528. <property>
  529. <name>!apiDiff</name>
  530. </property>
  531. </activation>
  532. <modules>
  533. <module>buildhelpers</module>
  534. <module>shared</module>
  535. <module>push</module>
  536. <module>server</module>
  537. <module>client</module>
  538. <module>client-compiler</module>
  539. <module>client-compiled</module>
  540. <module>themes</module>
  541. <module>widgets</module>
  542. <module>uitest-common</module>
  543. <module>uitest</module>
  544. <module>liferay</module>
  545. <module>all</module>
  546. <module>compatibility-server</module>
  547. <module>compatibility-client</module>
  548. <module>compatibility-client-compiled</module>
  549. <module>compatibility-shared</module>
  550. <module>compatibility-themes</module>
  551. <!-- Nexus staging bug needs the last module to be deployed. -->
  552. <module>bom</module>
  553. </modules>
  554. </profile>
  555. <profile>
  556. <id>slowtest</id>
  557. <modules>
  558. <module>test</module>
  559. </modules>
  560. </profile>
  561. <profile>
  562. <id>release</id>
  563. <activation>
  564. <activeByDefault>false</activeByDefault>
  565. </activation>
  566. <properties>
  567. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  568. </properties>
  569. <build>
  570. <plugins>
  571. <plugin>
  572. <artifactId>maven-source-plugin</artifactId>
  573. <executions>
  574. <execution>
  575. <id>sources-jar</id>
  576. <phase>package</phase>
  577. <goals>
  578. <goal>jar</goal>
  579. </goals>
  580. <configuration>
  581. <!-- Only include java files -->
  582. <includes>
  583. <include>**/*.java</include>
  584. </includes>
  585. </configuration>
  586. </execution>
  587. </executions>
  588. </plugin>
  589. <plugin>
  590. <artifactId>maven-javadoc-plugin</artifactId>
  591. <version>2.10.3</version>
  592. <executions>
  593. <execution>
  594. <id>generate-javadoc</id>
  595. <goals>
  596. <goal>jar</goal>
  597. </goals>
  598. <configuration>
  599. <failOnError>false</failOnError>
  600. </configuration>
  601. </execution>
  602. </executions>
  603. </plugin>
  604. <plugin>
  605. <groupId>org.sonatype.plugins</groupId>
  606. <artifactId>nexus-staging-maven-plugin</artifactId>
  607. <version>1.6.7</version>
  608. <extensions>true</extensions>
  609. </plugin>
  610. </plugins>
  611. </build>
  612. </profile>
  613. <profile>
  614. <!-- Profile is triggered if apiDiff property is defined:
  615. this profile is disjoint with default profile.
  616. It allows to prevent running build for all available modules
  617. but restricts a number of modules to specified here only
  618. (which allows to avoid long time compilation for projects
  619. that are not needed since japicmp works with compiled classes).
  620. !-->
  621. <id>apicmp</id>
  622. <activation>
  623. <property>
  624. <name>apiDiff</name>
  625. </property>
  626. </activation>
  627. <modules>
  628. <module>server</module>
  629. <module>push</module>
  630. <module>client</module>
  631. <module>compatibility-server</module>
  632. <module>compatibility-client</module>
  633. <module>client-compiler</module>
  634. <module>shared</module>
  635. <module>compatibility-shared</module>
  636. </modules>
  637. <build>
  638. <plugins>
  639. <plugin>
  640. <groupId>com.github.siom79.japicmp</groupId>
  641. <artifactId>japicmp-maven-plugin</artifactId>
  642. <configuration>
  643. <oldVersion>
  644. <dependency>
  645. <groupId>${project.groupId}</groupId>
  646. <artifactId>${project.artifactId}</artifactId>
  647. <version>${vaadin.api.reference.version}</version>
  648. <type>jar</type>
  649. </dependency>
  650. </oldVersion>
  651. <newVersion>
  652. <file>
  653. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  654. </file>
  655. </newVersion>
  656. <parameter>
  657. <ignoreMissingClasses>true</ignoreMissingClasses>
  658. <onlyModified>true</onlyModified>
  659. <skipDiffReport>true</skipDiffReport>
  660. <skipXmlReport>true</skipXmlReport>
  661. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  662. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  663. </parameter>
  664. </configuration>
  665. <executions>
  666. <execution>
  667. <phase>verify</phase>
  668. <goals>
  669. <goal>cmp</goal>
  670. </goals>
  671. </execution>
  672. </executions>
  673. </plugin>
  674. </plugins>
  675. </build>
  676. </profile>
  677. <profile>
  678. <id>measurements</id>
  679. <activation>
  680. <activeByDefault>false</activeByDefault>
  681. </activation>
  682. <properties>
  683. <skipTests>true</skipTests>
  684. </properties>
  685. </profile>
  686. </profiles>
  687. </project>