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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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.1-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. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-dependency-plugin</artifactId>
  58. <version>3.0.0</version>
  59. <executions>
  60. <execution>
  61. <id>copy-font-icons</id>
  62. <phase>process-resources</phase>
  63. <goals>
  64. <goal>unpack-dependencies</goal>
  65. </goals>
  66. <!-- Vaadin Icons font files and .scss to included with Valo -->
  67. <configuration>
  68. <includeGroupIds>com.vaadin</includeGroupIds>
  69. <includeArtifactIds>vaadin-icons</includeArtifactIds>
  70. <excludeTransitive>true</excludeTransitive>
  71. <includes>VAADIN/addons/vaadin-icons/fonts/*</includes>
  72. <overWrite>true</overWrite>
  73. </configuration>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. <plugin>
  78. <artifactId>maven-resources-plugin</artifactId>
  79. <executions>
  80. <execution>
  81. <id>copy-theme-sources</id>
  82. <phase>generate-resources</phase>
  83. <goals>
  84. <goal>copy-resources</goal>
  85. </goals>
  86. <configuration>
  87. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  88. <resources>
  89. <resource>
  90. <directory>src/main/themes</directory>
  91. <filtering>false</filtering>
  92. <excludes>
  93. <exclude>**/valo/shared/_global.scss</exclude>
  94. </excludes>
  95. </resource>
  96. <resource>
  97. <directory>src/main/themes</directory>
  98. <filtering>true</filtering>
  99. <includes>
  100. <include>**/valo/shared/_global.scss</include>
  101. </includes>
  102. </resource>
  103. </resources>
  104. </configuration>
  105. </execution>
  106. <execution>
  107. <id>copy-font-files</id>
  108. <phase>prepare-package</phase>
  109. <goals>
  110. <goal>copy-resources</goal>
  111. </goals>
  112. <configuration>
  113. <outputDirectory>${project.build.outputDirectory}/VAADIN/themes/valo/fonts/vaadin-icons</outputDirectory>
  114. <resources>
  115. <resource>
  116. <directory>${project.build.directory}/dependency-unpack/VAADIN/addons/vaadin-icons/fonts/</directory>
  117. <filtering>false</filtering>
  118. <includes>
  119. <include>Vaadin-Icons.*</include>
  120. </includes>
  121. </resource>
  122. </resources>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>com.vaadin</groupId>
  129. <artifactId>vaadin-maven-plugin</artifactId>
  130. <configuration>
  131. <compressTheme>true</compressTheme>
  132. <warSourceDirectory>${project.build.outputDirectory}</warSourceDirectory>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <phase>process-resources</phase>
  137. <goals>
  138. <goal>compile-theme</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.codehaus.mojo</groupId>
  145. <artifactId>exec-maven-plugin</artifactId>
  146. <executions>
  147. <execution>
  148. <id>generate-export-package</id>
  149. <phase>package</phase>
  150. <goals>
  151. <goal>exec</goal>
  152. </goals>
  153. <configuration>
  154. <classpathScope>compile</classpathScope>
  155. <executable>${java.home}/bin/java</executable>
  156. <arguments>
  157. <argument>-Dvaadin.version=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</argument>
  158. <argument>-DincludeNumberPackages=0</argument>
  159. <argument>-classpath</argument>
  160. <classpath />
  161. <argument>com.vaadin.buildhelpers.GeneratePackageExports</argument>
  162. <argument>${project.build.directory}/${project.build.finalName}.${project.packaging}</argument>
  163. <argument>VAADIN/themes</argument>
  164. </arguments>
  165. </configuration>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.felix</groupId>
  171. <artifactId>maven-bundle-plugin</artifactId>
  172. <extensions>true</extensions>
  173. <configuration>
  174. <instructions>
  175. <Bundle-Version>${osgi.bundle.version}</Bundle-Version>
  176. <Bundle-RequiredExecutionEnvironment>${osgi.execution.environment}</Bundle-RequiredExecutionEnvironment>
  177. <!-- Export package is handled in exec plugin -->
  178. <Export-Package></Export-Package>
  179. <Import-Package></Import-Package>
  180. </instructions>
  181. </configuration>
  182. <executions>
  183. <execution>
  184. <id>bundle-manifest</id>
  185. <phase>prepare-package</phase>
  186. <goals>
  187. <goal>manifest</goal>
  188. </goals>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-jar-plugin</artifactId>
  195. <version>2.6</version>
  196. <configuration>
  197. <archive>
  198. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  199. <index>false</index>
  200. <manifest>
  201. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  202. </manifest>
  203. </archive>
  204. </configuration>
  205. </plugin>
  206. </plugins>
  207. <pluginManagement>
  208. <plugins>
  209. <plugin>
  210. <artifactId>maven-source-plugin</artifactId>
  211. <configuration>
  212. <skipSource>true</skipSource>
  213. </configuration>
  214. </plugin>
  215. <!--This plugin's configuration is used to store Eclipse
  216. m2e settings only. It has no influence on the Maven build itself. -->
  217. <plugin>
  218. <groupId>org.eclipse.m2e</groupId>
  219. <artifactId>lifecycle-mapping</artifactId>
  220. <version>1.0.0</version>
  221. <configuration>
  222. <lifecycleMappingMetadata>
  223. <pluginExecutions>
  224. <pluginExecution>
  225. <pluginExecutionFilter>
  226. <groupId>
  227. org.codehaus.mojo
  228. </groupId>
  229. <artifactId>
  230. exec-maven-plugin
  231. </artifactId>
  232. <versionRange>
  233. [1.4.0,)
  234. </versionRange>
  235. <goals>
  236. <goal>exec</goal>
  237. </goals>
  238. </pluginExecutionFilter>
  239. <action>
  240. <ignore />
  241. </action>
  242. </pluginExecution>
  243. </pluginExecutions>
  244. </lifecycleMappingMetadata>
  245. </configuration>
  246. </plugin>
  247. </plugins>
  248. </pluginManagement>
  249. </build>
  250. </project>