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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876
  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.1.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.vaadin2</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. <vaadin.testbench.version>5.0.0.beta5</vaadin.testbench.version>
  50. </properties>
  51. <!-- TODO: remove this after maven plugin has been released -->
  52. <pluginRepositories>
  53. <pluginRepository>
  54. <id>vaadin-prereleases</id>
  55. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  56. </pluginRepository>
  57. <pluginRepository>
  58. <id>vaadin-snapshots</id>
  59. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  60. <releases>
  61. <enabled>false</enabled>
  62. </releases>
  63. <snapshots>
  64. <enabled>true</enabled>
  65. </snapshots>
  66. </pluginRepository>
  67. </pluginRepositories>
  68. <organization>
  69. <name>Vaadin Ltd</name>
  70. </organization>
  71. <url>https://vaadin.com/</url>
  72. <description>Vaadin Framework Root Pom</description>
  73. <licenses>
  74. <license>
  75. <name>Apache License Version 2.0</name>
  76. <distribution>repo</distribution>
  77. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  78. </license>
  79. </licenses>
  80. <scm>
  81. <connection>scm:git:git://github.com/vaadin/framework.git</connection>
  82. <developerConnection>scm:git:git://github.com/vaadin/framework.git</developerConnection>
  83. <url>https://github.com/vaadin/framework</url>
  84. </scm>
  85. <dependencyManagement>
  86. <dependencies>
  87. <dependency>
  88. <groupId>commons-io</groupId>
  89. <artifactId>commons-io</artifactId>
  90. <version>2.4</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-cli</groupId>
  94. <artifactId>commons-cli</artifactId>
  95. <version>1.2</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-lang</groupId>
  99. <artifactId>commons-lang</artifactId>
  100. <version>2.6</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>commons-codec</groupId>
  104. <artifactId>commons-codec</artifactId>
  105. <version>1.5</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-log4j12</artifactId>
  110. <version>1.6.1</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.vaadin</groupId>
  114. <artifactId>vaadin-sass-compiler</artifactId>
  115. <version>${vaadin.sass.version}</version>
  116. <exclusions>
  117. <!-- No need to have the minifier included for development
  118. mode on-the-fly compilation -->
  119. <exclusion>
  120. <groupId>com.yahoo.platform.yui</groupId>
  121. <artifactId>yuicompressor</artifactId>
  122. </exclusion>
  123. </exclusions>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.carrotsearch</groupId>
  127. <artifactId>smartsprites</artifactId>
  128. <version>0.2.10</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.google.gwt</groupId>
  132. <artifactId>gwt-dev</artifactId>
  133. <version>${vaadin.gwt.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.google.gwt</groupId>
  137. <artifactId>gwt-elemental</artifactId>
  138. <version>${vaadin.gwt.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.google.gwt</groupId>
  142. <artifactId>gwt-servlet</artifactId>
  143. <version>${vaadin.gwt.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.vaadin.external.atmosphere</groupId>
  147. <artifactId>atmosphere-runtime</artifactId>
  148. <version>${atmosphere.runtime.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.vaadin.external.atmosphere.client</groupId>
  152. <artifactId>javascript</artifactId>
  153. <type>war</type>
  154. <version>2.3.2.vaadin1</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>junit</groupId>
  158. <artifactId>junit</artifactId>
  159. <version>4.12</version>
  160. <exclusions>
  161. <exclusion>
  162. <artifactId>hamcrest-core</artifactId>
  163. <groupId>org.hamcrest</groupId>
  164. </exclusion>
  165. </exclusions>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.easymock</groupId>
  169. <artifactId>easymock</artifactId>
  170. <version>3.0</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>javax.servlet</groupId>
  174. <artifactId>javax.servlet-api</artifactId>
  175. <version>3.0.1</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>javax.portlet</groupId>
  179. <artifactId>portlet-api</artifactId>
  180. <version>${javax.portlet.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.google.appengine</groupId>
  184. <artifactId>appengine-api-1.0-sdk</artifactId>
  185. <version>1.7.7</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>javax.validation</groupId>
  189. <artifactId>validation-api</artifactId>
  190. <version>${javax.validation.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.hibernate</groupId>
  194. <artifactId>hibernate-validator</artifactId>
  195. <version>4.2.0.Final</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.jsoup</groupId>
  199. <artifactId>jsoup</artifactId>
  200. <version>${jsoup.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.mockito</groupId>
  204. <artifactId>mockito-core</artifactId>
  205. <version>1.9.5</version>
  206. <exclusions>
  207. <exclusion>
  208. <artifactId>hamcrest-core</artifactId>
  209. <groupId>org.hamcrest</groupId>
  210. </exclusion>
  211. </exclusions>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.hamcrest</groupId>
  215. <artifactId>hamcrest-all</artifactId>
  216. <version>1.3</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.hsqldb</groupId>
  220. <artifactId>hsqldb</artifactId>
  221. <version>2.2.6</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.vaadin</groupId>
  225. <artifactId>vaadin-testbench</artifactId>
  226. <version>${vaadin.testbench.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.eclipse.jetty</groupId>
  230. <artifactId>jetty-server</artifactId>
  231. <version>${jetty.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.eclipse.jetty</groupId>
  235. <artifactId>jetty-servlets</artifactId>
  236. <version>${jetty.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.eclipse.jetty.websocket</groupId>
  240. <artifactId>websocket-server</artifactId>
  241. <version>${jetty.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.eclipse.jetty</groupId>
  245. <artifactId>jetty-webapp</artifactId>
  246. <version>${jetty.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.eclipse.jetty</groupId>
  250. <artifactId>jetty-util</artifactId>
  251. <version>${jetty.version}</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.eclipse.jetty</groupId>
  255. <artifactId>jetty-proxy</artifactId>
  256. <version>${jetty.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.jcraft</groupId>
  260. <artifactId>jsch</artifactId>
  261. <version>0.1.52</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.eclipse.jgit</groupId>
  265. <artifactId>org.eclipse.jgit</artifactId>
  266. <version>3.5.1.201410131835-r</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.github.siom79.japicmp</groupId>
  270. <artifactId>japicmp-maven-plugin</artifactId>
  271. <version>0.9.1</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.vaadin</groupId>
  275. <artifactId>vaadin-icons</artifactId>
  276. <version>${vaadin.icons.version}</version>
  277. <scope>provided</scope>
  278. </dependency>
  279. </dependencies>
  280. </dependencyManagement>
  281. <!-- Common test dependencies -->
  282. <dependencies>
  283. <dependency>
  284. <groupId>junit</groupId>
  285. <artifactId>junit</artifactId>
  286. <scope>test</scope>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.mockito</groupId>
  290. <artifactId>mockito-core</artifactId>
  291. <scope>test</scope>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.hamcrest</groupId>
  295. <artifactId>hamcrest-all</artifactId>
  296. <scope>test</scope>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.easymock</groupId>
  300. <artifactId>easymock</artifactId>
  301. <scope>test</scope>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.hibernate</groupId>
  305. <artifactId>hibernate-validator</artifactId>
  306. <scope>test</scope>
  307. </dependency>
  308. </dependencies>
  309. <build>
  310. <pluginManagement>
  311. <plugins>
  312. <plugin>
  313. <artifactId>maven-clean-plugin</artifactId>
  314. <version>3.0.0</version>
  315. </plugin>
  316. <plugin>
  317. <artifactId>maven-compiler-plugin</artifactId>
  318. <version>3.5.1</version>
  319. </plugin>
  320. <plugin>
  321. <artifactId>maven-deploy-plugin</artifactId>
  322. <version>2.8.2</version>
  323. </plugin>
  324. <plugin>
  325. <artifactId>maven-install-plugin</artifactId>
  326. <version>2.5.2</version>
  327. </plugin>
  328. <plugin>
  329. <artifactId>maven-resources-plugin</artifactId>
  330. <!-- Downgraded due to filtering related bug -->
  331. <version>2.6</version>
  332. </plugin>
  333. <plugin>
  334. <artifactId>maven-site-plugin</artifactId>
  335. <version>3.5</version>
  336. </plugin>
  337. <plugin>
  338. <artifactId>maven-jar-plugin</artifactId>
  339. <version>2.6</version>
  340. </plugin>
  341. <plugin>
  342. <artifactId>maven-assembly-plugin</artifactId>
  343. <version>2.6</version>
  344. </plugin>
  345. <plugin>
  346. <artifactId>maven-surefire-plugin</artifactId>
  347. <version>2.19.1</version>
  348. </plugin>
  349. <plugin>
  350. <artifactId>maven-failsafe-plugin</artifactId>
  351. <version>2.19.1</version>
  352. </plugin>
  353. <plugin>
  354. <groupId>com.github.klieber</groupId>
  355. <artifactId>phantomjs-maven-plugin</artifactId>
  356. <version>0.7</version>
  357. </plugin>
  358. <plugin>
  359. <artifactId>maven-antrun-plugin</artifactId>
  360. <version>1.8</version>
  361. </plugin>
  362. <plugin>
  363. <groupId>org.apache.felix</groupId>
  364. <artifactId>maven-bundle-plugin</artifactId>
  365. <version>3.0.1</version>
  366. </plugin>
  367. <plugin>
  368. <groupId>org.apache.maven.plugins</groupId>
  369. <artifactId>maven-dependency-plugin</artifactId>
  370. <version>2.10</version>
  371. <configuration>
  372. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  373. <overWriteReleases>false</overWriteReleases>
  374. <overWriteSnapshots>true</overWriteSnapshots>
  375. </configuration>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.codehaus.mojo</groupId>
  379. <artifactId>exec-maven-plugin</artifactId>
  380. <version>1.4.0</version>
  381. </plugin>
  382. <plugin>
  383. <groupId>org.codehaus.mojo</groupId>
  384. <artifactId>versions-maven-plugin</artifactId>
  385. <version>2.3</version>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.codehaus.mojo</groupId>
  389. <artifactId>build-helper-maven-plugin</artifactId>
  390. <version>1.10</version>
  391. </plugin>
  392. <plugin>
  393. <artifactId>maven-source-plugin</artifactId>
  394. <version>3.0.0</version>
  395. </plugin>
  396. <plugin>
  397. <groupId>com.vaadin</groupId>
  398. <artifactId>vaadin-maven-plugin</artifactId>
  399. <version>${vaadin.plugin.version}</version>
  400. </plugin>
  401. <plugin>
  402. <groupId>org.apache.maven.plugins</groupId>
  403. <artifactId>maven-checkstyle-plugin</artifactId>
  404. <version>2.17</version>
  405. <dependencies>
  406. <!-- Needed because of a JavadocMethodCheck bug in
  407. 6.11 -->
  408. <dependency>
  409. <groupId>com.puppycrawl.tools</groupId>
  410. <artifactId>checkstyle</artifactId>
  411. <version>6.17</version>
  412. </dependency>
  413. </dependencies>
  414. <configuration>
  415. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  416. <headerLocation>../checkstyle/header</headerLocation>
  417. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  418. <encoding>UTF-8</encoding>
  419. <consoleOutput>false</consoleOutput>
  420. <failsOnError>false</failsOnError>
  421. <linkXRef>false</linkXRef>
  422. </configuration>
  423. </plugin>
  424. <plugin>
  425. <groupId>org.codehaus.mojo</groupId>
  426. <artifactId>animal-sniffer-maven-plugin</artifactId>
  427. <version>1.15</version>
  428. </plugin>
  429. <plugin>
  430. <groupId>org.eclipse.m2e</groupId>
  431. <artifactId>lifecycle-mapping</artifactId>
  432. <version>1.0.0</version>
  433. <configuration>
  434. <lifecycleMappingMetadata>
  435. <pluginExecutions>
  436. <pluginExecution>
  437. <pluginExecutionFilter>
  438. <groupId>
  439. org.apache.maven.plugins
  440. </groupId>
  441. <artifactId>
  442. maven-antrun-plugin
  443. </artifactId>
  444. <versionRange>
  445. [1.8,)
  446. </versionRange>
  447. <goals>
  448. <goal>run</goal>
  449. </goals>
  450. </pluginExecutionFilter>
  451. <action>
  452. <ignore></ignore>
  453. </action>
  454. </pluginExecution>
  455. <pluginExecution>
  456. <pluginExecutionFilter>
  457. <groupId>
  458. com.github.klieber
  459. </groupId>
  460. <artifactId>
  461. phantomjs-maven-plugin
  462. </artifactId>
  463. <versionRange>
  464. [0.7,)
  465. </versionRange>
  466. <goals>
  467. <goal>install</goal>
  468. </goals>
  469. </pluginExecutionFilter>
  470. <action>
  471. <ignore></ignore>
  472. </action>
  473. </pluginExecution>
  474. </pluginExecutions>
  475. </lifecycleMappingMetadata>
  476. </configuration>
  477. </plugin>
  478. </plugins>
  479. </pluginManagement>
  480. <plugins>
  481. <plugin>
  482. <groupId>com.marvinformatics.formatter</groupId>
  483. <artifactId>formatter-maven-plugin</artifactId>
  484. <version>1.8.1</version>
  485. <configuration>
  486. <configFile>classpath:/eclipse/VaadinJavaConventions.xml</configFile>
  487. <!-- Provide a dummy JS config file to avoid errors -->
  488. <configJsFile>classpath:/eclipse/VaadinJavaConventions.xml</configJsFile>
  489. </configuration>
  490. <dependencies>
  491. <dependency>
  492. <groupId>${project.groupId}</groupId>
  493. <artifactId>vaadin-buildhelpers</artifactId>
  494. <version>${project.version}</version>
  495. </dependency>
  496. </dependencies>
  497. </plugin>
  498. <plugin>
  499. <groupId>org.codehaus.mojo</groupId>
  500. <artifactId>animal-sniffer-maven-plugin</artifactId>
  501. <executions>
  502. <execution>
  503. <id>java8compatibility</id>
  504. <phase>test</phase>
  505. <goals>
  506. <goal>check</goal>
  507. </goals>
  508. <configuration>
  509. <signature>
  510. <groupId>org.codehaus.mojo.signature</groupId>
  511. <artifactId>java18</artifactId>
  512. <version>1.0</version>
  513. </signature>
  514. <ignores>
  515. <ignore>com.google.gwt.*</ignore>
  516. </ignores>
  517. </configuration>
  518. </execution>
  519. </executions>
  520. </plugin>
  521. <!-- Unpacked Dependencies as resource -->
  522. <plugin>
  523. <groupId>org.codehaus.mojo</groupId>
  524. <artifactId>build-helper-maven-plugin</artifactId>
  525. <!-- Needs extra resource folder for unpacked dependencies -->
  526. <executions>
  527. <execution>
  528. <id>add-dependency-resources</id>
  529. <phase>generate-resources</phase>
  530. <goals>
  531. <goal>add-resource</goal>
  532. </goals>
  533. <configuration>
  534. <resources>
  535. <resource>
  536. <directory>${dependency.unpack.directory}</directory>
  537. <filtering>false</filtering>
  538. </resource>
  539. </resources>
  540. </configuration>
  541. </execution>
  542. <execution>
  543. <id>parse-version</id>
  544. <goals>
  545. <goal>parse-version</goal>
  546. </goals>
  547. </execution>
  548. </executions>
  549. </plugin>
  550. </plugins>
  551. </build>
  552. <profiles>
  553. <profile>
  554. <!-- Default build profile that runs all modules. -->
  555. <id>default</id>
  556. <activation>
  557. <activeByDefault>true</activeByDefault>
  558. </activation>
  559. <modules>
  560. <module>buildhelpers</module>
  561. <module>shared</module>
  562. <module>push</module>
  563. <module>server</module>
  564. <module>client</module>
  565. <module>client-compiler</module>
  566. <module>client-compiled</module>
  567. <module>themes</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. </plugins>
  658. </build>
  659. </profile>
  660. <profile>
  661. <!-- Pre-release build only builds artifacts that are deployed or
  662. needed by them -->
  663. <id>prerelease</id>
  664. <properties>
  665. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  666. </properties>
  667. <modules>
  668. <module>buildhelpers</module>
  669. <module>shared</module>
  670. <module>push</module>
  671. <module>server</module>
  672. <module>client</module>
  673. <module>client-compiler</module>
  674. <module>client-compiled</module>
  675. <module>themes</module>
  676. <module>compatibility-server</module>
  677. <module>compatibility-client</module>
  678. <module>compatibility-client-compiled</module>
  679. <module>compatibility-shared</module>
  680. <module>compatibility-themes</module>
  681. <!-- Nexus staging bug needs the last module to be deployed. -->
  682. <module>testbench-api</module>
  683. <!-- BOM is built and released separately -->
  684. </modules>
  685. <build>
  686. <plugins>
  687. <plugin>
  688. <artifactId>maven-source-plugin</artifactId>
  689. <executions>
  690. <execution>
  691. <id>sources-jar</id>
  692. <phase>package</phase>
  693. <goals>
  694. <goal>jar</goal>
  695. </goals>
  696. <configuration>
  697. <!-- Only include java files -->
  698. <includes>
  699. <include>**/*.java</include>
  700. </includes>
  701. </configuration>
  702. </execution>
  703. </executions>
  704. </plugin>
  705. <plugin>
  706. <artifactId>maven-javadoc-plugin</artifactId>
  707. <version>2.10.3</version>
  708. <executions>
  709. <execution>
  710. <id>generate-javadoc</id>
  711. <goals>
  712. <goal>jar</goal>
  713. </goals>
  714. <configuration>
  715. <failOnError>false</failOnError>
  716. </configuration>
  717. </execution>
  718. </executions>
  719. </plugin>
  720. </plugins>
  721. </build>
  722. </profile>
  723. <profile>
  724. <!-- Snapshot build only builds artifacts that are deployed or
  725. needed by them -->
  726. <id>snapshot</id>
  727. <properties>
  728. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  729. </properties>
  730. <modules>
  731. <module>buildhelpers</module>
  732. <module>shared</module>
  733. <module>push</module>
  734. <module>server</module>
  735. <module>client</module>
  736. <module>client-compiler</module>
  737. <module>client-compiled</module>
  738. <module>themes</module>
  739. <module>compatibility-server</module>
  740. <module>compatibility-client</module>
  741. <module>compatibility-client-compiled</module>
  742. <module>compatibility-shared</module>
  743. <module>compatibility-themes</module>
  744. <module>testbench-api</module>
  745. <module>bom</module>
  746. </modules>
  747. <build>
  748. <plugins>
  749. <plugin>
  750. <artifactId>maven-source-plugin</artifactId>
  751. <executions>
  752. <execution>
  753. <id>sources-jar</id>
  754. <phase>package</phase>
  755. <goals>
  756. <goal>jar</goal>
  757. </goals>
  758. <configuration>
  759. <!-- Only include java files -->
  760. <includes>
  761. <include>**/*.java</include>
  762. </includes>
  763. </configuration>
  764. </execution>
  765. </executions>
  766. </plugin>
  767. <plugin>
  768. <artifactId>maven-javadoc-plugin</artifactId>
  769. <version>2.10.3</version>
  770. <executions>
  771. <execution>
  772. <id>generate-javadoc</id>
  773. <goals>
  774. <goal>jar</goal>
  775. </goals>
  776. <configuration>
  777. <failOnError>false</failOnError>
  778. </configuration>
  779. </execution>
  780. </executions>
  781. </plugin>
  782. </plugins>
  783. </build>
  784. </profile>
  785. <profile>
  786. <!-- This profile is disjoint with default profile. It allows
  787. to prevent running build for all available modules but restricts a number
  788. of modules to specified here only (which allows to avoid long time compilation
  789. for projects that are not needed since japicmp works with compiled classes).
  790. ! -->
  791. <id>apicmp</id>
  792. <modules>
  793. <module>server</module>
  794. <module>push</module>
  795. <module>client</module>
  796. <module>compatibility-server</module>
  797. <module>compatibility-client</module>
  798. <module>client-compiler</module>
  799. <module>shared</module>
  800. <module>compatibility-shared</module>
  801. </modules>
  802. <build>
  803. <plugins>
  804. <plugin>
  805. <groupId>com.github.siom79.japicmp</groupId>
  806. <artifactId>japicmp-maven-plugin</artifactId>
  807. <configuration>
  808. <oldVersion>
  809. <dependency>
  810. <groupId>${project.groupId}</groupId>
  811. <artifactId>${project.artifactId}</artifactId>
  812. <version>${vaadin.api.reference.version}</version>
  813. <type>jar</type>
  814. </dependency>
  815. </oldVersion>
  816. <newVersion>
  817. <file>
  818. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  819. </file>
  820. </newVersion>
  821. <parameter>
  822. <ignoreMissingClasses>true</ignoreMissingClasses>
  823. <onlyModified>true</onlyModified>
  824. <skipDiffReport>true</skipDiffReport>
  825. <skipXmlReport>true</skipXmlReport>
  826. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  827. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  828. </parameter>
  829. </configuration>
  830. <executions>
  831. <execution>
  832. <phase>verify</phase>
  833. <goals>
  834. <goal>cmp</goal>
  835. </goals>
  836. </execution>
  837. </executions>
  838. </plugin>
  839. </plugins>
  840. </build>
  841. </profile>
  842. <profile>
  843. <!-- Testing profile for measurement tests. Use along with default
  844. profile -->
  845. <id>measurements</id>
  846. <properties>
  847. <skipTests>true</skipTests>
  848. </properties>
  849. </profile>
  850. </profiles>
  851. </project>