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

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