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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  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-root</artifactId>
  8. <version>8.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-all</artifactId>
  11. <name>vaadin-all</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <relnotes.tickets.file>${project.build.directory}/generated-resources/releasenotes/release-notes-tickets.html</relnotes.tickets.file>
  15. <webcontent.dir>${project.build.outputDirectory}/WebContent/</webcontent.dir>
  16. <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
  17. </properties>
  18. <url>https://vaadin.com/</url>
  19. <description>Vaadin All package</description>
  20. <dependencies>
  21. <dependency>
  22. <groupId>${project.groupId}</groupId>
  23. <artifactId>vaadin-shared</artifactId>
  24. <version>${project.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>${project.groupId}</groupId>
  28. <artifactId>vaadin-push</artifactId>
  29. <version>${project.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>${project.groupId}</groupId>
  33. <artifactId>vaadin-server</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>${project.groupId}</groupId>
  38. <artifactId>vaadin-themes</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>${project.groupId}</groupId>
  43. <artifactId>vaadin-client</artifactId>
  44. <version>${project.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>${project.groupId}</groupId>
  48. <artifactId>vaadin-client-compiler</artifactId>
  49. <version>${project.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>${project.groupId}</groupId>
  53. <artifactId>vaadin-client-compiled</artifactId>
  54. <version>${project.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>${project.groupId}</groupId>
  58. <artifactId>vaadin-compatibility-shared</artifactId>
  59. <version>${project.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>${project.groupId}</groupId>
  63. <artifactId>vaadin-compatibility-server</artifactId>
  64. <version>${project.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>${project.groupId}</groupId>
  68. <artifactId>vaadin-compatibility-client</artifactId>
  69. <version>${project.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>${project.groupId}</groupId>
  73. <artifactId>vaadin-compatibility-client-compiled</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>${project.groupId}</groupId>
  78. <artifactId>vaadin-widgets</artifactId>
  79. <version>${project.version}</version>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <!-- Release Notes -->
  85. <plugin>
  86. <groupId>org.codehaus.mojo</groupId>
  87. <artifactId>build-helper-maven-plugin</artifactId>
  88. <executions>
  89. <execution>
  90. <phase>initialize</phase>
  91. <id>parse-version</id>
  92. <goals>
  93. <goal>parse-version</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-checkstyle-plugin</artifactId>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>checkstyle</goal>
  105. </goals>
  106. <phase>process-sources</phase>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-antrun-plugin</artifactId>
  112. <executions>
  113. <execution>
  114. <id>filter-release-notes</id>
  115. <phase>prepare-package</phase>
  116. <goals>
  117. <goal>run</goal>
  118. </goals>
  119. <configuration>
  120. <target>
  121. <loadfile property="release-notes-tickets"
  122. srcFile="${relnotes.tickets.file}"
  123. failonerror="false" />
  124. <copy todir="${webcontent.dir}">
  125. <fileset dir="src/main/templates/">
  126. <patternset>
  127. <include
  128. name="release-notes.html" />
  129. </patternset>
  130. </fileset>
  131. <filterchain>
  132. <expandproperties />
  133. <replacetokens
  134. begintoken="@" endtoken="@">
  135. <token key="version"
  136. value="${project.version}" />
  137. <token key="version-minor"
  138. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  139. <token key="gwt-version"
  140. value="${vaadin.gwt.version}" />
  141. <token key="builddate"
  142. value="${maven.build.timestamp}" />
  143. <token
  144. key="release-notes-tickets"
  145. value="${release-notes-tickets}" />
  146. </replacetokens>
  147. </filterchain>
  148. </copy>
  149. </target>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <!-- vaadin-all zip -->
  155. <plugin>
  156. <artifactId>maven-assembly-plugin</artifactId>
  157. <executions>
  158. <execution>
  159. <phase>package</phase>
  160. <goals>
  161. <goal>single</goal>
  162. </goals>
  163. </execution>
  164. </executions>
  165. <configuration>
  166. <archive>
  167. <addMavenDescriptor>false</addMavenDescriptor>
  168. </archive>
  169. <appendAssemblyId>false</appendAssemblyId>
  170. <descriptors>
  171. <descriptor>all-assembly-descriptor.xml</descriptor>
  172. </descriptors>
  173. </configuration>
  174. </plugin>
  175. </plugins>
  176. <pluginManagement>
  177. <plugins>
  178. <!-- Skip install, deploy and javadoc -->
  179. <plugin>
  180. <artifactId>maven-deploy-plugin</artifactId>
  181. <configuration>
  182. <skip>true</skip>
  183. </configuration>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.sonatype.plugins</groupId>
  187. <artifactId>nexus-staging-maven-plugin</artifactId>
  188. <configuration>
  189. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <artifactId>maven-install-plugin</artifactId>
  194. <configuration>
  195. <skip>true</skip>
  196. </configuration>
  197. </plugin>
  198. <plugin>
  199. <artifactId>maven-jar-plugin</artifactId>
  200. <executions>
  201. <execution>
  202. <id>default-jar</id>
  203. <phase>never</phase>
  204. </execution>
  205. </executions>
  206. </plugin>
  207. <plugin>
  208. <artifactId>maven-source-plugin</artifactId>
  209. <configuration>
  210. <skipSource>true</skipSource>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-javadoc-plugin</artifactId>
  215. <configuration>
  216. <skip>true</skip>
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </pluginManagement>
  221. </build>
  222. <profiles>
  223. <profile>
  224. <id>release</id>
  225. <activation>
  226. <activeByDefault>false</activeByDefault>
  227. </activation>
  228. <build>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.codehaus.mojo</groupId>
  232. <artifactId>exec-maven-plugin</artifactId>
  233. <executions>
  234. <execution>
  235. <id>fetch-release-notes-tickets</id>
  236. <phase>process-classes</phase>
  237. <goals>
  238. <goal>exec</goal>
  239. </goals>
  240. <configuration>
  241. <classpathScope>compile</classpathScope>
  242. <executable>${java.home}/bin/java</executable>
  243. <arguments>
  244. <argument>-Dvaadin.version=${project.version}</argument>
  245. <argument>-classpath</argument>
  246. <classpath />
  247. <argument>com.vaadin.buildhelpers.FetchReleaseNotesTickets
  248. </argument>
  249. </arguments>
  250. <outputFile>${relnotes.tickets.file}</outputFile>
  251. </configuration>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. <!-- Extract sources for JavaDoc -->
  256. <plugin>
  257. <artifactId>maven-dependency-plugin</artifactId>
  258. <executions>
  259. <execution>
  260. <id>extract-sources</id>
  261. <phase>prepare-package</phase>
  262. <goals>
  263. <goal>unpack</goal>
  264. </goals>
  265. <configuration>
  266. <artifactItems>
  267. <artifactItem>
  268. <groupId>${project.groupId}</groupId>
  269. <artifactId>vaadin-shared</artifactId>
  270. <classifier>sources</classifier>
  271. </artifactItem>
  272. <artifactItem>
  273. <groupId>${project.groupId}</groupId>
  274. <artifactId>vaadin-server</artifactId>
  275. <classifier>sources</classifier>
  276. </artifactItem>
  277. <artifactItem>
  278. <groupId>${project.groupId}</groupId>
  279. <artifactId>vaadin-client</artifactId>
  280. <classifier>sources</classifier>
  281. </artifactItem>
  282. </artifactItems>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <!-- Add extracted sources -->
  288. <plugin>
  289. <groupId>org.codehaus.mojo</groupId>
  290. <artifactId>build-helper-maven-plugin</artifactId>
  291. <executions>
  292. <execution>
  293. <id>add-source-path</id>
  294. <phase>prepare-package</phase>
  295. <goals>
  296. <goal>add-source</goal>
  297. </goals>
  298. <configuration>
  299. <sources>
  300. <source>${dependency.unpack.directory}</source>
  301. </sources>
  302. </configuration>
  303. </execution>
  304. </executions>
  305. </plugin>
  306. <!-- Make Combined JavaDoc -->
  307. <plugin>
  308. <artifactId>maven-javadoc-plugin</artifactId>
  309. <executions>
  310. <execution>
  311. <id>generate-combined-javadoc</id>
  312. <phase>package</phase>
  313. <goals>
  314. <goal>jar</goal>
  315. </goals>
  316. <configuration>
  317. <failOnError>false</failOnError>
  318. <excludePackageNames>com.vaadin.buildhelpers</excludePackageNames>
  319. <skip>false</skip>
  320. <links>
  321. <link>http://docs.oracle.com/javase/6/docs/api/</link>
  322. <link>http://docs.oracle.com/j2ee/1.4/docs/api/</link>
  323. </links>
  324. </configuration>
  325. </execution>
  326. </executions>
  327. </plugin>
  328. </plugins>
  329. <pluginManagement>
  330. <plugins>
  331. <plugin>
  332. <groupId>org.apache.maven.plugins</groupId>
  333. <artifactId>maven-gpg-plugin</artifactId>
  334. <configuration>
  335. <skip>true</skip>
  336. </configuration>
  337. </plugin>
  338. </plugins>
  339. </pluginManagement>
  340. </build>
  341. </profile>
  342. </profiles>
  343. </project>