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

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