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

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