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

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