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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960
  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.6-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.6-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.30.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.2.0</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>org.eclipse.jgit</groupId>
  270. <artifactId>org.eclipse.jgit</artifactId>
  271. <version>3.5.1.201410131835-r</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.github.siom79.japicmp</groupId>
  275. <artifactId>japicmp-maven-plugin</artifactId>
  276. <version>0.9.1</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.vaadin</groupId>
  280. <artifactId>vaadin-icons</artifactId>
  281. <version>${vaadin.icons.version}</version>
  282. <scope>provided</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.osgi</groupId>
  286. <artifactId>osgi.core</artifactId>
  287. <version>${osgi.version}</version>
  288. <scope>provided</scope>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.osgi</groupId>
  292. <artifactId>osgi.annotation</artifactId>
  293. <version>${osgi.annotation.version}</version>
  294. <scope>provided</scope>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.osgi</groupId>
  298. <artifactId>osgi.cmpn</artifactId>
  299. <version>${osgi.version}</version>
  300. <scope>provided</scope>
  301. </dependency>
  302. </dependencies>
  303. </dependencyManagement>
  304. <!-- Common test dependencies -->
  305. <dependencies>
  306. <dependency>
  307. <groupId>junit</groupId>
  308. <artifactId>junit</artifactId>
  309. <scope>test</scope>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.mockito</groupId>
  313. <artifactId>mockito-core</artifactId>
  314. <scope>test</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.hamcrest</groupId>
  318. <artifactId>hamcrest-all</artifactId>
  319. <scope>test</scope>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.easymock</groupId>
  323. <artifactId>easymock</artifactId>
  324. <scope>test</scope>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.hibernate</groupId>
  328. <artifactId>hibernate-validator</artifactId>
  329. <scope>test</scope>
  330. </dependency>
  331. </dependencies>
  332. <build>
  333. <pluginManagement>
  334. <plugins>
  335. <plugin>
  336. <artifactId>maven-clean-plugin</artifactId>
  337. <version>3.0.0</version>
  338. </plugin>
  339. <plugin>
  340. <artifactId>maven-compiler-plugin</artifactId>
  341. <version>3.5.1</version>
  342. </plugin>
  343. <plugin>
  344. <artifactId>maven-deploy-plugin</artifactId>
  345. <version>2.8.2</version>
  346. </plugin>
  347. <plugin>
  348. <artifactId>maven-install-plugin</artifactId>
  349. <version>2.5.2</version>
  350. </plugin>
  351. <plugin>
  352. <artifactId>maven-resources-plugin</artifactId>
  353. <!-- Downgraded due to filtering related bug -->
  354. <version>2.6</version>
  355. </plugin>
  356. <plugin>
  357. <artifactId>maven-site-plugin</artifactId>
  358. <version>3.5</version>
  359. </plugin>
  360. <plugin>
  361. <artifactId>maven-jar-plugin</artifactId>
  362. <version>2.6</version>
  363. </plugin>
  364. <plugin>
  365. <artifactId>maven-assembly-plugin</artifactId>
  366. <version>2.6</version>
  367. </plugin>
  368. <plugin>
  369. <artifactId>maven-surefire-plugin</artifactId>
  370. <version>2.19.1</version>
  371. </plugin>
  372. <plugin>
  373. <artifactId>maven-failsafe-plugin</artifactId>
  374. <version>2.19.1</version>
  375. </plugin>
  376. <plugin>
  377. <artifactId>maven-antrun-plugin</artifactId>
  378. <version>1.8</version>
  379. </plugin>
  380. <plugin>
  381. <groupId>biz.aQute.bnd</groupId>
  382. <artifactId>bnd-maven-plugin</artifactId>
  383. <version>${bnd.version}</version>
  384. <executions>
  385. <execution>
  386. <goals>
  387. <goal>bnd-process</goal>
  388. </goals>
  389. </execution>
  390. </executions>
  391. </plugin>
  392. <plugin>
  393. <groupId>org.apache.maven.plugins</groupId>
  394. <artifactId>maven-dependency-plugin</artifactId>
  395. <version>3.0.1</version>
  396. <configuration>
  397. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  398. <overWriteReleases>false</overWriteReleases>
  399. <overWriteSnapshots>true</overWriteSnapshots>
  400. </configuration>
  401. </plugin>
  402. <plugin>
  403. <groupId>org.codehaus.mojo</groupId>
  404. <artifactId>exec-maven-plugin</artifactId>
  405. <version>1.6.0</version>
  406. </plugin>
  407. <plugin>
  408. <groupId>org.codehaus.mojo</groupId>
  409. <artifactId>versions-maven-plugin</artifactId>
  410. <version>2.3</version>
  411. </plugin>
  412. <plugin>
  413. <groupId>org.codehaus.mojo</groupId>
  414. <artifactId>build-helper-maven-plugin</artifactId>
  415. <version>1.10</version>
  416. </plugin>
  417. <plugin>
  418. <artifactId>maven-source-plugin</artifactId>
  419. <version>3.0.1</version>
  420. </plugin>
  421. <plugin>
  422. <groupId>com.vaadin</groupId>
  423. <artifactId>vaadin-maven-plugin</artifactId>
  424. <version>${vaadin.plugin.version}</version>
  425. </plugin>
  426. <plugin>
  427. <groupId>net.revelc.code.formatter</groupId>
  428. <artifactId>formatter-maven-plugin</artifactId>
  429. <version>2.7.2</version>
  430. <configuration>
  431. <configFile>${project.basedir}/../eclipse/VaadinJavaConventions.xml</configFile>
  432. <skipJsFormatting>true</skipJsFormatting>
  433. </configuration>
  434. <executions>
  435. <execution>
  436. <id>format-source</id>
  437. <goals>
  438. <goal>format</goal>
  439. </goals>
  440. <phase>process-sources</phase>
  441. </execution>
  442. </executions>
  443. </plugin>
  444. <plugin>
  445. <groupId>com.github.dantwining.whitespace-maven-plugin</groupId>
  446. <artifactId>whitespace-maven-plugin</artifactId>
  447. <version>1.0.4</version>
  448. <executions>
  449. <execution>
  450. <id>trim-trailing-spaces-source</id>
  451. <goals>
  452. <goal>trim</goal>
  453. </goals>
  454. <phase>process-sources</phase>
  455. </execution>
  456. </executions>
  457. </plugin>
  458. <plugin>
  459. <groupId>org.apache.maven.plugins</groupId>
  460. <artifactId>maven-checkstyle-plugin</artifactId>
  461. <version>2.17</version>
  462. <dependencies>
  463. <!-- Needed because of a JavadocMethodCheck bug in
  464. 6.11 -->
  465. <dependency>
  466. <groupId>com.puppycrawl.tools</groupId>
  467. <artifactId>checkstyle</artifactId>
  468. <version>6.17</version>
  469. </dependency>
  470. </dependencies>
  471. <configuration>
  472. <propertyExpansion>config_loc=${basedir}/../checkstyle</propertyExpansion>
  473. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  474. <headerLocation>../checkstyle/header</headerLocation>
  475. <!-- <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation> -->
  476. <encoding>UTF-8</encoding>
  477. <consoleOutput>false</consoleOutput>
  478. <failsOnError>false</failsOnError>
  479. <linkXRef>false</linkXRef>
  480. </configuration>
  481. </plugin>
  482. <plugin>
  483. <groupId>org.codehaus.mojo</groupId>
  484. <artifactId>animal-sniffer-maven-plugin</artifactId>
  485. <version>1.15</version>
  486. </plugin>
  487. <plugin>
  488. <groupId>org.eclipse.m2e</groupId>
  489. <artifactId>lifecycle-mapping</artifactId>
  490. <version>1.0.0</version>
  491. <configuration>
  492. <lifecycleMappingMetadata>
  493. <pluginExecutions>
  494. <pluginExecution>
  495. <pluginExecutionFilter>
  496. <groupId>
  497. org.apache.maven.plugins
  498. </groupId>
  499. <artifactId>
  500. maven-antrun-plugin
  501. </artifactId>
  502. <versionRange>
  503. [1.8,)
  504. </versionRange>
  505. <goals>
  506. <goal>run</goal>
  507. </goals>
  508. </pluginExecutionFilter>
  509. <action>
  510. <ignore></ignore>
  511. </action>
  512. </pluginExecution>
  513. <pluginExecution>
  514. <pluginExecutionFilter>
  515. <groupId>
  516. net.revelc.code.formatter
  517. </groupId>
  518. <artifactId>
  519. formatter-maven-plugin
  520. </artifactId>
  521. <versionRange>
  522. [2.7.2,)
  523. </versionRange>
  524. <goals>
  525. <goal>format</goal>
  526. </goals>
  527. </pluginExecutionFilter>
  528. <action>
  529. <ignore></ignore>
  530. </action>
  531. </pluginExecution>
  532. <pluginExecution>
  533. <pluginExecutionFilter>
  534. <groupId>
  535. com.github.dantwining.whitespace-maven-plugin
  536. </groupId>
  537. <artifactId>
  538. whitespace-maven-plugin
  539. </artifactId>
  540. <versionRange>
  541. [1.0.4,)
  542. </versionRange>
  543. <goals>
  544. <goal>trim</goal>
  545. </goals>
  546. </pluginExecutionFilter>
  547. <action>
  548. <ignore></ignore>
  549. </action>
  550. </pluginExecution>
  551. </pluginExecutions>
  552. </lifecycleMappingMetadata>
  553. </configuration>
  554. </plugin>
  555. <plugin>
  556. <groupId>org.apache.felix</groupId>
  557. <artifactId>maven-bundle-plugin</artifactId>
  558. <version>3.3.0</version>
  559. </plugin>
  560. </plugins>
  561. </pluginManagement>
  562. <plugins>
  563. <plugin>
  564. <groupId>org.codehaus.mojo</groupId>
  565. <artifactId>animal-sniffer-maven-plugin</artifactId>
  566. <executions>
  567. <execution>
  568. <id>java8compatibility</id>
  569. <phase>test</phase>
  570. <goals>
  571. <goal>check</goal>
  572. </goals>
  573. <configuration>
  574. <signature>
  575. <groupId>org.codehaus.mojo.signature</groupId>
  576. <artifactId>java18</artifactId>
  577. <version>1.0</version>
  578. </signature>
  579. <ignores>
  580. <ignore>com.google.gwt.*</ignore>
  581. </ignores>
  582. </configuration>
  583. </execution>
  584. </executions>
  585. </plugin>
  586. <!-- Unpacked Dependencies as resource -->
  587. <plugin>
  588. <groupId>org.codehaus.mojo</groupId>
  589. <artifactId>build-helper-maven-plugin</artifactId>
  590. <!-- Needs extra resource folder for unpacked dependencies -->
  591. <executions>
  592. <execution>
  593. <id>add-dependency-resources</id>
  594. <phase>generate-resources</phase>
  595. <goals>
  596. <goal>add-resource</goal>
  597. </goals>
  598. <configuration>
  599. <resources>
  600. <resource>
  601. <directory>${dependency.unpack.directory}</directory>
  602. <filtering>false</filtering>
  603. </resource>
  604. </resources>
  605. </configuration>
  606. </execution>
  607. <execution>
  608. <id>parse-version</id>
  609. <goals>
  610. <goal>parse-version</goal>
  611. </goals>
  612. </execution>
  613. </executions>
  614. </plugin>
  615. </plugins>
  616. </build>
  617. <profiles>
  618. <profile>
  619. <!-- Default build profile that runs all modules. -->
  620. <id>default</id>
  621. <activation>
  622. <activeByDefault>true</activeByDefault>
  623. </activation>
  624. <modules>
  625. <module>shared</module>
  626. <module>push</module>
  627. <module>server</module>
  628. <module>client</module>
  629. <module>client-compiler</module>
  630. <module>client-compiled</module>
  631. <module>themes</module>
  632. <module>uitest</module>
  633. <module>liferay</module>
  634. <module>liferay-integration</module>
  635. <module>osgi-integration</module>
  636. <module>all</module>
  637. <module>compatibility-server</module>
  638. <module>compatibility-server-gae</module>
  639. <module>compatibility-client</module>
  640. <module>compatibility-client-compiled</module>
  641. <module>compatibility-shared</module>
  642. <module>compatibility-themes</module>
  643. <module>testbench-api</module>
  644. <module>bom</module>
  645. </modules>
  646. </profile>
  647. <profile>
  648. <!-- Profile for running integration tests. Vaadin version to
  649. be tested can be defined with property vaadin.version -->
  650. <id>slowtest</id>
  651. <modules>
  652. <module>test</module>
  653. </modules>
  654. </profile>
  655. <profile>
  656. <!-- This profile builds the assembled parts of the Framework
  657. for website release. Should be run after running the release profile -->
  658. <id>release-assemblies</id>
  659. <modules>
  660. <module>liferay</module>
  661. <module>all</module>
  662. </modules>
  663. </profile>
  664. <profile>
  665. <!-- Release build only builds artifacts that are deployed or
  666. needed by them -->
  667. <id>release</id>
  668. <properties>
  669. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  670. </properties>
  671. <modules>
  672. <module>shared</module>
  673. <module>push</module>
  674. <module>server</module>
  675. <module>client</module>
  676. <module>client-compiler</module>
  677. <module>client-compiled</module>
  678. <module>themes</module>
  679. <module>compatibility-server</module>
  680. <module>compatibility-server-gae</module>
  681. <module>compatibility-client</module>
  682. <module>compatibility-client-compiled</module>
  683. <module>compatibility-shared</module>
  684. <module>compatibility-themes</module>
  685. <module>liferay-integration</module>
  686. <module>osgi-integration</module>
  687. <!-- Nexus staging bug needs the last module to be deployed. -->
  688. <module>testbench-api</module>
  689. <!-- BOM is built and released separately -->
  690. </modules>
  691. <build>
  692. <plugins>
  693. <plugin>
  694. <artifactId>maven-source-plugin</artifactId>
  695. <executions>
  696. <execution>
  697. <id>sources-jar</id>
  698. <phase>package</phase>
  699. <goals>
  700. <goal>jar</goal>
  701. </goals>
  702. <configuration>
  703. <!-- Only include java files -->
  704. <includes>
  705. <include>**/*.java</include>
  706. </includes>
  707. </configuration>
  708. </execution>
  709. </executions>
  710. </plugin>
  711. <plugin>
  712. <artifactId>maven-javadoc-plugin</artifactId>
  713. <version>2.10.3</version>
  714. <executions>
  715. <execution>
  716. <id>generate-javadoc</id>
  717. <goals>
  718. <goal>jar</goal>
  719. </goals>
  720. <configuration>
  721. <failOnError>false</failOnError>
  722. </configuration>
  723. </execution>
  724. </executions>
  725. </plugin>
  726. </plugins>
  727. </build>
  728. </profile>
  729. <profile>
  730. <!-- Pre-release build only builds artifacts that are deployed or
  731. needed by them -->
  732. <id>prerelease</id>
  733. <properties>
  734. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  735. </properties>
  736. <modules>
  737. <module>shared</module>
  738. <module>push</module>
  739. <module>server</module>
  740. <module>client</module>
  741. <module>client-compiler</module>
  742. <module>client-compiled</module>
  743. <module>themes</module>
  744. <module>compatibility-server</module>
  745. <module>compatibility-server-gae</module>
  746. <module>compatibility-client</module>
  747. <module>compatibility-client-compiled</module>
  748. <module>compatibility-shared</module>
  749. <module>compatibility-themes</module>
  750. <module>liferay-integration</module>
  751. <module>osgi-integration</module>
  752. <!-- Nexus staging bug needs the last module to be deployed. -->
  753. <module>testbench-api</module>
  754. <!-- BOM is built and released separately -->
  755. </modules>
  756. <build>
  757. <plugins>
  758. <plugin>
  759. <artifactId>maven-source-plugin</artifactId>
  760. <executions>
  761. <execution>
  762. <id>sources-jar</id>
  763. <phase>package</phase>
  764. <goals>
  765. <goal>jar</goal>
  766. </goals>
  767. <configuration>
  768. <!-- Only include java files -->
  769. <includes>
  770. <include>**/*.java</include>
  771. </includes>
  772. </configuration>
  773. </execution>
  774. </executions>
  775. </plugin>
  776. <plugin>
  777. <artifactId>maven-javadoc-plugin</artifactId>
  778. <version>2.10.3</version>
  779. <executions>
  780. <execution>
  781. <id>generate-javadoc</id>
  782. <goals>
  783. <goal>jar</goal>
  784. </goals>
  785. <configuration>
  786. <failOnError>false</failOnError>
  787. </configuration>
  788. </execution>
  789. </executions>
  790. </plugin>
  791. </plugins>
  792. </build>
  793. </profile>
  794. <profile>
  795. <!-- Snapshot build only builds artifacts that are deployed or
  796. needed by them -->
  797. <id>snapshot</id>
  798. <properties>
  799. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  800. </properties>
  801. <modules>
  802. <module>shared</module>
  803. <module>push</module>
  804. <module>server</module>
  805. <module>client</module>
  806. <module>client-compiler</module>
  807. <module>client-compiled</module>
  808. <module>themes</module>
  809. <module>compatibility-server</module>
  810. <module>compatibility-server-gae</module>
  811. <module>compatibility-client</module>
  812. <module>compatibility-client-compiled</module>
  813. <module>compatibility-shared</module>
  814. <module>compatibility-themes</module>
  815. <module>liferay-integration</module>
  816. <module>osgi-integration</module>
  817. <module>testbench-api</module>
  818. <module>bom</module>
  819. </modules>
  820. <build>
  821. <plugins>
  822. <plugin>
  823. <artifactId>maven-source-plugin</artifactId>
  824. <executions>
  825. <execution>
  826. <id>sources-jar</id>
  827. <phase>package</phase>
  828. <goals>
  829. <goal>jar</goal>
  830. </goals>
  831. <configuration>
  832. <!-- Only include java files -->
  833. <includes>
  834. <include>**/*.java</include>
  835. </includes>
  836. </configuration>
  837. </execution>
  838. </executions>
  839. </plugin>
  840. <plugin>
  841. <artifactId>maven-javadoc-plugin</artifactId>
  842. <version>2.10.3</version>
  843. <executions>
  844. <execution>
  845. <id>generate-javadoc</id>
  846. <goals>
  847. <goal>jar</goal>
  848. </goals>
  849. <configuration>
  850. <failOnError>false</failOnError>
  851. </configuration>
  852. </execution>
  853. </executions>
  854. </plugin>
  855. </plugins>
  856. </build>
  857. </profile>
  858. <profile>
  859. <!-- This profile is disjoint with default profile. It allows
  860. to prevent running build for all available modules but restricts a number
  861. of modules to specified here only (which allows to avoid long time compilation
  862. for projects that are not needed since japicmp works with compiled classes).
  863. ! -->
  864. <id>apicmp</id>
  865. <modules>
  866. <module>server</module>
  867. <module>push</module>
  868. <module>client</module>
  869. <module>compatibility-server</module>
  870. <module>compatibility-server-gae</module>
  871. <module>compatibility-client</module>
  872. <module>client-compiler</module>
  873. <module>shared</module>
  874. <module>compatibility-shared</module>
  875. <module>liferay-integration</module>
  876. <module>osgi-integration</module>
  877. </modules>
  878. <repositories>
  879. <repository>
  880. <id>vaadin-prereleases</id>
  881. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  882. </repository>
  883. </repositories>
  884. <build>
  885. <plugins>
  886. <plugin>
  887. <groupId>com.github.siom79.japicmp</groupId>
  888. <artifactId>japicmp-maven-plugin</artifactId>
  889. <configuration>
  890. <oldVersion>
  891. <dependency>
  892. <groupId>${project.groupId}</groupId>
  893. <artifactId>${project.artifactId}</artifactId>
  894. <version>${vaadin.api.reference.version}</version>
  895. <type>jar</type>
  896. </dependency>
  897. </oldVersion>
  898. <newVersion>
  899. <file>
  900. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  901. </file>
  902. </newVersion>
  903. <parameter>
  904. <ignoreMissingClasses>true</ignoreMissingClasses>
  905. <onlyModified>true</onlyModified>
  906. <skipDiffReport>true</skipDiffReport>
  907. <skipXmlReport>true</skipXmlReport>
  908. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  909. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  910. </parameter>
  911. </configuration>
  912. <executions>
  913. <execution>
  914. <phase>verify</phase>
  915. <goals>
  916. <goal>cmp</goal>
  917. </goals>
  918. </execution>
  919. </executions>
  920. </plugin>
  921. </plugins>
  922. </build>
  923. </profile>
  924. <profile>
  925. <!-- Testing profile for measurement tests. Use along with default
  926. profile -->
  927. <id>measurements</id>
  928. <properties>
  929. <skipTests>true</skipTests>
  930. </properties>
  931. </profile>
  932. </profiles>
  933. </project>