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

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