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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934
  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.2</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>3.0.1</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.6.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.1</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. <propertyExpansion>config_loc=${basedir}/../checkstyle</propertyExpansion>
  445. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  446. <headerLocation>../checkstyle/header</headerLocation>
  447. <!-- <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation> -->
  448. <encoding>UTF-8</encoding>
  449. <consoleOutput>false</consoleOutput>
  450. <failsOnError>false</failsOnError>
  451. <linkXRef>false</linkXRef>
  452. </configuration>
  453. </plugin>
  454. <plugin>
  455. <groupId>org.codehaus.mojo</groupId>
  456. <artifactId>animal-sniffer-maven-plugin</artifactId>
  457. <version>1.15</version>
  458. </plugin>
  459. <plugin>
  460. <groupId>org.eclipse.m2e</groupId>
  461. <artifactId>lifecycle-mapping</artifactId>
  462. <version>1.0.0</version>
  463. <configuration>
  464. <lifecycleMappingMetadata>
  465. <pluginExecutions>
  466. <pluginExecution>
  467. <pluginExecutionFilter>
  468. <groupId>
  469. org.apache.maven.plugins
  470. </groupId>
  471. <artifactId>
  472. maven-antrun-plugin
  473. </artifactId>
  474. <versionRange>
  475. [1.8,)
  476. </versionRange>
  477. <goals>
  478. <goal>run</goal>
  479. </goals>
  480. </pluginExecutionFilter>
  481. <action>
  482. <ignore></ignore>
  483. </action>
  484. </pluginExecution>
  485. <pluginExecution>
  486. <pluginExecutionFilter>
  487. <groupId>
  488. com.github.klieber
  489. </groupId>
  490. <artifactId>
  491. phantomjs-maven-plugin
  492. </artifactId>
  493. <versionRange>
  494. [0.7,)
  495. </versionRange>
  496. <goals>
  497. <goal>install</goal>
  498. </goals>
  499. </pluginExecutionFilter>
  500. <action>
  501. <ignore></ignore>
  502. </action>
  503. </pluginExecution>
  504. </pluginExecutions>
  505. </lifecycleMappingMetadata>
  506. </configuration>
  507. </plugin>
  508. <plugin>
  509. <groupId>org.apache.felix</groupId>
  510. <artifactId>maven-bundle-plugin</artifactId>
  511. <version>3.3.0</version>
  512. </plugin>
  513. </plugins>
  514. </pluginManagement>
  515. <plugins>
  516. <plugin>
  517. <groupId>com.marvinformatics.formatter</groupId>
  518. <artifactId>formatter-maven-plugin</artifactId>
  519. <version>1.8.1</version>
  520. <configuration>
  521. <configFile>classpath:/eclipse/VaadinJavaConventions.xml</configFile>
  522. <!-- Provide a dummy JS config file to avoid errors -->
  523. <configJsFile>classpath:/eclipse/VaadinJavaConventions.xml</configJsFile>
  524. </configuration>
  525. <dependencies>
  526. <dependency>
  527. <groupId>${project.groupId}</groupId>
  528. <artifactId>vaadin-buildhelpers</artifactId>
  529. <version>${project.version}</version>
  530. </dependency>
  531. </dependencies>
  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>buildhelpers</module>
  596. <module>shared</module>
  597. <module>push</module>
  598. <module>server</module>
  599. <module>client</module>
  600. <module>client-compiler</module>
  601. <module>client-compiled</module>
  602. <module>themes</module>
  603. <module>uitest</module>
  604. <module>liferay</module>
  605. <module>liferay-integration</module>
  606. <module>osgi-integration</module>
  607. <module>all</module>
  608. <module>compatibility-server</module>
  609. <module>compatibility-server-gae</module>
  610. <module>compatibility-client</module>
  611. <module>compatibility-client-compiled</module>
  612. <module>compatibility-shared</module>
  613. <module>compatibility-themes</module>
  614. <module>testbench-api</module>
  615. <module>bom</module>
  616. </modules>
  617. </profile>
  618. <profile>
  619. <!-- Profile for running integration tests. Vaadin version to
  620. be tested can be defined with property vaadin.version -->
  621. <id>slowtest</id>
  622. <modules>
  623. <module>test</module>
  624. </modules>
  625. </profile>
  626. <profile>
  627. <!-- This profile builds the assembled parts of the Framework
  628. for website release. Should be run after running the release profile -->
  629. <id>release-assemblies</id>
  630. <modules>
  631. <module>liferay</module>
  632. <module>all</module>
  633. </modules>
  634. </profile>
  635. <profile>
  636. <!-- Release build only builds artifacts that are deployed or
  637. needed by them -->
  638. <id>release</id>
  639. <properties>
  640. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  641. </properties>
  642. <modules>
  643. <module>buildhelpers</module>
  644. <module>shared</module>
  645. <module>push</module>
  646. <module>server</module>
  647. <module>client</module>
  648. <module>client-compiler</module>
  649. <module>client-compiled</module>
  650. <module>themes</module>
  651. <module>compatibility-server</module>
  652. <module>compatibility-server-gae</module>
  653. <module>compatibility-client</module>
  654. <module>compatibility-client-compiled</module>
  655. <module>compatibility-shared</module>
  656. <module>compatibility-themes</module>
  657. <module>liferay-integration</module>
  658. <module>osgi-integration</module>
  659. <!-- Nexus staging bug needs the last module to be deployed. -->
  660. <module>testbench-api</module>
  661. <!-- BOM is built and released separately -->
  662. </modules>
  663. <build>
  664. <plugins>
  665. <plugin>
  666. <artifactId>maven-source-plugin</artifactId>
  667. <executions>
  668. <execution>
  669. <id>sources-jar</id>
  670. <phase>package</phase>
  671. <goals>
  672. <goal>jar</goal>
  673. </goals>
  674. <configuration>
  675. <!-- Only include java files -->
  676. <includes>
  677. <include>**/*.java</include>
  678. </includes>
  679. </configuration>
  680. </execution>
  681. </executions>
  682. </plugin>
  683. <plugin>
  684. <artifactId>maven-javadoc-plugin</artifactId>
  685. <version>2.10.3</version>
  686. <executions>
  687. <execution>
  688. <id>generate-javadoc</id>
  689. <goals>
  690. <goal>jar</goal>
  691. </goals>
  692. <configuration>
  693. <failOnError>false</failOnError>
  694. </configuration>
  695. </execution>
  696. </executions>
  697. </plugin>
  698. </plugins>
  699. </build>
  700. </profile>
  701. <profile>
  702. <!-- Pre-release build only builds artifacts that are deployed or
  703. needed by them -->
  704. <id>prerelease</id>
  705. <properties>
  706. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  707. </properties>
  708. <modules>
  709. <module>buildhelpers</module>
  710. <module>shared</module>
  711. <module>push</module>
  712. <module>server</module>
  713. <module>client</module>
  714. <module>client-compiler</module>
  715. <module>client-compiled</module>
  716. <module>themes</module>
  717. <module>compatibility-server</module>
  718. <module>compatibility-server-gae</module>
  719. <module>compatibility-client</module>
  720. <module>compatibility-client-compiled</module>
  721. <module>compatibility-shared</module>
  722. <module>compatibility-themes</module>
  723. <module>liferay-integration</module>
  724. <module>osgi-integration</module>
  725. <!-- Nexus staging bug needs the last module to be deployed. -->
  726. <module>testbench-api</module>
  727. <!-- BOM is built and released separately -->
  728. </modules>
  729. <build>
  730. <plugins>
  731. <plugin>
  732. <artifactId>maven-source-plugin</artifactId>
  733. <executions>
  734. <execution>
  735. <id>sources-jar</id>
  736. <phase>package</phase>
  737. <goals>
  738. <goal>jar</goal>
  739. </goals>
  740. <configuration>
  741. <!-- Only include java files -->
  742. <includes>
  743. <include>**/*.java</include>
  744. </includes>
  745. </configuration>
  746. </execution>
  747. </executions>
  748. </plugin>
  749. <plugin>
  750. <artifactId>maven-javadoc-plugin</artifactId>
  751. <version>2.10.3</version>
  752. <executions>
  753. <execution>
  754. <id>generate-javadoc</id>
  755. <goals>
  756. <goal>jar</goal>
  757. </goals>
  758. <configuration>
  759. <failOnError>false</failOnError>
  760. </configuration>
  761. </execution>
  762. </executions>
  763. </plugin>
  764. </plugins>
  765. </build>
  766. </profile>
  767. <profile>
  768. <!-- Snapshot build only builds artifacts that are deployed or
  769. needed by them -->
  770. <id>snapshot</id>
  771. <properties>
  772. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  773. </properties>
  774. <modules>
  775. <module>buildhelpers</module>
  776. <module>shared</module>
  777. <module>push</module>
  778. <module>server</module>
  779. <module>client</module>
  780. <module>client-compiler</module>
  781. <module>client-compiled</module>
  782. <module>themes</module>
  783. <module>compatibility-server</module>
  784. <module>compatibility-server-gae</module>
  785. <module>compatibility-client</module>
  786. <module>compatibility-client-compiled</module>
  787. <module>compatibility-shared</module>
  788. <module>compatibility-themes</module>
  789. <module>liferay-integration</module>
  790. <module>osgi-integration</module>
  791. <module>testbench-api</module>
  792. <module>bom</module>
  793. </modules>
  794. <build>
  795. <plugins>
  796. <plugin>
  797. <artifactId>maven-source-plugin</artifactId>
  798. <executions>
  799. <execution>
  800. <id>sources-jar</id>
  801. <phase>package</phase>
  802. <goals>
  803. <goal>jar</goal>
  804. </goals>
  805. <configuration>
  806. <!-- Only include java files -->
  807. <includes>
  808. <include>**/*.java</include>
  809. </includes>
  810. </configuration>
  811. </execution>
  812. </executions>
  813. </plugin>
  814. <plugin>
  815. <artifactId>maven-javadoc-plugin</artifactId>
  816. <version>2.10.3</version>
  817. <executions>
  818. <execution>
  819. <id>generate-javadoc</id>
  820. <goals>
  821. <goal>jar</goal>
  822. </goals>
  823. <configuration>
  824. <failOnError>false</failOnError>
  825. </configuration>
  826. </execution>
  827. </executions>
  828. </plugin>
  829. </plugins>
  830. </build>
  831. </profile>
  832. <profile>
  833. <!-- This profile is disjoint with default profile. It allows
  834. to prevent running build for all available modules but restricts a number
  835. of modules to specified here only (which allows to avoid long time compilation
  836. for projects that are not needed since japicmp works with compiled classes).
  837. ! -->
  838. <id>apicmp</id>
  839. <modules>
  840. <module>server</module>
  841. <module>push</module>
  842. <module>client</module>
  843. <module>compatibility-server</module>
  844. <module>compatibility-server-gae</module>
  845. <module>compatibility-client</module>
  846. <module>client-compiler</module>
  847. <module>shared</module>
  848. <module>compatibility-shared</module>
  849. <module>liferay-integration</module>
  850. <module>osgi-integration</module>
  851. </modules>
  852. <repositories>
  853. <repository>
  854. <id>vaadin-prereleases</id>
  855. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  856. </repository>
  857. </repositories>
  858. <build>
  859. <plugins>
  860. <plugin>
  861. <groupId>com.github.siom79.japicmp</groupId>
  862. <artifactId>japicmp-maven-plugin</artifactId>
  863. <configuration>
  864. <oldVersion>
  865. <dependency>
  866. <groupId>${project.groupId}</groupId>
  867. <artifactId>${project.artifactId}</artifactId>
  868. <version>${vaadin.api.reference.version}</version>
  869. <type>jar</type>
  870. </dependency>
  871. </oldVersion>
  872. <newVersion>
  873. <file>
  874. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  875. </file>
  876. </newVersion>
  877. <parameter>
  878. <ignoreMissingClasses>true</ignoreMissingClasses>
  879. <onlyModified>true</onlyModified>
  880. <skipDiffReport>true</skipDiffReport>
  881. <skipXmlReport>true</skipXmlReport>
  882. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  883. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  884. </parameter>
  885. </configuration>
  886. <executions>
  887. <execution>
  888. <phase>verify</phase>
  889. <goals>
  890. <goal>cmp</goal>
  891. </goals>
  892. </execution>
  893. </executions>
  894. </plugin>
  895. </plugins>
  896. </build>
  897. </profile>
  898. <profile>
  899. <!-- Testing profile for measurement tests. Use along with default
  900. profile -->
  901. <id>measurements</id>
  902. <properties>
  903. <skipTests>true</skipTests>
  904. </properties>
  905. </profile>
  906. </profiles>
  907. </project>