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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-all</artifactId>
  11. <name>vaadin-all</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <webcontent.dir>${project.build.outputDirectory}/WebContent/</webcontent.dir>
  15. <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
  16. </properties>
  17. <url>https://vaadin.com/</url>
  18. <description>Vaadin All package</description>
  19. <dependencies>
  20. <dependency>
  21. <groupId>${project.groupId}</groupId>
  22. <artifactId>vaadin-shared</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>${project.groupId}</groupId>
  27. <artifactId>vaadin-push</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>${project.groupId}</groupId>
  32. <artifactId>vaadin-server</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>${project.groupId}</groupId>
  37. <artifactId>vaadin-themes</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>${project.groupId}</groupId>
  42. <artifactId>vaadin-client</artifactId>
  43. <version>${project.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>${project.groupId}</groupId>
  47. <artifactId>vaadin-client-compiler</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>${project.groupId}</groupId>
  52. <artifactId>vaadin-client-compiled</artifactId>
  53. <version>${project.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>${project.groupId}</groupId>
  57. <artifactId>vaadin-compatibility-shared</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>${project.groupId}</groupId>
  62. <artifactId>vaadin-compatibility-server</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>${project.groupId}</groupId>
  67. <artifactId>vaadin-compatibility-themes</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>${project.groupId}</groupId>
  72. <artifactId>vaadin-compatibility-client</artifactId>
  73. <version>${project.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>${project.groupId}</groupId>
  77. <artifactId>vaadin-compatibility-client-compiled</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <!-- Needed because referenced from javadocs -->
  81. <dependency>
  82. <groupId>javax.portlet</groupId>
  83. <artifactId>portlet-api</artifactId>
  84. <version>2.0</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.liferay.portal</groupId>
  89. <artifactId>portal-service</artifactId>
  90. <version>${liferay.portal-service.version}</version>
  91. <scope>provided</scope>
  92. </dependency>
  93. </dependencies>
  94. <build>
  95. <plugins>
  96. <!-- Release Notes -->
  97. <plugin>
  98. <groupId>org.codehaus.mojo</groupId>
  99. <artifactId>build-helper-maven-plugin</artifactId>
  100. <executions>
  101. <execution>
  102. <phase>initialize</phase>
  103. <id>parse-version</id>
  104. <goals>
  105. <goal>parse-version</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-checkstyle-plugin</artifactId>
  113. <executions>
  114. <execution>
  115. <goals>
  116. <goal>checkstyle</goal>
  117. </goals>
  118. <phase>process-sources</phase>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. <plugin>
  123. <artifactId>maven-antrun-plugin</artifactId>
  124. <executions>
  125. <execution>
  126. <id>filter-release-notes</id>
  127. <phase>prepare-package</phase>
  128. <goals>
  129. <goal>run</goal>
  130. </goals>
  131. <configuration>
  132. <target>
  133. <copy todir="${webcontent.dir}">
  134. <fileset dir="src/main/templates/">
  135. <patternset>
  136. <include
  137. name="release-notes.html" />
  138. </patternset>
  139. </fileset>
  140. <filterchain>
  141. <expandproperties />
  142. <replacetokens
  143. begintoken="@" endtoken="@">
  144. <token key="version"
  145. value="${project.version}" />
  146. <token key="version-minor"
  147. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  148. <token key="gwt-version"
  149. value="${vaadin.gwt.version}" />
  150. <token key="builddate"
  151. value="${maven.build.timestamp}" />
  152. </replacetokens>
  153. </filterchain>
  154. </copy>
  155. </target>
  156. </configuration>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. <!-- vaadin-all zip -->
  161. <plugin>
  162. <artifactId>maven-assembly-plugin</artifactId>
  163. <executions>
  164. <execution>
  165. <phase>package</phase>
  166. <goals>
  167. <goal>single</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. <configuration>
  172. <archive>
  173. <addMavenDescriptor>false</addMavenDescriptor>
  174. </archive>
  175. <appendAssemblyId>false</appendAssemblyId>
  176. <descriptors>
  177. <descriptor>all-assembly-descriptor.xml</descriptor>
  178. </descriptors>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. <pluginManagement>
  183. <plugins>
  184. <!-- Skip install, deploy and javadoc -->
  185. <plugin>
  186. <artifactId>maven-deploy-plugin</artifactId>
  187. <configuration>
  188. <skip>true</skip>
  189. </configuration>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.sonatype.plugins</groupId>
  193. <artifactId>nexus-staging-maven-plugin</artifactId>
  194. <configuration>
  195. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  196. </configuration>
  197. </plugin>
  198. <plugin>
  199. <artifactId>maven-install-plugin</artifactId>
  200. <configuration>
  201. <skip>true</skip>
  202. </configuration>
  203. </plugin>
  204. <plugin>
  205. <artifactId>maven-jar-plugin</artifactId>
  206. <executions>
  207. <execution>
  208. <id>default-jar</id>
  209. <phase>never</phase>
  210. </execution>
  211. </executions>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-source-plugin</artifactId>
  215. <configuration>
  216. <skipSource>true</skipSource>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <artifactId>maven-javadoc-plugin</artifactId>
  221. <configuration>
  222. <skip>true</skip>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </pluginManagement>
  227. </build>
  228. <profiles>
  229. <profile>
  230. <id>release-assemblies</id>
  231. <activation>
  232. <activeByDefault>false</activeByDefault>
  233. </activation>
  234. <build>
  235. <plugins>
  236. <!-- Extract sources for JavaDoc -->
  237. <plugin>
  238. <artifactId>maven-dependency-plugin</artifactId>
  239. <executions>
  240. <execution>
  241. <id>extract-sources</id>
  242. <phase>prepare-package</phase>
  243. <goals>
  244. <goal>unpack</goal>
  245. </goals>
  246. <configuration>
  247. <artifactItems>
  248. <artifactItem>
  249. <groupId>${project.groupId}</groupId>
  250. <artifactId>vaadin-shared</artifactId>
  251. <classifier>sources</classifier>
  252. </artifactItem>
  253. <artifactItem>
  254. <groupId>${project.groupId}</groupId>
  255. <artifactId>vaadin-server</artifactId>
  256. <classifier>sources</classifier>
  257. </artifactItem>
  258. <artifactItem>
  259. <groupId>${project.groupId}</groupId>
  260. <artifactId>vaadin-client</artifactId>
  261. <classifier>sources</classifier>
  262. </artifactItem>
  263. </artifactItems>
  264. </configuration>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. <!-- Add extracted sources -->
  269. <plugin>
  270. <groupId>org.codehaus.mojo</groupId>
  271. <artifactId>build-helper-maven-plugin</artifactId>
  272. <executions>
  273. <execution>
  274. <id>add-source-path</id>
  275. <phase>prepare-package</phase>
  276. <goals>
  277. <goal>add-source</goal>
  278. </goals>
  279. <configuration>
  280. <sources>
  281. <source>${dependency.unpack.directory}</source>
  282. </sources>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <!-- Make Combined JavaDoc -->
  288. <plugin>
  289. <artifactId>maven-javadoc-plugin</artifactId>
  290. <executions>
  291. <execution>
  292. <id>generate-combined-javadoc</id>
  293. <phase>package</phase>
  294. <goals>
  295. <goal>jar</goal>
  296. </goals>
  297. <configuration>
  298. <failOnError>false</failOnError>
  299. <excludePackageNames>com.vaadin.buildhelpers</excludePackageNames>
  300. <skip>false</skip>
  301. <links>
  302. <link>https://docs.oracle.com/javase/8/docs/api/</link>
  303. <link>https://docs.oracle.com/javaee/6/api/</link>
  304. <link>https://portals.apache.org/pluto/portlet-2.0-apidocs/</link>
  305. <link>https://docs.liferay.com/portal/6.2/javadocs/</link>
  306. </links>
  307. </configuration>
  308. </execution>
  309. </executions>
  310. </plugin>
  311. </plugins>
  312. <pluginManagement>
  313. <plugins>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-gpg-plugin</artifactId>
  317. <configuration>
  318. <skip>true</skip>
  319. </configuration>
  320. </plugin>
  321. </plugins>
  322. </pluginManagement>
  323. </build>
  324. </profile>
  325. </profiles>
  326. </project>