Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pom.xml 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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>jar</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. </plugins>
  150. <pluginManagement>
  151. <plugins>
  152. <!-- Skip install, deploy and javadoc -->
  153. <plugin>
  154. <artifactId>maven-deploy-plugin</artifactId>
  155. <configuration>
  156. <skip>true</skip>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-install-plugin</artifactId>
  161. <configuration>
  162. <skip>true</skip>
  163. </configuration>
  164. </plugin>
  165. <plugin>
  166. <artifactId>maven-jar-plugin</artifactId>
  167. <executions>
  168. <execution>
  169. <id>default-jar</id>
  170. <phase>never</phase>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <artifactId>maven-source-plugin</artifactId>
  176. <configuration>
  177. <skipSource>true</skipSource>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <artifactId>maven-javadoc-plugin</artifactId>
  182. <configuration>
  183. <skip>true</skip>
  184. </configuration>
  185. </plugin>
  186. </plugins>
  187. </pluginManagement>
  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. <!-- Extract sources for JavaDoc -->
  242. <plugin>
  243. <artifactId>maven-dependency-plugin</artifactId>
  244. <executions>
  245. <execution>
  246. <id>extract-sources</id>
  247. <phase>prepare-package</phase>
  248. <goals>
  249. <goal>unpack</goal>
  250. </goals>
  251. <configuration>
  252. <artifactItems>
  253. <artifactItem>
  254. <groupId>${project.groupId}</groupId>
  255. <artifactId>vaadin-shared</artifactId>
  256. <classifier>sources</classifier>
  257. </artifactItem>
  258. <artifactItem>
  259. <groupId>${project.groupId}</groupId>
  260. <artifactId>vaadin-server</artifactId>
  261. <classifier>sources</classifier>
  262. </artifactItem>
  263. <artifactItem>
  264. <groupId>${project.groupId}</groupId>
  265. <artifactId>vaadin-client</artifactId>
  266. <classifier>sources</classifier>
  267. </artifactItem>
  268. </artifactItems>
  269. </configuration>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <!-- Add extracted sources -->
  274. <plugin>
  275. <groupId>org.codehaus.mojo</groupId>
  276. <artifactId>build-helper-maven-plugin</artifactId>
  277. <executions>
  278. <execution>
  279. <id>add-source-path</id>
  280. <phase>prepare-package</phase>
  281. <goals>
  282. <goal>add-source</goal>
  283. </goals>
  284. <configuration>
  285. <sources>
  286. <source>${dependency.unpack.directory}</source>
  287. </sources>
  288. </configuration>
  289. </execution>
  290. </executions>
  291. </plugin>
  292. <!-- Make Combined JavaDoc -->
  293. <plugin>
  294. <artifactId>maven-javadoc-plugin</artifactId>
  295. <executions>
  296. <execution>
  297. <id>generate-combined-javadoc</id>
  298. <phase>package</phase>
  299. <goals>
  300. <goal>jar</goal>
  301. </goals>
  302. <configuration>
  303. <failOnError>false</failOnError>
  304. <excludePackageNames>com.vaadin.builhelpers</excludePackageNames>
  305. <skip>false</skip>
  306. <stylesheetfile>javadoc.css</stylesheetfile>
  307. <links>
  308. <link>http://docs.oracle.com/javase/6/docs/api/</link>
  309. <link>http://docs.oracle.com/j2ee/1.4/docs/api/</link>
  310. </links>
  311. </configuration>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. </plugins>
  316. </build>
  317. </profile>
  318. </profiles>
  319. </project>