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

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