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.

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