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.

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