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

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