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

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