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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. <executions>
  73. <execution>
  74. <phase>initialize</phase>
  75. <id>parse-version</id>
  76. <goals>
  77. <goal>parse-version</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-antrun-plugin</artifactId>
  84. <executions>
  85. <execution>
  86. <id>filter-release-notes</id>
  87. <phase>prepare-package</phase>
  88. <goals>
  89. <goal>run</goal>
  90. </goals>
  91. <configuration>
  92. <target>
  93. <loadfile property="release-notes-tickets" srcFile="${relnotes.tickets.file}"
  94. failonerror="false" />
  95. <loadfile property="release-notes-authors" srcFile="${relnotes.authors.file}"
  96. failonerror="false" />
  97. <copy todir="${webcontent.dir}">
  98. <fileset dir="src/main/templates/">
  99. <patternset>
  100. <include name="release-notes.html" />
  101. </patternset>
  102. </fileset>
  103. <filterchain>
  104. <expandproperties />
  105. <replacetokens begintoken="@" endtoken="@">
  106. <token key="version" value="${project.version}" />
  107. </replacetokens>
  108. <replacetokens begintoken="@" endtoken="@">
  109. <token key="version-minor"
  110. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  111. </replacetokens>
  112. <replacetokens begintoken="@" endtoken="@">
  113. <token key="builddate" value="${maven.build.timestamp}" />
  114. </replacetokens>
  115. <replacetokens begintoken="@" endtoken="@">
  116. <token key="release-notes-tickets" value="${release-notes-tickets}" />
  117. </replacetokens>
  118. <replacetokens begintoken="@" endtoken="@">
  119. <token key="release-notes-authors" value="${release-notes-authors}" />
  120. </replacetokens>
  121. </filterchain>
  122. </copy>
  123. </target>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <!-- vaadin-all zip -->
  129. <plugin>
  130. <artifactId>maven-assembly-plugin</artifactId>
  131. <executions>
  132. <execution>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>single</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. <configuration>
  140. <archive>
  141. <addMavenDescriptor>false</addMavenDescriptor>
  142. </archive>
  143. <appendAssemblyId>false</appendAssemblyId>
  144. <descriptors>
  145. <descriptor>all-assembly-descriptor.xml</descriptor>
  146. </descriptors>
  147. </configuration>
  148. </plugin>
  149. <!-- Skip install and deploy -->
  150. <plugin>
  151. <artifactId>maven-deploy-plugin</artifactId>
  152. <configuration>
  153. <skip>true</skip>
  154. </configuration>
  155. </plugin>
  156. <plugin>
  157. <artifactId>maven-install-plugin</artifactId>
  158. <configuration>
  159. <skip>true</skip>
  160. </configuration>
  161. </plugin>
  162. <!-- Release notes helpers and resources -->
  163. <plugin>
  164. <artifactId>maven-compiler-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <id>compile</id>
  168. <goals>
  169. <goal>compile</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <artifactId>maven-resources-plugin</artifactId>
  176. <executions>
  177. <execution>
  178. <id>resources</id>
  179. <goals>
  180. <goal>resources</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <!-- TODO: Combination javadocs -->
  186. </plugins>
  187. </build>
  188. <profiles>
  189. <profile>
  190. <id>release</id>
  191. <activation>
  192. <activeByDefault>false</activeByDefault>
  193. </activation>
  194. <build>
  195. <plugins>
  196. <plugin>
  197. <groupId>org.codehaus.mojo</groupId>
  198. <artifactId>exec-maven-plugin</artifactId>
  199. <executions>
  200. <execution>
  201. <id>fetch-release-notes-tickets</id>
  202. <phase>process-classes</phase>
  203. <goals>
  204. <goal>exec</goal>
  205. </goals>
  206. <configuration>
  207. <classpathScope>compile</classpathScope>
  208. <executable>${java.home}/bin/java</executable>
  209. <arguments>
  210. <argument>-Dvaadin.version=${project.version}</argument>
  211. <argument>-classpath</argument>
  212. <classpath />
  213. <argument>com.vaadin.buildhelpers.FetchReleaseNotesTickets
  214. </argument>
  215. </arguments>
  216. <outputFile>${relnotes.tickets.file}</outputFile>
  217. </configuration>
  218. </execution>
  219. <execution>
  220. <id>fetch-release-notes-authors</id>
  221. <phase>process-classes</phase>
  222. <goals>
  223. <goal>exec</goal>
  224. </goals>
  225. <configuration>
  226. <classpathScope>compile</classpathScope>
  227. <executable>${java.home}/bin/java</executable>
  228. <arguments>
  229. <argument>-Dvaadin.version=${project.version}</argument>
  230. <argument>-classpath</argument>
  231. <classpath />
  232. <argument>com.vaadin.buildhelpers.FetchReleaseNotesAuthors
  233. </argument>
  234. </arguments>
  235. <outputFile>${relnotes.authors.file}</outputFile>
  236. </configuration>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. </plugins>
  241. </build>
  242. </profile>
  243. </profiles>
  244. </project>