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

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