Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  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>7.7-SNAPSHOT</version>
  14. <prerequisites>
  15. <maven>3.1.0</maven>
  16. </prerequisites>
  17. <properties>
  18. <maven.compiler.source>1.6</maven.compiler.source>
  19. <maven.compiler.target>1.6</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. <commons-io.version>2.4</commons-io.version>
  24. <google.appengine.version>1.7.7</google.appengine.version>
  25. <jsoup.version>1.14.2</jsoup.version>
  26. <liferay.portal.version>6.0.2</liferay.portal.version>
  27. <vaadin.sass.version>0.9.13</vaadin.sass.version>
  28. <vaadin.gwt.version>2.7.0.vaadin7</vaadin.gwt.version>
  29. <vaadin.plugin.version>7.7.0</vaadin.plugin.version>
  30. <javax.portlet.version>2.0</javax.portlet.version>
  31. <javax.servlet.version>3.0.1</javax.servlet.version>
  32. <javax.validation.version>1.0.0.GA</javax.validation.version>
  33. <!-- Test dependencies -->
  34. <junit.version>4.11</junit.version>
  35. <!-- Atmosphere versions -->
  36. <!-- Note that this should be kept in sync with the class Constants -->
  37. <atmosphere.runtime.version>2.2.13.vaadin2</atmosphere.runtime.version>
  38. <atmosphere.js.version>2.2.13.vaadin5</atmosphere.js.version>
  39. <!-- Dependency unpack directory -->
  40. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  41. <jetty.version>9.4.38.v20210224</jetty.version>
  42. <phantomjs.version>2.1.1</phantomjs.version>
  43. </properties>
  44. <repositories>
  45. <repository>
  46. <id>central</id>
  47. <url>https://repo.maven.apache.org/maven2/</url>
  48. <snapshots>
  49. <enabled>false</enabled>
  50. </snapshots>
  51. </repository>
  52. </repositories>
  53. <!-- TODO: remove this after maven plugin has been released -->
  54. <pluginRepositories>
  55. <pluginRepository>
  56. <id>central</id>
  57. <url>https://repo.maven.apache.org/maven2/</url>
  58. <snapshots>
  59. <enabled>false</enabled>
  60. </snapshots>
  61. </pluginRepository>
  62. <pluginRepository>
  63. <id>vaadin-prereleases</id>
  64. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  65. </pluginRepository>
  66. </pluginRepositories>
  67. <organization>
  68. <name>Vaadin Ltd</name>
  69. </organization>
  70. <url>https://vaadin.com/</url>
  71. <description>Vaadin Framework Root Pom</description>
  72. <licenses>
  73. <license>
  74. <name>Apache License Version 2.0</name>
  75. <distribution>repo</distribution>
  76. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  77. </license>
  78. </licenses>
  79. <scm>
  80. <connection>scm:https:https://github.com/vaadin/vaadin.git</connection>
  81. <developerConnection>scm:https:https://github.com/vaadin/vaadin.git</developerConnection>
  82. <url>https://github.com/vaadin/vaadin</url>
  83. </scm>
  84. <modules>
  85. <module>shared</module>
  86. <module>push</module>
  87. <module>server</module>
  88. <module>client</module>
  89. <module>client-compiler</module>
  90. <module>client-compiled</module>
  91. <module>themes</module>
  92. <module>widgets</module>
  93. <module>uitest</module>
  94. <module>liferay</module>
  95. <module>all</module>
  96. <!-- Nexus staging bug needs the last module to be deployed. -->
  97. <module>bom</module>
  98. </modules>
  99. <build>
  100. <pluginManagement>
  101. <plugins>
  102. <plugin>
  103. <artifactId>maven-clean-plugin</artifactId>
  104. <version>3.0.0</version>
  105. </plugin>
  106. <plugin>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <version>3.5.1</version>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-deploy-plugin</artifactId>
  112. <version>2.8.2</version>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-install-plugin</artifactId>
  116. <version>2.5.2</version>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-resources-plugin</artifactId>
  120. <!-- Downgraded due to filtering related bug -->
  121. <version>2.6</version>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-site-plugin</artifactId>
  125. <version>3.5</version>
  126. </plugin>
  127. <plugin>
  128. <artifactId>maven-jar-plugin</artifactId>
  129. <version>2.6</version>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-assembly-plugin</artifactId>
  133. <version>2.6</version>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-surefire-plugin</artifactId>
  137. <version>2.19.1</version>
  138. </plugin>
  139. <plugin>
  140. <artifactId>maven-failsafe-plugin</artifactId>
  141. <version>2.19.1</version>
  142. </plugin>
  143. <plugin>
  144. <groupId>com.github.klieber</groupId>
  145. <artifactId>phantomjs-maven-plugin</artifactId>
  146. <version>0.7</version>
  147. </plugin>
  148. <plugin>
  149. <artifactId>maven-antrun-plugin</artifactId>
  150. <version>1.8</version>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.felix</groupId>
  154. <artifactId>maven-bundle-plugin</artifactId>
  155. <version>3.0.1</version>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-dependency-plugin</artifactId>
  160. <version>2.10</version>
  161. <configuration>
  162. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  163. <overWriteReleases>false</overWriteReleases>
  164. <overWriteSnapshots>true</overWriteSnapshots>
  165. </configuration>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.codehaus.mojo</groupId>
  169. <artifactId>exec-maven-plugin</artifactId>
  170. <version>1.4.0</version>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.codehaus.mojo</groupId>
  174. <artifactId>versions-maven-plugin</artifactId>
  175. <version>2.3</version>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.codehaus.mojo</groupId>
  179. <artifactId>build-helper-maven-plugin</artifactId>
  180. <version>1.10</version>
  181. </plugin>
  182. <plugin>
  183. <artifactId>maven-source-plugin</artifactId>
  184. <version>3.0.0</version>
  185. </plugin>
  186. <plugin>
  187. <groupId>com.vaadin</groupId>
  188. <artifactId>vaadin-maven-plugin</artifactId>
  189. <version>${vaadin.plugin.version}</version>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-checkstyle-plugin</artifactId>
  194. <version>2.17</version>
  195. <dependencies>
  196. <!-- Needed because of a JavadocMethodCheck bug in
  197. 6.11 -->
  198. <dependency>
  199. <groupId>com.puppycrawl.tools</groupId>
  200. <artifactId>checkstyle</artifactId>
  201. <version>6.17</version>
  202. </dependency>
  203. </dependencies>
  204. <configuration>
  205. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  206. <headerLocation>../checkstyle/header</headerLocation>
  207. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  208. <encoding>UTF-8</encoding>
  209. <consoleOutput>false</consoleOutput>
  210. <failsOnError>false</failsOnError>
  211. <linkXRef>false</linkXRef>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.codehaus.mojo</groupId>
  216. <artifactId>animal-sniffer-maven-plugin</artifactId>
  217. <version>1.15</version>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.eclipse.m2e</groupId>
  221. <artifactId>lifecycle-mapping</artifactId>
  222. <version>1.0.0</version>
  223. <configuration>
  224. <lifecycleMappingMetadata>
  225. <pluginExecutions>
  226. <pluginExecution>
  227. <pluginExecutionFilter>
  228. <groupId>
  229. org.apache.maven.plugins
  230. </groupId>
  231. <artifactId>
  232. maven-antrun-plugin
  233. </artifactId>
  234. <versionRange>
  235. [1.8,)
  236. </versionRange>
  237. <goals>
  238. <goal>run</goal>
  239. </goals>
  240. </pluginExecutionFilter>
  241. <action>
  242. <ignore></ignore>
  243. </action>
  244. </pluginExecution>
  245. </pluginExecutions>
  246. </lifecycleMappingMetadata>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. </pluginManagement>
  251. <plugins>
  252. <plugin>
  253. <groupId>org.codehaus.mojo</groupId>
  254. <artifactId>build-helper-maven-plugin</artifactId>
  255. <version>1.8</version>
  256. <executions>
  257. <execution>
  258. <id>parse-version</id>
  259. <goals>
  260. <goal>parse-version</goal>
  261. </goals>
  262. </execution>
  263. </executions>
  264. </plugin>
  265. <plugin>
  266. <groupId>org.codehaus.mojo</groupId>
  267. <artifactId>animal-sniffer-maven-plugin</artifactId>
  268. <executions>
  269. <execution>
  270. <id>java6compatibility</id>
  271. <phase>test</phase>
  272. <goals>
  273. <goal>check</goal>
  274. </goals>
  275. <configuration>
  276. <signature>
  277. <groupId>org.codehaus.mojo.signature</groupId>
  278. <artifactId>java16</artifactId>
  279. <version>1.0</version>
  280. </signature>
  281. <ignores>
  282. <ignore>com.google.gwt.*</ignore>
  283. </ignores>
  284. </configuration>
  285. </execution>
  286. </executions>
  287. </plugin>
  288. <!-- Unpacked Dependencies as resource -->
  289. <plugin>
  290. <groupId>org.codehaus.mojo</groupId>
  291. <artifactId>build-helper-maven-plugin</artifactId>
  292. <!-- Needs extra resource folder for unpacked dependencies -->
  293. <executions>
  294. <execution>
  295. <id>add-dependency-resources</id>
  296. <phase>generate-resources</phase>
  297. <goals>
  298. <goal>add-resource</goal>
  299. </goals>
  300. <configuration>
  301. <resources>
  302. <resource>
  303. <directory>${dependency.unpack.directory}</directory>
  304. <filtering>false</filtering>
  305. </resource>
  306. </resources>
  307. </configuration>
  308. </execution>
  309. </executions>
  310. </plugin>
  311. </plugins>
  312. </build>
  313. <profiles>
  314. <profile>
  315. <id>slowtest</id>
  316. <modules>
  317. <module>test</module>
  318. </modules>
  319. </profile>
  320. <profile>
  321. <!-- Snapshot build only builds artifacts that are deployed or
  322. needed by them -->
  323. <id>snapshot</id>
  324. <properties>
  325. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  326. </properties>
  327. <build>
  328. <plugins>
  329. <plugin>
  330. <artifactId>maven-source-plugin</artifactId>
  331. <executions>
  332. <execution>
  333. <id>sources-jar</id>
  334. <phase>package</phase>
  335. <goals>
  336. <goal>jar</goal>
  337. </goals>
  338. <configuration>
  339. <!-- Only include java files -->
  340. <includes>
  341. <include>**/*.java</include>
  342. </includes>
  343. </configuration>
  344. </execution>
  345. </executions>
  346. </plugin>
  347. <plugin>
  348. <artifactId>maven-javadoc-plugin</artifactId>
  349. <version>2.10.3</version>
  350. <executions>
  351. <execution>
  352. <id>generate-javadoc</id>
  353. <goals>
  354. <goal>jar</goal>
  355. </goals>
  356. <configuration>
  357. <failOnError>false</failOnError>
  358. </configuration>
  359. </execution>
  360. </executions>
  361. </plugin>
  362. </plugins>
  363. </build>
  364. </profile>
  365. <profile>
  366. <id>release</id>
  367. <activation>
  368. <activeByDefault>false</activeByDefault>
  369. </activation>
  370. <properties>
  371. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  372. </properties>
  373. <build>
  374. <plugins>
  375. <plugin>
  376. <artifactId>maven-source-plugin</artifactId>
  377. <executions>
  378. <execution>
  379. <id>sources-jar</id>
  380. <phase>package</phase>
  381. <goals>
  382. <goal>jar</goal>
  383. </goals>
  384. <configuration>
  385. <!-- Only include java files -->
  386. <includes>
  387. <include>**/*.java</include>
  388. </includes>
  389. </configuration>
  390. </execution>
  391. </executions>
  392. </plugin>
  393. <plugin>
  394. <artifactId>maven-javadoc-plugin</artifactId>
  395. <version>2.10.3</version>
  396. <executions>
  397. <execution>
  398. <id>generate-javadoc</id>
  399. <goals>
  400. <goal>jar</goal>
  401. </goals>
  402. <configuration>
  403. <failOnError>false</failOnError>
  404. </configuration>
  405. </execution>
  406. </executions>
  407. </plugin>
  408. <plugin>
  409. <groupId>org.sonatype.plugins</groupId>
  410. <artifactId>nexus-staging-maven-plugin</artifactId>
  411. <version>1.6.7</version>
  412. <extensions>true</extensions>
  413. </plugin>
  414. </plugins>
  415. </build>
  416. </profile>
  417. <profile>
  418. <!-- This profile is disjoint with default profile. It allows
  419. to prevent running build for all available modules but restricts a number
  420. of modules to specified here only (which allows to avoid long time compilation
  421. for projects that are not needed since japicmp works with compiled classes).
  422. ! -->
  423. <id>apicmp</id>
  424. <modules>
  425. <module>server</module>
  426. <module>push</module>
  427. <module>client</module>
  428. <module>client-compiler</module>
  429. <module>shared</module>
  430. </modules>
  431. <repositories>
  432. <repository>
  433. <id>vaadin-prereleases</id>
  434. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  435. </repository>
  436. </repositories>
  437. <build>
  438. <plugins>
  439. <plugin>
  440. <groupId>com.github.siom79.japicmp</groupId>
  441. <artifactId>japicmp-maven-plugin</artifactId>
  442. <version>0.9.1</version>
  443. <configuration>
  444. <oldVersion>
  445. <dependency>
  446. <groupId>${project.groupId}</groupId>
  447. <artifactId>${project.artifactId}</artifactId>
  448. <version>${vaadin.api.reference.version}</version>
  449. <type>jar</type>
  450. </dependency>
  451. </oldVersion>
  452. <newVersion>
  453. <file>
  454. <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
  455. </file>
  456. </newVersion>
  457. <parameter>
  458. <ignoreMissingClasses>true</ignoreMissingClasses>
  459. <onlyModified>true</onlyModified>
  460. <skipDiffReport>true</skipDiffReport>
  461. <skipXmlReport>true</skipXmlReport>
  462. <ignoreMissingOldVersion>true</ignoreMissingOldVersion>
  463. <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
  464. </parameter>
  465. </configuration>
  466. <executions>
  467. <execution>
  468. <phase>verify</phase>
  469. <goals>
  470. <goal>cmp</goal>
  471. </goals>
  472. </execution>
  473. </executions>
  474. </plugin>
  475. </plugins>
  476. </build>
  477. </profile>
  478. </profiles>
  479. </project>