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.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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.5</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. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-assembly-plugin</artifactId>
  133. <version>2.6</version>
  134. <executions>
  135. <execution>
  136. <phase>package</phase>
  137. <goals>
  138. <goal>single</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. <configuration>
  143. <archive>
  144. <addMavenDescriptor>false</addMavenDescriptor>
  145. </archive>
  146. <appendAssemblyId>false</appendAssemblyId>
  147. <descriptors>
  148. <descriptor>all-assembly-descriptor.xml</descriptor>
  149. </descriptors>
  150. </configuration>
  151. </plugin>
  152. <!-- Skip install and deploy -->
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-deploy-plugin</artifactId>
  156. <configuration>
  157. <skip>true</skip>
  158. </configuration>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-install-plugin</artifactId>
  163. <configuration>
  164. <skip>true</skip>
  165. </configuration>
  166. </plugin>
  167. <!-- Release notes helpers and resources -->
  168. <plugin>
  169. <artifactId>maven-compiler-plugin</artifactId>
  170. <executions>
  171. <execution>
  172. <id>compile</id>
  173. <goals>
  174. <goal>compile</goal>
  175. </goals>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <plugin>
  180. <artifactId>maven-resources-plugin</artifactId>
  181. <executions>
  182. <execution>
  183. <id>resources</id>
  184. <goals>
  185. <goal>resources</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. <!-- TODO: Combination javadocs -->
  191. </plugins>
  192. </build>
  193. <profiles>
  194. <profile>
  195. <id>release</id>
  196. <activation>
  197. <activeByDefault>false</activeByDefault>
  198. </activation>
  199. <build>
  200. <plugins>
  201. <plugin>
  202. <groupId>org.codehaus.mojo</groupId>
  203. <artifactId>exec-maven-plugin</artifactId>
  204. <version>1.4.0</version>
  205. <executions>
  206. <execution>
  207. <id>fetch-release-notes-tickets</id>
  208. <phase>process-classes</phase>
  209. <goals>
  210. <goal>exec</goal>
  211. </goals>
  212. <configuration>
  213. <classpathScope>compile</classpathScope>
  214. <executable>${java.home}/bin/java</executable>
  215. <arguments>
  216. <argument>-Dvaadin.version=${project.version}</argument>
  217. <argument>-classpath</argument>
  218. <classpath />
  219. <argument>com.vaadin.buildhelpers.FetchReleaseNotesTickets</argument>
  220. </arguments>
  221. <outputFile>${relnotes.tickets.file}</outputFile>
  222. </configuration>
  223. </execution>
  224. <execution>
  225. <id>fetch-release-notes-authors</id>
  226. <phase>process-classes</phase>
  227. <goals>
  228. <goal>exec</goal>
  229. </goals>
  230. <configuration>
  231. <classpathScope>compile</classpathScope>
  232. <executable>${java.home}/bin/java</executable>
  233. <arguments>
  234. <argument>-Dvaadin.version=${project.version}</argument>
  235. <argument>-classpath</argument>
  236. <classpath />
  237. <argument>com.vaadin.buildhelpers.FetchReleaseNotesAuthors</argument>
  238. </arguments>
  239. <outputFile>${relnotes.authors.file}</outputFile>
  240. </configuration>
  241. </execution>
  242. </executions>
  243. </plugin>
  244. </plugins>
  245. </build>
  246. </profile>
  247. </profiles>
  248. </project>