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

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