You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 40KB

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