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

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