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

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