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

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