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

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