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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. <executions>
  67. <execution>
  68. <id>copy-font-icons</id>
  69. <phase>process-resources</phase>
  70. <goals>
  71. <goal>unpack-dependencies</goal>
  72. </goals>
  73. <!-- Vaadin Icons font files and .scss to included with Valo -->
  74. <configuration>
  75. <includeGroupIds>com.vaadin</includeGroupIds>
  76. <includeArtifactIds>vaadin-icons</includeArtifactIds>
  77. <excludeTransitive>true</excludeTransitive>
  78. <includes>VAADIN/addons/vaadin-icons/fonts/*</includes>
  79. <overWrite>true</overWrite>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <artifactId>maven-resources-plugin</artifactId>
  86. <executions>
  87. <execution>
  88. <id>copy-theme-sources</id>
  89. <phase>generate-resources</phase>
  90. <goals>
  91. <goal>copy-resources</goal>
  92. </goals>
  93. <configuration>
  94. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  95. <resources>
  96. <resource>
  97. <directory>src/main/themes</directory>
  98. <filtering>false</filtering>
  99. <excludes>
  100. <exclude>**/valo/shared/_global.scss</exclude>
  101. </excludes>
  102. </resource>
  103. <resource>
  104. <directory>src/main/themes</directory>
  105. <filtering>true</filtering>
  106. <includes>
  107. <include>**/valo/shared/_global.scss</include>
  108. </includes>
  109. </resource>
  110. </resources>
  111. </configuration>
  112. </execution>
  113. <execution>
  114. <id>copy-font-files</id>
  115. <phase>prepare-package</phase>
  116. <goals>
  117. <goal>copy-resources</goal>
  118. </goals>
  119. <configuration>
  120. <outputDirectory>${project.build.outputDirectory}/VAADIN/themes/valo/fonts/vaadin-icons</outputDirectory>
  121. <resources>
  122. <resource>
  123. <directory>${project.build.directory}/dependency-unpack/VAADIN/addons/vaadin-icons/fonts/</directory>
  124. <filtering>false</filtering>
  125. <includes>
  126. <include>Vaadin-Icons.*</include>
  127. </includes>
  128. </resource>
  129. </resources>
  130. </configuration>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. <plugin>
  135. <groupId>com.vaadin</groupId>
  136. <artifactId>vaadin-maven-plugin</artifactId>
  137. <configuration>
  138. <compressTheme>true</compressTheme>
  139. <warSourceDirectory>${project.build.outputDirectory}</warSourceDirectory>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <phase>process-resources</phase>
  144. <goals>
  145. <goal>compile-theme</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <groupId>biz.aQute.bnd</groupId>
  152. <artifactId>bnd-maven-plugin</artifactId>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-jar-plugin</artifactId>
  157. <version>2.6</version>
  158. <configuration>
  159. <archive>
  160. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  161. <index>false</index>
  162. <manifest>
  163. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  164. </manifest>
  165. </archive>
  166. </configuration>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </project>