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

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