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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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-themes</artifactId>
  11. <name>vaadin-themes</name>
  12. <packaging>jar</packaging>
  13. <url>https://vaadin.com/</url>
  14. <description>Vaadin themes</description>
  15. <dependencies>
  16. <!-- Maven plugin scans for vaadin-server... -->
  17. <dependency>
  18. <groupId>${project.groupId}</groupId>
  19. <artifactId>vaadin-server</artifactId>
  20. <version>${project.version}</version>
  21. <scope>provided</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>${project.groupId}</groupId>
  25. <artifactId>vaadin-buildhelpers</artifactId>
  26. <version>${project.version}</version>
  27. <scope>provided</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.vaadin</groupId>
  31. <artifactId>vaadin-sass-compiler</artifactId>
  32. <version>${vaadin.sass.version}</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.vaadin</groupId>
  37. <artifactId>vaadin-icons</artifactId>
  38. <version>${vaadin.icons.version}</version>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.carrotsearch</groupId>
  43. <artifactId>smartsprites</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46. <!-- smartsprites dependency -->
  47. <dependency>
  48. <groupId>commons-io</groupId>
  49. <artifactId>commons-io</artifactId>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.osgi</groupId>
  54. <artifactId>osgi.core</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.osgi</groupId>
  58. <artifactId>osgi.cmpn</artifactId>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-dependency-plugin</artifactId>
  66. <version>3.0.0</version>
  67. <executions>
  68. <execution>
  69. <id>copy-font-icons</id>
  70. <phase>process-resources</phase>
  71. <goals>
  72. <goal>unpack-dependencies</goal>
  73. </goals>
  74. <!-- Vaadin Icons font files and .scss to included with Valo -->
  75. <configuration>
  76. <includeGroupIds>com.vaadin</includeGroupIds>
  77. <includeArtifactIds>vaadin-icons</includeArtifactIds>
  78. <excludeTransitive>true</excludeTransitive>
  79. <includes>VAADIN/addons/vaadin-icons/fonts/*</includes>
  80. <overWrite>true</overWrite>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <artifactId>maven-resources-plugin</artifactId>
  87. <executions>
  88. <execution>
  89. <id>copy-theme-sources</id>
  90. <phase>generate-resources</phase>
  91. <goals>
  92. <goal>copy-resources</goal>
  93. </goals>
  94. <configuration>
  95. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  96. <resources>
  97. <resource>
  98. <directory>src/main/themes</directory>
  99. <filtering>false</filtering>
  100. <excludes>
  101. <exclude>**/valo/shared/_global.scss</exclude>
  102. </excludes>
  103. </resource>
  104. <resource>
  105. <directory>src/main/themes</directory>
  106. <filtering>true</filtering>
  107. <includes>
  108. <include>**/valo/shared/_global.scss</include>
  109. </includes>
  110. </resource>
  111. </resources>
  112. </configuration>
  113. </execution>
  114. <execution>
  115. <id>copy-font-files</id>
  116. <phase>prepare-package</phase>
  117. <goals>
  118. <goal>copy-resources</goal>
  119. </goals>
  120. <configuration>
  121. <outputDirectory>${project.build.outputDirectory}/VAADIN/themes/valo/fonts/vaadin-icons</outputDirectory>
  122. <resources>
  123. <resource>
  124. <directory>${project.build.directory}/dependency-unpack/VAADIN/addons/vaadin-icons/fonts/</directory>
  125. <filtering>false</filtering>
  126. <includes>
  127. <include>Vaadin-Icons.*</include>
  128. </includes>
  129. </resource>
  130. </resources>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <groupId>com.vaadin</groupId>
  137. <artifactId>vaadin-maven-plugin</artifactId>
  138. <configuration>
  139. <compressTheme>true</compressTheme>
  140. <warSourceDirectory>${project.build.outputDirectory}</warSourceDirectory>
  141. </configuration>
  142. <executions>
  143. <execution>
  144. <phase>process-resources</phase>
  145. <goals>
  146. <goal>compile-theme</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>biz.aQute.bnd</groupId>
  153. <artifactId>bnd-maven-plugin</artifactId>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-jar-plugin</artifactId>
  158. <version>2.6</version>
  159. <configuration>
  160. <archive>
  161. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  162. <index>false</index>
  163. <manifest>
  164. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  165. </manifest>
  166. </archive>
  167. </configuration>
  168. </plugin>
  169. </plugins>
  170. <pluginManagement>
  171. <plugins>
  172. <!--This plugin's configuration is used to store Eclipse
  173. m2e settings only. It has no influence on the Maven build itself. -->
  174. <plugin>
  175. <groupId>org.eclipse.m2e</groupId>
  176. <artifactId>lifecycle-mapping</artifactId>
  177. <version>1.0.0</version>
  178. <configuration>
  179. <lifecycleMappingMetadata>
  180. <pluginExecutions>
  181. <pluginExecution>
  182. <pluginExecutionFilter>
  183. <groupId>
  184. org.codehaus.mojo
  185. </groupId>
  186. <artifactId>
  187. exec-maven-plugin
  188. </artifactId>
  189. <versionRange>
  190. [1.4.0,)
  191. </versionRange>
  192. <goals>
  193. <goal>exec</goal>
  194. </goals>
  195. </pluginExecutionFilter>
  196. <action>
  197. <ignore />
  198. </action>
  199. </pluginExecution>
  200. </pluginExecutions>
  201. </lifecycleMappingMetadata>
  202. </configuration>
  203. </plugin>
  204. </plugins>
  205. </pluginManagement>
  206. </build>
  207. </project>