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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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>7.7.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-all</artifactId>
  11. <name>vaadin-all</name>
  12. <packaging>pom</packaging>
  13. <properties>
  14. <relnotes.tickets.file>${project.build.directory}/generated-resources/releasenotes/release-notes-tickets.html</relnotes.tickets.file>
  15. <relnotes.authors.file>${project.build.directory}/generated-resources/releasenotes/release-notes-authors.html</relnotes.authors.file>
  16. <webcontent.dir>${project.build.outputDirectory}/WebContent/</webcontent.dir>
  17. <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
  18. </properties>
  19. <organization>
  20. <name>Vaadin Ltd</name>
  21. </organization>
  22. <url>https://vaadin.com/</url>
  23. <description>Vaadin All package</description>
  24. <dependencies>
  25. <dependency>
  26. <groupId>${project.groupId}</groupId>
  27. <artifactId>vaadin-shared</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>${project.groupId}</groupId>
  32. <artifactId>vaadin-push</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>${project.groupId}</groupId>
  37. <artifactId>vaadin-server</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>${project.groupId}</groupId>
  42. <artifactId>vaadin-themes</artifactId>
  43. <version>${project.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>${project.groupId}</groupId>
  47. <artifactId>vaadin-client</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>${project.groupId}</groupId>
  52. <artifactId>vaadin-client-compiler</artifactId>
  53. <version>${project.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>${project.groupId}</groupId>
  57. <artifactId>vaadin-client-compiled</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>${project.groupId}</groupId>
  62. <artifactId>vaadin-widgets</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <!-- Release Notes -->
  69. <plugin>
  70. <groupId>org.codehaus.mojo</groupId>
  71. <artifactId>build-helper-maven-plugin</artifactId>
  72. <version>1.10</version>
  73. <executions>
  74. <execution>
  75. <phase>initialize</phase>
  76. <id>parse-version</id>
  77. <goals>
  78. <goal>parse-version</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. <plugin>
  84. <artifactId>maven-antrun-plugin</artifactId>
  85. <executions>
  86. <execution>
  87. <id>filter-release-notes</id>
  88. <phase>prepare-package</phase>
  89. <goals>
  90. <goal>run</goal>
  91. </goals>
  92. <configuration>
  93. <target>
  94. <loadfile property="release-notes-tickets" srcFile="${relnotes.tickets.file}"
  95. failonerror="false" />
  96. <loadfile property="release-notes-authors" srcFile="${relnotes.authors.file}"
  97. failonerror="false" />
  98. <copy todir="${webcontent.dir}">
  99. <fileset dir="src/main/templates/">
  100. <patternset>
  101. <include name="release-notes.html" />
  102. </patternset>
  103. </fileset>
  104. <filterchain>
  105. <expandproperties />
  106. <replacetokens begintoken="@" endtoken="@">
  107. <token key="version" value="${project.version}" />
  108. </replacetokens>
  109. <replacetokens begintoken="@" endtoken="@">
  110. <token key="version-minor"
  111. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  112. </replacetokens>
  113. <replacetokens begintoken="@" endtoken="@">
  114. <token key="builddate" value="${maven.build.timestamp}" />
  115. </replacetokens>
  116. <replacetokens begintoken="@" endtoken="@">
  117. <token key="release-notes-tickets" value="${release-notes-tickets}" />
  118. </replacetokens>
  119. <replacetokens begintoken="@" endtoken="@">
  120. <token key="release-notes-authors" value="${release-notes-authors}" />
  121. </replacetokens>
  122. </filterchain>
  123. </copy>
  124. </target>
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <!-- vaadin-all zip -->
  130. <plugin>
  131. <artifactId>maven-assembly-plugin</artifactId>
  132. <executions>
  133. <execution>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>single</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. <configuration>
  141. <archive>
  142. <addMavenDescriptor>false</addMavenDescriptor>
  143. </archive>
  144. <appendAssemblyId>false</appendAssemblyId>
  145. <descriptors>
  146. <descriptor>all-assembly-descriptor.xml</descriptor>
  147. </descriptors>
  148. </configuration>
  149. </plugin>
  150. <!-- Skip install and deploy -->
  151. <plugin>
  152. <artifactId>maven-deploy-plugin</artifactId>
  153. <configuration>
  154. <skip>true</skip>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <artifactId>maven-install-plugin</artifactId>
  159. <configuration>
  160. <skip>true</skip>
  161. </configuration>
  162. </plugin>
  163. <!-- Release notes helpers and resources -->
  164. <plugin>
  165. <artifactId>maven-compiler-plugin</artifactId>
  166. <executions>
  167. <execution>
  168. <id>compile</id>
  169. <goals>
  170. <goal>compile</goal>
  171. </goals>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. <plugin>
  176. <artifactId>maven-resources-plugin</artifactId>
  177. <executions>
  178. <execution>
  179. <id>resources</id>
  180. <goals>
  181. <goal>resources</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. <!-- TODO: Combination javadocs -->
  187. </plugins>
  188. </build>
  189. <profiles>
  190. <profile>
  191. <id>release</id>
  192. <activation>
  193. <activeByDefault>false</activeByDefault>
  194. </activation>
  195. <build>
  196. <plugins>
  197. <plugin>
  198. <groupId>org.codehaus.mojo</groupId>
  199. <artifactId>exec-maven-plugin</artifactId>
  200. <executions>
  201. <execution>
  202. <id>fetch-release-notes-tickets</id>
  203. <phase>process-classes</phase>
  204. <goals>
  205. <goal>exec</goal>
  206. </goals>
  207. <configuration>
  208. <classpathScope>compile</classpathScope>
  209. <executable>${java.home}/bin/java</executable>
  210. <arguments>
  211. <argument>-Dvaadin.version=${project.version}</argument>
  212. <argument>-classpath</argument>
  213. <classpath />
  214. <argument>com.vaadin.buildhelpers.FetchReleaseNotesTickets
  215. </argument>
  216. </arguments>
  217. <outputFile>${relnotes.tickets.file}</outputFile>
  218. </configuration>
  219. </execution>
  220. <execution>
  221. <id>fetch-release-notes-authors</id>
  222. <phase>process-classes</phase>
  223. <goals>
  224. <goal>exec</goal>
  225. </goals>
  226. <configuration>
  227. <classpathScope>compile</classpathScope>
  228. <executable>${java.home}/bin/java</executable>
  229. <arguments>
  230. <argument>-Dvaadin.version=${project.version}</argument>
  231. <argument>-classpath</argument>
  232. <classpath />
  233. <argument>com.vaadin.buildhelpers.FetchReleaseNotesAuthors
  234. </argument>
  235. </arguments>
  236. <outputFile>${relnotes.authors.file}</outputFile>
  237. </configuration>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. </profile>
  244. </profiles>
  245. </project>