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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.vaadin</groupId>
  36. <artifactId>vaadin-icons</artifactId>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.carrotsearch</groupId>
  41. <artifactId>smartsprites</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <!-- smartsprites dependency -->
  45. <dependency>
  46. <groupId>commons-io</groupId>
  47. <artifactId>commons-io</artifactId>
  48. <scope>provided</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.osgi</groupId>
  52. <artifactId>osgi.core</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.osgi</groupId>
  56. <artifactId>osgi.cmpn</artifactId>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-dependency-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <id>copy-font-icons</id>
  67. <phase>process-resources</phase>
  68. <goals>
  69. <goal>unpack-dependencies</goal>
  70. </goals>
  71. <!-- Vaadin Icons font files and .scss to included with Valo -->
  72. <configuration>
  73. <includeGroupIds>com.vaadin</includeGroupIds>
  74. <includeArtifactIds>vaadin-icons</includeArtifactIds>
  75. <excludeTransitive>true</excludeTransitive>
  76. <includes>VAADIN/addons/vaadin-icons/fonts/*</includes>
  77. <overWrite>true</overWrite>
  78. </configuration>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-resources-plugin</artifactId>
  84. <executions>
  85. <execution>
  86. <id>copy-theme-sources</id>
  87. <phase>generate-resources</phase>
  88. <goals>
  89. <goal>copy-resources</goal>
  90. </goals>
  91. <configuration>
  92. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  93. <resources>
  94. <resource>
  95. <directory>src/main/themes</directory>
  96. <filtering>false</filtering>
  97. <excludes>
  98. <exclude>**/valo/shared/_global.scss</exclude>
  99. </excludes>
  100. </resource>
  101. <resource>
  102. <directory>src/main/themes</directory>
  103. <filtering>true</filtering>
  104. <includes>
  105. <include>**/valo/shared/_global.scss</include>
  106. </includes>
  107. </resource>
  108. </resources>
  109. </configuration>
  110. </execution>
  111. <execution>
  112. <id>copy-font-files</id>
  113. <phase>prepare-package</phase>
  114. <goals>
  115. <goal>copy-resources</goal>
  116. </goals>
  117. <configuration>
  118. <outputDirectory>${project.build.outputDirectory}/VAADIN/themes/valo/fonts/vaadin-icons</outputDirectory>
  119. <resources>
  120. <resource>
  121. <directory>${project.build.directory}/dependency-unpack/VAADIN/addons/vaadin-icons/fonts/</directory>
  122. <filtering>false</filtering>
  123. <includes>
  124. <include>Vaadin-Icons.*</include>
  125. </includes>
  126. </resource>
  127. </resources>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>com.vaadin</groupId>
  134. <artifactId>vaadin-maven-plugin</artifactId>
  135. <configuration>
  136. <compressTheme>true</compressTheme>
  137. <warSourceDirectory>${project.build.outputDirectory}</warSourceDirectory>
  138. </configuration>
  139. <executions>
  140. <execution>
  141. <phase>process-resources</phase>
  142. <goals>
  143. <goal>compile-theme</goal>
  144. </goals>
  145. </execution>
  146. </executions>
  147. </plugin>
  148. <plugin>
  149. <groupId>biz.aQute.bnd</groupId>
  150. <artifactId>bnd-maven-plugin</artifactId>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-jar-plugin</artifactId>
  155. <configuration>
  156. <archive>
  157. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  158. <index>false</index>
  159. <manifest>
  160. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  161. </manifest>
  162. </archive>
  163. </configuration>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. </project>