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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  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. <scope>provided</scope>
  276. </dependency>
  277. </dependencies>
  278. </dependencyManagement>
  279. <!-- Common test dependencies -->
  280. <dependencies>
  281. <dependency>
  282. <groupId>junit</groupId>
  283. <artifactId>junit</artifactId>
  284. <scope>test</scope>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.mockito</groupId>
  288. <artifactId>mockito-core</artifactId>
  289. <scope>test</scope>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.hamcrest</groupId>
  293. <artifactId>hamcrest-all</artifactId>
  294. <scope>test</scope>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.easymock</groupId>
  298. <artifactId>easymock</artifactId>
  299. <scope>test</scope>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.hibernate</groupId>
  303. <artifactId>hibernate-validator</artifactId>
  304. <scope>test</scope>
  305. </dependency>
  306. </dependencies>
  307. <build>
  308. <pluginManagement>
  309. <plugins>
  310. <plugin>
  311. <artifactId>maven-clean-plugin</artifactId>
  312. <version>3.0.0</version>
  313. </plugin>
  314. <plugin>
  315. <artifactId>maven-compiler-plugin</artifactId>
  316. <version>3.5.1</version>
  317. </plugin>
  318. <plugin>
  319. <artifactId>maven-deploy-plugin</artifactId>
  320. <version>2.8.2</version>
  321. </plugin>
  322. <plugin>
  323. <artifactId>maven-install-plugin</artifactId>
  324. <version>2.5.2</version>
  325. </plugin>
  326. <plugin>
  327. <artifactId>maven-resources-plugin</artifactId>
  328. <!-- Downgraded due to filtering related bug -->
  329. <version>2.6</version>
  330. </plugin>
  331. <plugin>
  332. <artifactId>maven-site-plugin</artifactId>
  333. <version>3.5</version>
  334. </plugin>
  335. <plugin>
  336. <artifactId>maven-jar-plugin</artifactId>
  337. <version>2.6</version>
  338. </plugin>
  339. <plugin>
  340. <artifactId>maven-assembly-plugin</artifactId>
  341. <version>2.6</version>
  342. </plugin>
  343. <plugin>
  344. <artifactId>maven-surefire-plugin</artifactId>
  345. <version>2.19.1</version>
  346. </plugin>
  347. <plugin>
  348. <artifactId>maven-failsafe-plugin</artifactId>
  349. <version>2.19.1</version>
  350. </plugin>
  351. <plugin>
  352. <groupId>com.github.klieber</groupId>
  353. <artifactId>phantomjs-maven-plugin</artifactId>
  354. <version>0.7</version>
  355. </plugin>
  356. <plugin>
  357. <artifactId>maven-antrun-plugin</artifactId>
  358. <version>1.8</version>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.felix</groupId>
  362. <artifactId>maven-bundle-plugin</artifactId>
  363. <version>3.0.1</version>
  364. </plugin>
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-dependency-plugin</artifactId>
  368. <version>2.10</version>
  369. <configuration>
  370. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  371. <overWriteReleases>false</overWriteReleases>
  372. <overWriteSnapshots>true</overWriteSnapshots>
  373. </configuration>
  374. </plugin>
  375. <plugin>
  376. <groupId>org.codehaus.mojo</groupId>
  377. <artifactId>exec-maven-plugin</artifactId>
  378. <version>1.4.0</version>
  379. </plugin>
  380. <plugin>
  381. <groupId>org.codehaus.mojo</groupId>
  382. <artifactId>versions-maven-plugin</artifactId>
  383. <version>2.3</version>
  384. </plugin>
  385. <plugin>
  386. <groupId>org.codehaus.mojo</groupId>
  387. <artifactId>build-helper-maven-plugin</artifactId>
  388. <version>1.10</version>
  389. </plugin>
  390. <plugin>
  391. <artifactId>maven-source-plugin</artifactId>
  392. <version>3.0.0</version>
  393. </plugin>
  394. <plugin>
  395. <groupId>com.vaadin</groupId>
  396. <artifactId>vaadin-maven-plugin</artifactId>
  397. <version>${vaadin.plugin.version}</version>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.apache.maven.plugins</groupId>
  401. <artifactId>maven-checkstyle-plugin</artifactId>
  402. <version>2.17</version>
  403. <dependencies>
  404. <!-- Needed because of a JavadocMethodCheck bug in
  405. 6.11 -->
  406. <dependency>
  407. <groupId>com.puppycrawl.tools</groupId>
  408. <artifactId>checkstyle</artifactId>
  409. <version>6.17</version>
  410. </dependency>
  411. </dependencies>
  412. <configuration>
  413. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  414. <headerLocation>../checkstyle/header</headerLocation>
  415. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  416. <encoding>UTF-8</encoding>
  417. <consoleOutput>false</consoleOutput>
  418. <failsOnError>false</failsOnError>
  419. <linkXRef>false</linkXRef>
  420. </configuration>
  421. </plugin>
  422. <plugin>
  423. <groupId>org.codehaus.mojo</groupId>
  424. <artifactId>animal-sniffer-maven-plugin</artifactId>
  425. <version>1.15</version>
  426. </plugin>
  427. <plugin>
  428. <groupId>org.eclipse.m2e</groupId>
  429. <artifactId>lifecycle-mapping</artifactId>
  430. <version>1.0.0</version>
  431. <configuration>
  432. <lifecycleMappingMetadata>
  433. <pluginExecutions>
  434. <pluginExecution>
  435. <pluginExecutionFilter>
  436. <groupId>
  437. org.apache.maven.plugins
  438. </groupId>
  439. <artifactId>
  440. maven-antrun-plugin
  441. </artifactId>
  442. <versionRange>
  443. [1.8,)
  444. </versionRange>
  445. <goals>
  446. <goal>run</goal>
  447. </goals>
  448. </pluginExecutionFilter>
  449. <action>
  450. <ignore></ignore>
  451. </action>
  452. </pluginExecution>
  453. <pluginExecution>
  454. <pluginExecutionFilter>
  455. <groupId>
  456. com.github.klieber
  457. </groupId>
  458. <artifactId>
  459. phantomjs-maven-plugin
  460. </artifactId>
  461. <versionRange>
  462. [0.7,)
  463. </versionRange>
  464. <goals>
  465. <goal>install</goal>
  466. </goals>
  467. </pluginExecutionFilter>
  468. <action>
  469. <ignore></ignore>
  470. </action>
  471. </pluginExecution>
  472. </pluginExecutions>
  473. </lifecycleMappingMetadata>
  474. </configuration>
  475. </plugin>
  476. </plugins>
  477. </pluginManagement>
  478. <plugins>
  479. <plugin>
  480. <groupId>com.marvinformatics.formatter</groupId>
  481. <artifactId>formatter-maven-plugin</artifactId>
  482. <version>1.8.1</version>
  483. <configuration>
  484. <configFile>classpath:/eclipse/VaadinJavaConventions.xml</configFile>
  485. <!-- Provide a dummy JS config file to avoid errors -->
  486. <configJsFile>classpath:/eclipse/VaadinJavaConventions.xml</configJsFile>
  487. </configuration>
  488. <dependencies>
  489. <dependency>
  490. <groupId>${project.groupId}</groupId>
  491. <artifactId>vaadin-buildhelpers</artifactId>
  492. <version>${project.version}</version>
  493. </dependency>
  494. </dependencies>
  495. </plugin>
  496. <plugin>
  497. <groupId>org.codehaus.mojo</groupId>
  498. <artifactId>animal-sniffer-maven-plugin</artifactId>
  499. <executions>
  500. <execution>
  501. <id>java8compatibility</id>
  502. <phase>test</phase>
  503. <goals>
  504. <goal>check</goal>
  505. </goals>
  506. <configuration>
  507. <signature>
  508. <groupId>org.codehaus.mojo.signature</groupId>
  509. <artifactId>java18</artifactId>
  510. <version>1.0</version>
  511. </signature>
  512. <ignores>
  513. <ignore>com.google.gwt.*</ignore>
  514. </ignores>
  515. </configuration>
  516. </execution>
  517. </executions>
  518. </plugin>
  519. <!-- Unpacked Dependencies as resource -->
  520. <plugin>
  521. <groupId>org.codehaus.mojo</groupId>
  522. <artifactId>build-helper-maven-plugin</artifactId>
  523. <!-- Needs extra resource folder for unpacked dependencies -->
  524. <executions>
  525. <execution>
  526. <id>add-dependency-resources</id>
  527. <phase>generate-resources</phase>
  528. <goals>
  529. <goal>add-resource</goal>
  530. </goals>
  531. <configuration>
  532. <resources>
  533. <resource>
  534. <directory>${dependency.unpack.directory}</directory>
  535. <filtering>false</filtering>
  536. </resource>
  537. </resources>
  538. </configuration>
  539. </execution>
  540. <execution>
  541. <id>parse-version</id>
  542. <goals>
  543. <goal>parse-version</goal>
  544. </goals>
  545. </execution>
  546. </executions>
  547. </plugin>
  548. </plugins>
  549. </build>
  550. <profiles>
  551. <profile>
  552. <!-- Default build profile that runs all modules. -->
  553. <id>default</id>
  554. <activation>
  555. <activeByDefault>true</activeByDefault>
  556. </activation>
  557. <modules>
  558. <module>buildhelpers</module>
  559. <module>shared</module>
  560. <module>push</module>
  561. <module>server</module>
  562. <module>client</module>
  563. <module>client-compiler</module>
  564. <module>client-compiled</module>
  565. <module>themes</module>
  566. <module>uitest-common</module>
  567. <module>uitest</module>
  568. <module>liferay</module>
  569. <module>all</module>
  570. <module>compatibility-server</module>
  571. <module>compatibility-client</module>
  572. <module>compatibility-client-compiled</module>
  573. <module>compatibility-shared</module>
  574. <module>compatibility-themes</module>
  575. <module>testbench-api</module>
  576. <module>bom</module>
  577. </modules>
  578. </profile>
  579. <profile>
  580. <!-- Profile for running integration tests. Vaadin version to
  581. be tested can be defined with property vaadin.version -->
  582. <id>slowtest</id>
  583. <modules>
  584. <module>test</module>
  585. </modules>
  586. </profile>
  587. <profile>
  588. <!-- This profile builds the assembled parts of the Framework
  589. for website release. Should be run after running the release profile -->
  590. <id>release-assemblies</id>
  591. <modules>
  592. <module>liferay</module>
  593. <module>all</module>
  594. </modules>
  595. </profile>
  596. <profile>
  597. <!-- Release build only builds artifacts that are deployed or
  598. needed by them -->
  599. <id>release</id>
  600. <properties>
  601. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  602. </properties>
  603. <modules>
  604. <module>buildhelpers</module>
  605. <module>shared</module>
  606. <module>push</module>
  607. <module>server</module>
  608. <module>client</module>
  609. <module>client-compiler</module>
  610. <module>client-compiled</module>
  611. <module>themes</module>
  612. <module>compatibility-server</module>
  613. <module>compatibility-client</module>
  614. <module>compatibility-client-compiled</module>
  615. <module>compatibility-shared</module>
  616. <module>compatibility-themes</module>
  617. <!-- Nexus staging bug needs the last module to be deployed. -->
  618. <module>testbench-api</module>
  619. <!-- BOM is built and released separately -->
  620. </modules>
  621. <build>
  622. <plugins>
  623. <plugin>
  624. <artifactId>maven-source-plugin</artifactId>
  625. <executions>
  626. <execution>
  627. <id>sources-jar</id>
  628. <phase>package</phase>
  629. <goals>
  630. <goal>jar</goal>
  631. </goals>
  632. <configuration>
  633. <!-- Only include java files -->
  634. <includes>
  635. <include>**/*.java</include>
  636. </includes>
  637. </configuration>
  638. </execution>
  639. </executions>
  640. </plugin>
  641. <plugin>
  642. <artifactId>maven-javadoc-plugin</artifactId>
  643. <version>2.10.3</version>
  644. <executions>
  645. <execution>
  646. <id>generate-javadoc</id>
  647. <goals>
  648. <goal>jar</goal>
  649. </goals>
  650. <configuration>
  651. <failOnError>false</failOnError>
  652. </configuration>
  653. </execution>
  654. </executions>
  655. </plugin>
  656. <plugin>
  657. <groupId>org.sonatype.plugins</groupId>
  658. <artifactId>nexus-staging-maven-plugin</artifactId>
  659. <version>1.6.7</version>
  660. <extensions>true</extensions>
  661. </plugin>
  662. </plugins>
  663. </build>
  664. </profile>
  665. <profile>
  666. <!-- This profile is disjoint with default profile. It allows
  667. to prevent running build for all available modules but restricts a number
  668. of modules to specified here only (which allows to avoid long time compilation
  669. for projects that are not needed since japicmp works with compiled classes).
  670. ! -->
  671. <id>apicmp</id>
  672. <modules>
  673. <module>server</module>
  674. <module>push</module>
  675. <module>client</module>
  676. <module>compatibility-server</module>
  677. <module>compatibility-client</module>
  678. <module>client-compiler</module>
  679. <module>shared</module>
  680. <module>compatibility-shared</module>
  681. </modules>
  682. <build>
  683. <plugins>
  684. <plugin>
  685. <groupId>com.github.siom79.japicmp</groupId>
  686. <artifactId>japicmp-maven-plugin</artifactId>
  687. <configuration>
  688. <oldVersion>
  689. <dependency>
  690. <groupId>${project.groupId}</groupId>
  691. <artifactId>${project.artifactId}</artifactId>
  692. <version>${vaadin.api.reference.version}</version>
  693. <type>jar</type>
  694. </dependency>
  695. </oldVersion>
  696. <newVersion>
  697. <file>
  698. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  699. </file>
  700. </newVersion>
  701. <parameter>
  702. <ignoreMissingClasses>true</ignoreMissingClasses>
  703. <onlyModified>true</onlyModified>
  704. <skipDiffReport>true</skipDiffReport>
  705. <skipXmlReport>true</skipXmlReport>
  706. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  707. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  708. </parameter>
  709. </configuration>
  710. <executions>
  711. <execution>
  712. <phase>verify</phase>
  713. <goals>
  714. <goal>cmp</goal>
  715. </goals>
  716. </execution>
  717. </executions>
  718. </plugin>
  719. </plugins>
  720. </build>
  721. </profile>
  722. <profile>
  723. <!-- Testing profile for measurement tests. Use along with default
  724. profile -->
  725. <id>measurements</id>
  726. <properties>
  727. <skipTests>true</skipTests>
  728. </properties>
  729. </profile>
  730. </profiles>
  731. </project>