summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2017-02-09 11:17:35 +0200
committerHenri Sara <henri.sara@gmail.com>2017-02-09 11:17:35 +0200
commit96a63f93abb4afee36c149974128390b13f62d4c (patch)
treeafc82be2ffff19aafb452469a030a7e0d3190d8a /server
parent322ba2ab9d7a6af8a8e68c063da7480e08843118 (diff)
downloadvaadin-framework-96a63f93abb4afee36c149974128390b13f62d4c.tar.gz
vaadin-framework-96a63f93abb4afee36c149974128390b13f62d4c.zip
Include Vaadin-Icons into the project, (#8485)
Include Vaadin-Icons into the valo theme in the project, make vaadin-icons dependency 'provided' Fixes #8471
Diffstat (limited to 'server')
-rw-r--r--server/pom.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/server/pom.xml b/server/pom.xml
index a29c9d7c2c..b8566f2b39 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -116,6 +116,49 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>copy-font-icons</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <!-- VaadinIcons.java file -->
+ <configuration>
+ <includeGroupIds>com.vaadin</includeGroupIds>
+ <includeArtifactIds>vaadin-icons</includeArtifactIds>
+ <excludeTransitive>true</excludeTransitive>
+ <includes>com/vaadin/icons/VaadinIcons.java</includes>
+ <overWrite>true</overWrite>
+ <outputDirectory>${project.build.directory}/vaadin-icons</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/vaadin-icons</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+
<artifactId>maven-resources-plugin</artifactId>
<executions>
<!-- Copy .java files to package -->
@@ -137,6 +180,10 @@
<directory>src/main/java</directory>
<filtering>false</filtering>
</resource>
+ <resource>
+ <directory>${project.build.directory}/vaadin-icons</directory>
+ <filtering>false</filtering>
+ </resource>
</resources>
</configuration>
</execution>