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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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>7.7-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-widgets</artifactId>
  11. <name>vaadin-widgets</name>
  12. <packaging>jar</packaging>
  13. <url>https://vaadin.com/</url>
  14. <description>Vaadin widgets</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>${project.groupId}</groupId>
  18. <artifactId>vaadin-client</artifactId>
  19. <version>${project.version}</version>
  20. <scope>provided</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>${project.groupId}</groupId>
  24. <artifactId>vaadin-shared</artifactId>
  25. <version>${project.version}</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>${project.groupId}</groupId>
  30. <artifactId>vaadin-client-compiler</artifactId>
  31. <version>${project.version}</version>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>${project.groupId}</groupId>
  36. <artifactId>vaadin-themes</artifactId>
  37. <version>${project.version}</version>
  38. <scope>provided</scope>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.felix</groupId>
  45. <artifactId>maven-bundle-plugin</artifactId>
  46. <extensions>true</extensions>
  47. <configuration>
  48. <instructions>
  49. <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</Bundle-Version>
  50. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  51. <!-- Export package is handled in exec plugin -->
  52. <Export-Package></Export-Package>
  53. <Import-Package></Import-Package>
  54. </instructions>
  55. </configuration>
  56. <executions>
  57. <execution>
  58. <id>bundle-manifest</id>
  59. <phase>prepare-package</phase>
  60. <goals>
  61. <goal>manifest</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-dependency-plugin</artifactId>
  69. <executions>
  70. <execution>
  71. <id>unpack-dependencies</id>
  72. <phase>generate-resources</phase>
  73. <goals>
  74. <goal>unpack</goal>
  75. </goals>
  76. <configuration>
  77. <artifactItems>
  78. <artifactItem>
  79. <groupId>com.vaadin</groupId>
  80. <artifactId>vaadin-client</artifactId>
  81. <includes>
  82. com/vaadin/*.gwt.xml,
  83. com/vaadin/client/BrowserInfo*,
  84. com/vaadin/client/AnimationUtil*,
  85. com/vaadin/client/ComputedStyle*,
  86. com/vaadin/client/DeferredWorker*,
  87. com/vaadin/client/Profiler*,
  88. com/vaadin/client/StyleConstants*,
  89. com/vaadin/client/WidgetUtil*,
  90. com/vaadin/client/ui/FocusUtil*,
  91. com/vaadin/client/data/**,
  92. com/vaadin/client/widget/**,
  93. com/vaadin/client/Focusable*,
  94. com/vaadin/client/widgets/**,
  95. com/vaadin/client/renderers/**,
  96. com/vaadin/client/ui/SubPartAware*,
  97. com/vaadin/client/ui/VProgressBar*,
  98. com/vaadin/client/ui/dd/DragAndDropHandler*,
  99. com/vaadin/client/ui/dd/DragHandle*,
  100. com/vaadin/client/VSchedulerImpl*
  101. </includes>
  102. </artifactItem>
  103. <artifactItem>
  104. <groupId>com.vaadin</groupId>
  105. <artifactId>vaadin-shared</artifactId>
  106. <includes>
  107. com/vaadin/shared/ui/grid/*.*,
  108. com/vaadin/shared/ui/grid/**/*.*,
  109. com/vaadin/shared/util/SharedUtil*,
  110. com/vaadin/shared/VBrowserDetails*,
  111. com/vaadin/shared/data/sort/SortDirection*
  112. </includes>
  113. <excludes>
  114. com/vaadin/shared/**/*Rpc.*,
  115. com/vaadin/shared/**/*Rpc$*.*,
  116. com/vaadin/shared/**/*State.*,
  117. com/vaadin/shared/**/*State$*.*
  118. </excludes>
  119. </artifactItem>
  120. <artifactItem>
  121. <groupId>com.vaadin</groupId>
  122. <artifactId>vaadin-client-compiler</artifactId>
  123. <includes>
  124. com/vaadin/sass/linker/*.*
  125. </includes>
  126. </artifactItem>
  127. <artifactItem>
  128. <groupId>com.vaadin</groupId>
  129. <artifactId>vaadin-themes</artifactId>
  130. <includes>
  131. /VAADIN/themes/valo/**,
  132. /VAADIN/themes/base/**
  133. </includes>
  134. <outputDirectory>${project.build.directory}/themes</outputDirectory>
  135. </artifactItem>
  136. </artifactItems>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-resources-plugin</artifactId>
  143. <executions>
  144. <!-- Copy .java files to package -->
  145. <execution>
  146. <id>copy-sources</id>
  147. <!-- here the phase you need -->
  148. <phase>process-resources</phase>
  149. <goals>
  150. <goal>copy-resources</goal>
  151. </goals>
  152. <configuration>
  153. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  154. <resources>
  155. <resource>
  156. <directory>src/main/java</directory>
  157. <filtering>false</filtering>
  158. </resource>
  159. </resources>
  160. </configuration>
  161. </execution>
  162. <execution>
  163. <id>copy-themes</id>
  164. <!-- here the phase you need -->
  165. <phase>prepare-package</phase>
  166. <goals>
  167. <goal>copy-resources</goal>
  168. </goals>
  169. <configuration>
  170. <outputDirectory>${project.build.outputDirectory}/com/vaadin/themes/public</outputDirectory>
  171. <resources>
  172. <resource>
  173. <directory>${project.build.directory}/themes/VAADIN/themes</directory>
  174. <filtering>false</filtering>
  175. </resource>
  176. </resources>
  177. </configuration>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-checkstyle-plugin</artifactId>
  184. <executions>
  185. <execution>
  186. <goals>
  187. <goal>checkstyle</goal>
  188. </goals>
  189. <phase>process-sources</phase>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-jar-plugin</artifactId>
  196. <version>2.6</version>
  197. <configuration>
  198. <archive>
  199. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  200. <index>false</index>
  201. <manifest>
  202. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  203. </manifest>
  204. </archive>
  205. </configuration>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. </project>