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

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