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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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.0.0</version>
  9. </parent>
  10. <groupId>com.vaadin</groupId>
  11. <artifactId>vaadin-root</artifactId>
  12. <name>vaadin-root</name>
  13. <packaging>pom</packaging>
  14. <version>8.0-SNAPSHOT</version>
  15. <prerequisites>
  16. <maven>3.0.5</maven>
  17. </prerequisites>
  18. <properties>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  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.8.3</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.8.0-rc2</vaadin.gwt.version>
  29. <vaadin.plugin.version>8.0-SNAPSHOT</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. <!-- OSGi -->
  34. <osgi.javax.servlet.version>3.0.0</osgi.javax.servlet.version>
  35. <osgi.execution.environment>JavaSE-1.8</osgi.execution.environment>
  36. <osgi.bundle.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.bundle.version>
  37. <!-- Test dependencies -->
  38. <junit.version>4.11</junit.version>
  39. <!-- Atmosphere versions -->
  40. <!-- Note that this should be kept in sync with the class Constants -->
  41. <atmosphere.runtime.version>2.4.5.vaadin1</atmosphere.runtime.version>
  42. <atmosphere.js.version>2.3.2.vaadin1</atmosphere.js.version>
  43. <!-- Dependency unpack directory -->
  44. <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
  45. </properties>
  46. <!-- TODO: remove this after maven plugin has been released -->
  47. <pluginRepositories>
  48. <pluginRepository>
  49. <id>vaadin-prereleases</id>
  50. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  51. </pluginRepository>
  52. <pluginRepository>
  53. <id>vaadin-snapshots</id>
  54. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  55. <releases>
  56. <enabled>false</enabled>
  57. </releases>
  58. <snapshots>
  59. <enabled>true</enabled>
  60. </snapshots>
  61. </pluginRepository>
  62. </pluginRepositories>
  63. <organization>
  64. <name>Vaadin Ltd</name>
  65. </organization>
  66. <url>https://vaadin.com/</url>
  67. <description>Vaadin Framework Root Pom</description>
  68. <licenses>
  69. <license>
  70. <name>Apache License Version 2.0</name>
  71. <distribution>repo</distribution>
  72. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  73. </license>
  74. </licenses>
  75. <scm>
  76. <connection>scm:https:https://github.com/vaadin/vaadin.git</connection>
  77. <developerConnection>scm:https:https://github.com/vaadin/vaadin.git</developerConnection>
  78. <url>https://github.com/vaadin/vaadin</url>
  79. </scm>
  80. <modules>
  81. <module>buildhelpers</module>
  82. <module>shared</module>
  83. <module>push</module>
  84. <module>server</module>
  85. <module>client</module>
  86. <module>client-compiler</module>
  87. <module>client-compiled</module>
  88. <module>themes</module>
  89. <module>widgets</module>
  90. <module>uitest-common</module>
  91. <module>uitest</module>
  92. <module>liferay</module>
  93. <module>all</module>
  94. <!-- Nexus staging bug needs the last module to be deployed. -->
  95. <module>bom</module>
  96. </modules>
  97. <build>
  98. <pluginManagement>
  99. <plugins>
  100. <plugin>
  101. <artifactId>maven-clean-plugin</artifactId>
  102. <version>3.0.0</version>
  103. </plugin>
  104. <plugin>
  105. <artifactId>maven-compiler-plugin</artifactId>
  106. <version>3.5.1</version>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-deploy-plugin</artifactId>
  110. <version>2.8.2</version>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-install-plugin</artifactId>
  114. <version>2.5.2</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-resources-plugin</artifactId>
  118. <!-- Downgraded due to filtering related bug -->
  119. <version>2.6</version>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-site-plugin</artifactId>
  123. <version>3.5</version>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-jar-plugin</artifactId>
  127. <version>2.6</version>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-assembly-plugin</artifactId>
  131. <version>2.6</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-surefire-plugin</artifactId>
  135. <version>2.19.1</version>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-antrun-plugin</artifactId>
  139. <version>1.8</version>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.felix</groupId>
  143. <artifactId>maven-bundle-plugin</artifactId>
  144. <version>3.0.1</version>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-dependency-plugin</artifactId>
  149. <version>2.10</version>
  150. <configuration>
  151. <outputDirectory>${dependency.unpack.directory}</outputDirectory>
  152. <overWriteReleases>false</overWriteReleases>
  153. <overWriteSnapshots>true</overWriteSnapshots>
  154. </configuration>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.codehaus.mojo</groupId>
  158. <artifactId>exec-maven-plugin</artifactId>
  159. <version>1.4.0</version>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.codehaus.mojo</groupId>
  163. <artifactId>build-helper-maven-plugin</artifactId>
  164. <version>1.10</version>
  165. </plugin>
  166. <plugin>
  167. <artifactId>maven-source-plugin</artifactId>
  168. <version>3.0.0</version>
  169. </plugin>
  170. <plugin>
  171. <groupId>com.vaadin</groupId>
  172. <artifactId>vaadin-maven-plugin</artifactId>
  173. <version>${vaadin.plugin.version}</version>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-checkstyle-plugin</artifactId>
  178. <version>2.17</version>
  179. <dependencies>
  180. <!-- Needed because of a JavadocMethodCheck bug in 6.11 -->
  181. <dependency>
  182. <groupId>com.puppycrawl.tools</groupId>
  183. <artifactId>checkstyle</artifactId>
  184. <version>6.17</version>
  185. </dependency>
  186. </dependencies>
  187. <configuration>
  188. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  189. <headerLocation>../checkstyle/header</headerLocation>
  190. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  191. <encoding>UTF-8</encoding>
  192. <consoleOutput>false</consoleOutput>
  193. <failsOnError>false</failsOnError>
  194. <linkXRef>false</linkXRef>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <groupId>org.codehaus.mojo</groupId>
  199. <artifactId>animal-sniffer-maven-plugin</artifactId>
  200. <version>1.15</version>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.eclipse.m2e</groupId>
  204. <artifactId>lifecycle-mapping</artifactId>
  205. <version>1.0.0</version>
  206. <configuration>
  207. <lifecycleMappingMetadata>
  208. <pluginExecutions>
  209. <pluginExecution>
  210. <pluginExecutionFilter>
  211. <groupId>
  212. org.apache.maven.plugins
  213. </groupId>
  214. <artifactId>
  215. maven-antrun-plugin
  216. </artifactId>
  217. <versionRange>
  218. [1.8,)
  219. </versionRange>
  220. <goals>
  221. <goal>run</goal>
  222. </goals>
  223. </pluginExecutionFilter>
  224. <action>
  225. <ignore></ignore>
  226. </action>
  227. </pluginExecution>
  228. </pluginExecutions>
  229. </lifecycleMappingMetadata>
  230. </configuration>
  231. </plugin>
  232. </plugins>
  233. </pluginManagement>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.codehaus.mojo</groupId>
  237. <artifactId>animal-sniffer-maven-plugin</artifactId>
  238. <executions>
  239. <execution>
  240. <id>java8compatibility</id>
  241. <phase>test</phase>
  242. <goals>
  243. <goal>check</goal>
  244. </goals>
  245. <configuration>
  246. <signature>
  247. <groupId>org.codehaus.mojo.signature</groupId>
  248. <artifactId>java18</artifactId>
  249. <version>1.0</version>
  250. </signature>
  251. <ignores>
  252. <ignore>com.google.gwt.*</ignore>
  253. </ignores>
  254. </configuration>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. <!-- Unpacked Dependencies as resource -->
  259. <plugin>
  260. <groupId>org.codehaus.mojo</groupId>
  261. <artifactId>build-helper-maven-plugin</artifactId>
  262. <!-- Needs extra resource folder for unpacked dependencies -->
  263. <executions>
  264. <execution>
  265. <id>add-dependency-resources</id>
  266. <phase>generate-resources</phase>
  267. <goals>
  268. <goal>add-resource</goal>
  269. </goals>
  270. <configuration>
  271. <resources>
  272. <resource>
  273. <directory>${dependency.unpack.directory}</directory>
  274. <filtering>false</filtering>
  275. </resource>
  276. </resources>
  277. </configuration>
  278. </execution>
  279. <execution>
  280. <id>parse-version</id>
  281. <goals>
  282. <goal>parse-version</goal>
  283. </goals>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. </plugins>
  288. </build>
  289. <profiles>
  290. <profile>
  291. <id>release</id>
  292. <activation>
  293. <activeByDefault>false</activeByDefault>
  294. </activation>
  295. <properties>
  296. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  297. </properties>
  298. <build>
  299. <plugins>
  300. <plugin>
  301. <artifactId>maven-source-plugin</artifactId>
  302. <executions>
  303. <execution>
  304. <id>sources-jar</id>
  305. <phase>package</phase>
  306. <goals>
  307. <goal>jar</goal>
  308. </goals>
  309. <configuration>
  310. <!-- Only include java files -->
  311. <includes>
  312. <include>**/*.java</include>
  313. </includes>
  314. </configuration>
  315. </execution>
  316. </executions>
  317. </plugin>
  318. <plugin>
  319. <artifactId>maven-javadoc-plugin</artifactId>
  320. <version>2.10.3</version>
  321. <executions>
  322. <execution>
  323. <id>generate-javadoc</id>
  324. <goals>
  325. <goal>jar</goal>
  326. </goals>
  327. <configuration>
  328. <failOnError>false</failOnError>
  329. </configuration>
  330. </execution>
  331. </executions>
  332. </plugin>
  333. <plugin>
  334. <groupId>org.sonatype.plugins</groupId>
  335. <artifactId>nexus-staging-maven-plugin</artifactId>
  336. <version>1.6.7</version>
  337. <extensions>true</extensions>
  338. </plugin>
  339. </plugins>
  340. </build>
  341. </profile>
  342. </profiles>
  343. </project>