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 41KB

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