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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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.15-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. <scope>provided</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.liferay.portal</groupId>
  103. <artifactId>portal-service</artifactId>
  104. <version>${liferay.portal-service.version}</version>
  105. <scope>provided</scope>
  106. </dependency>
  107. </dependencies>
  108. <build>
  109. <plugins>
  110. <!-- Release Notes -->
  111. <plugin>
  112. <groupId>org.codehaus.mojo</groupId>
  113. <artifactId>build-helper-maven-plugin</artifactId>
  114. <executions>
  115. <execution>
  116. <phase>initialize</phase>
  117. <id>parse-version</id>
  118. <goals>
  119. <goal>parse-version</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-checkstyle-plugin</artifactId>
  127. <executions>
  128. <execution>
  129. <goals>
  130. <goal>checkstyle</goal>
  131. </goals>
  132. <phase>process-sources</phase>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <plugin>
  137. <artifactId>maven-antrun-plugin</artifactId>
  138. <executions>
  139. <execution>
  140. <id>filter-release-notes</id>
  141. <phase>prepare-package</phase>
  142. <goals>
  143. <goal>run</goal>
  144. </goals>
  145. <configuration>
  146. <target>
  147. <copy todir="${webcontent.dir}">
  148. <fileset dir="src/main/templates/">
  149. <patternset>
  150. <include
  151. name="release-notes.html" />
  152. </patternset>
  153. </fileset>
  154. <filterchain>
  155. <expandproperties />
  156. <replacetokens
  157. begintoken="@" endtoken="@">
  158. <token key="version"
  159. value="${project.version}" />
  160. <token key="version-minor"
  161. value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
  162. <token key="gwt-version"
  163. value="${vaadin.gwt.version}" />
  164. <token key="builddate"
  165. value="${maven.build.timestamp}" />
  166. </replacetokens>
  167. </filterchain>
  168. </copy>
  169. </target>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <!-- vaadin-all zip -->
  175. <plugin>
  176. <artifactId>maven-assembly-plugin</artifactId>
  177. <executions>
  178. <execution>
  179. <phase>package</phase>
  180. <goals>
  181. <goal>single</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. <configuration>
  186. <archive>
  187. <addMavenDescriptor>false</addMavenDescriptor>
  188. </archive>
  189. <appendAssemblyId>false</appendAssemblyId>
  190. <descriptors>
  191. <descriptor>all-assembly-descriptor.xml</descriptor>
  192. </descriptors>
  193. </configuration>
  194. </plugin>
  195. </plugins>
  196. <pluginManagement>
  197. <plugins>
  198. <!-- Skip install, deploy and javadoc -->
  199. <plugin>
  200. <artifactId>maven-deploy-plugin</artifactId>
  201. <configuration>
  202. <skip>true</skip>
  203. </configuration>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.sonatype.plugins</groupId>
  207. <artifactId>nexus-staging-maven-plugin</artifactId>
  208. <configuration>
  209. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  210. </configuration>
  211. </plugin>
  212. <plugin>
  213. <artifactId>maven-install-plugin</artifactId>
  214. <configuration>
  215. <skip>true</skip>
  216. </configuration>
  217. </plugin>
  218. <plugin>
  219. <artifactId>maven-jar-plugin</artifactId>
  220. <executions>
  221. <execution>
  222. <id>default-jar</id>
  223. <phase>never</phase>
  224. </execution>
  225. </executions>
  226. </plugin>
  227. <plugin>
  228. <artifactId>maven-source-plugin</artifactId>
  229. <configuration>
  230. <skipSource>true</skipSource>
  231. </configuration>
  232. </plugin>
  233. <plugin>
  234. <artifactId>maven-javadoc-plugin</artifactId>
  235. <configuration>
  236. <skip>true</skip>
  237. </configuration>
  238. </plugin>
  239. </plugins>
  240. </pluginManagement>
  241. </build>
  242. <profiles>
  243. <profile>
  244. <id>release-assemblies</id>
  245. <activation>
  246. <activeByDefault>false</activeByDefault>
  247. </activation>
  248. <build>
  249. <plugins>
  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. <skip>false</skip>
  314. <links>
  315. <link>https://docs.oracle.com/javase/8/docs/api/</link>
  316. <link>https://docs.oracle.com/javaee/6/api/</link>
  317. <link>https://portals.apache.org/pluto/portlet-2.0-apidocs/</link>
  318. <link>https://docs.liferay.com/portal/6.2/javadocs/</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>