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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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.0-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.vaadin3</vaadin.gwt.version>
  29. <vaadin.plugin.version>7.7.0.alpha1</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.vaadin3</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 6.11 -->
  166. <dependency>
  167. <groupId>com.puppycrawl.tools</groupId>
  168. <artifactId>checkstyle</artifactId>
  169. <version>6.17</version>
  170. </dependency>
  171. </dependencies>
  172. <configuration>
  173. <configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
  174. <headerLocation>../checkstyle/header</headerLocation>
  175. <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
  176. <encoding>UTF-8</encoding>
  177. <consoleOutput>false</consoleOutput>
  178. <failsOnError>false</failsOnError>
  179. <linkXRef>false</linkXRef>
  180. </configuration>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.codehaus.mojo</groupId>
  184. <artifactId>animal-sniffer-maven-plugin</artifactId>
  185. <version>1.15</version>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.eclipse.m2e</groupId>
  189. <artifactId>lifecycle-mapping</artifactId>
  190. <version>1.0.0</version>
  191. <configuration>
  192. <lifecycleMappingMetadata>
  193. <pluginExecutions>
  194. <pluginExecution>
  195. <pluginExecutionFilter>
  196. <groupId>
  197. org.apache.maven.plugins
  198. </groupId>
  199. <artifactId>
  200. maven-antrun-plugin
  201. </artifactId>
  202. <versionRange>
  203. [1.8,)
  204. </versionRange>
  205. <goals>
  206. <goal>run</goal>
  207. </goals>
  208. </pluginExecutionFilter>
  209. <action>
  210. <ignore></ignore>
  211. </action>
  212. </pluginExecution>
  213. </pluginExecutions>
  214. </lifecycleMappingMetadata>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </pluginManagement>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.codehaus.mojo</groupId>
  222. <artifactId>animal-sniffer-maven-plugin</artifactId>
  223. <executions>
  224. <execution>
  225. <id>java6compatibility</id>
  226. <phase>test</phase>
  227. <goals>
  228. <goal>check</goal>
  229. </goals>
  230. <configuration>
  231. <signature>
  232. <groupId>org.codehaus.mojo.signature</groupId>
  233. <artifactId>java16</artifactId>
  234. <version>1.0</version>
  235. </signature>
  236. <ignores>
  237. <ignore>com.google.gwt.*</ignore>
  238. </ignores>
  239. </configuration>
  240. </execution>
  241. </executions>
  242. </plugin>
  243. <!-- Unpacked Dependencies as resource -->
  244. <plugin>
  245. <groupId>org.codehaus.mojo</groupId>
  246. <artifactId>build-helper-maven-plugin</artifactId>
  247. <!-- Needs extra resource folder for unpacked dependencies -->
  248. <executions>
  249. <execution>
  250. <id>add-dependency-resources</id>
  251. <phase>generate-resources</phase>
  252. <goals>
  253. <goal>add-resource</goal>
  254. </goals>
  255. <configuration>
  256. <resources>
  257. <resource>
  258. <directory>${dependency.unpack.directory}</directory>
  259. <filtering>false</filtering>
  260. </resource>
  261. </resources>
  262. </configuration>
  263. </execution>
  264. </executions>
  265. </plugin>
  266. </plugins>
  267. </build>
  268. <profiles>
  269. <profile>
  270. <id>release</id>
  271. <activation>
  272. <activeByDefault>false</activeByDefault>
  273. </activation>
  274. <properties>
  275. <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
  276. </properties>
  277. <build>
  278. <plugins>
  279. <plugin>
  280. <artifactId>maven-source-plugin</artifactId>
  281. <executions>
  282. <execution>
  283. <id>sources-jar</id>
  284. <phase>package</phase>
  285. <goals>
  286. <goal>jar</goal>
  287. </goals>
  288. <configuration>
  289. <!-- Only include java files -->
  290. <includes>
  291. <include>**/*.java</include>
  292. </includes>
  293. </configuration>
  294. </execution>
  295. </executions>
  296. </plugin>
  297. <plugin>
  298. <artifactId>maven-javadoc-plugin</artifactId>
  299. <version>2.10.3</version>
  300. <executions>
  301. <execution>
  302. <id>generate-javadoc</id>
  303. <goals>
  304. <goal>jar</goal>
  305. </goals>
  306. <configuration>
  307. <failOnError>false</failOnError>
  308. </configuration>
  309. </execution>
  310. </executions>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.sonatype.plugins</groupId>
  314. <artifactId>nexus-staging-maven-plugin</artifactId>
  315. <version>1.6.7</version>
  316. <extensions>true</extensions>
  317. </plugin>
  318. </plugins>
  319. </build>
  320. </profile>
  321. </profiles>
  322. </project>