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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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>8.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. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-checkstyle-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <goals>
  85. <goal>checkstyle</goal>
  86. </goals>
  87. <phase>process-sources</phase>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-antrun-plugin</artifactId>
  93. <executions>
  94. <execution>
  95. <id>filter-release-notes</id>
  96. <phase>prepare-package</phase>
  97. <goals>
  98. <goal>run</goal>
  99. </goals>
  100. <configuration>
  101. <target>
  102. <loadfile property="release-notes-tickets" srcFile="${relnotes.tickets.file}"
  103. failonerror="false" />
  104. <loadfile property="release-notes-authors" srcFile="${relnotes.authors.file}"
  105. failonerror="false" />
  106. <copy todir="${webcontent.dir}">
  107. <fileset dir="src/main/templates/">
  108. <patternset>
  109. <include name="release-notes.html" />
  110. </patternset>
  111. </fileset>
  112. <filterchain>
  113. <expandproperties />
  114. <replacetokens begintoken="@" endtoken="@">
  115. <token key="version" value="${project.version}" />
  116. <token key="version-minor"
  117. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  118. <token key="gwt-version" value="${vaadin.gwt.version}" />
  119. <token key="builddate" value="${maven.build.timestamp}" />
  120. <token key="release-notes-tickets" value="${release-notes-tickets}" />
  121. <token key="release-notes-authors" value="${release-notes-authors}" />
  122. </replacetokens>
  123. </filterchain>
  124. </copy>
  125. </target>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <!-- vaadin-all zip -->
  131. <plugin>
  132. <artifactId>maven-assembly-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>single</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. <configuration>
  142. <archive>
  143. <addMavenDescriptor>false</addMavenDescriptor>
  144. </archive>
  145. <appendAssemblyId>false</appendAssemblyId>
  146. <descriptors>
  147. <descriptor>all-assembly-descriptor.xml</descriptor>
  148. </descriptors>
  149. </configuration>
  150. </plugin>
  151. </plugins>
  152. <pluginManagement>
  153. <plugins>
  154. <!-- Skip install, deploy and javadoc -->
  155. <plugin>
  156. <artifactId>maven-deploy-plugin</artifactId>
  157. <configuration>
  158. <skip>true</skip>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.sonatype.plugins</groupId>
  163. <artifactId>nexus-staging-maven-plugin</artifactId>
  164. <configuration>
  165. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <artifactId>maven-install-plugin</artifactId>
  170. <configuration>
  171. <skip>true</skip>
  172. </configuration>
  173. </plugin>
  174. <plugin>
  175. <artifactId>maven-jar-plugin</artifactId>
  176. <executions>
  177. <execution>
  178. <id>default-jar</id>
  179. <phase>never</phase>
  180. </execution>
  181. </executions>
  182. </plugin>
  183. <plugin>
  184. <artifactId>maven-source-plugin</artifactId>
  185. <configuration>
  186. <skipSource>true</skipSource>
  187. </configuration>
  188. </plugin>
  189. <plugin>
  190. <artifactId>maven-javadoc-plugin</artifactId>
  191. <configuration>
  192. <skip>true</skip>
  193. </configuration>
  194. </plugin>
  195. </plugins>
  196. </pluginManagement>
  197. </build>
  198. <profiles>
  199. <profile>
  200. <id>release</id>
  201. <activation>
  202. <activeByDefault>false</activeByDefault>
  203. </activation>
  204. <build>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.codehaus.mojo</groupId>
  208. <artifactId>exec-maven-plugin</artifactId>
  209. <executions>
  210. <execution>
  211. <id>fetch-release-notes-tickets</id>
  212. <phase>process-classes</phase>
  213. <goals>
  214. <goal>exec</goal>
  215. </goals>
  216. <configuration>
  217. <classpathScope>compile</classpathScope>
  218. <executable>${java.home}/bin/java</executable>
  219. <arguments>
  220. <argument>-Dvaadin.version=${project.version}</argument>
  221. <argument>-classpath</argument>
  222. <classpath />
  223. <argument>com.vaadin.buildhelpers.FetchReleaseNotesTickets
  224. </argument>
  225. </arguments>
  226. <outputFile>${relnotes.tickets.file}</outputFile>
  227. </configuration>
  228. </execution>
  229. <execution>
  230. <id>fetch-release-notes-authors</id>
  231. <phase>process-classes</phase>
  232. <goals>
  233. <goal>exec</goal>
  234. </goals>
  235. <configuration>
  236. <classpathScope>compile</classpathScope>
  237. <executable>${java.home}/bin/java</executable>
  238. <arguments>
  239. <argument>-Dvaadin.version=${project.version}</argument>
  240. <argument>-classpath</argument>
  241. <classpath />
  242. <argument>com.vaadin.buildhelpers.FetchReleaseNotesAuthors
  243. </argument>
  244. </arguments>
  245. <outputFile>${relnotes.authors.file}</outputFile>
  246. </configuration>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. <!-- Extract sources for JavaDoc -->
  251. <plugin>
  252. <artifactId>maven-dependency-plugin</artifactId>
  253. <executions>
  254. <execution>
  255. <id>extract-sources</id>
  256. <phase>prepare-package</phase>
  257. <goals>
  258. <goal>unpack</goal>
  259. </goals>
  260. <configuration>
  261. <artifactItems>
  262. <artifactItem>
  263. <groupId>${project.groupId}</groupId>
  264. <artifactId>vaadin-shared</artifactId>
  265. <classifier>sources</classifier>
  266. </artifactItem>
  267. <artifactItem>
  268. <groupId>${project.groupId}</groupId>
  269. <artifactId>vaadin-server</artifactId>
  270. <classifier>sources</classifier>
  271. </artifactItem>
  272. <artifactItem>
  273. <groupId>${project.groupId}</groupId>
  274. <artifactId>vaadin-client</artifactId>
  275. <classifier>sources</classifier>
  276. </artifactItem>
  277. </artifactItems>
  278. </configuration>
  279. </execution>
  280. </executions>
  281. </plugin>
  282. <!-- Add extracted sources -->
  283. <plugin>
  284. <groupId>org.codehaus.mojo</groupId>
  285. <artifactId>build-helper-maven-plugin</artifactId>
  286. <executions>
  287. <execution>
  288. <id>add-source-path</id>
  289. <phase>prepare-package</phase>
  290. <goals>
  291. <goal>add-source</goal>
  292. </goals>
  293. <configuration>
  294. <sources>
  295. <source>${dependency.unpack.directory}</source>
  296. </sources>
  297. </configuration>
  298. </execution>
  299. </executions>
  300. </plugin>
  301. <!-- Make Combined JavaDoc -->
  302. <plugin>
  303. <artifactId>maven-javadoc-plugin</artifactId>
  304. <executions>
  305. <execution>
  306. <id>generate-combined-javadoc</id>
  307. <phase>package</phase>
  308. <goals>
  309. <goal>jar</goal>
  310. </goals>
  311. <configuration>
  312. <failOnError>false</failOnError>
  313. <excludePackageNames>com.vaadin.builhelpers</excludePackageNames>
  314. <skip>false</skip>
  315. <stylesheetfile>javadoc.css</stylesheetfile>
  316. <links>
  317. <link>http://docs.oracle.com/javase/6/docs/api/</link>
  318. <link>http://docs.oracle.com/j2ee/1.4/docs/api/</link>
  319. </links>
  320. </configuration>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. </plugins>
  325. <pluginManagement>
  326. <plugins>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-gpg-plugin</artifactId>
  330. <configuration>
  331. <skip>true</skip>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </pluginManagement>
  336. </build>
  337. </profile>
  338. </profiles>
  339. </project>