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

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