summaryrefslogtreecommitdiffstats
path: root/themes/pom.xml
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-04-27 10:19:38 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-04-27 09:44:43 +0000
commit882fc8c78680eedec3a1802cc309339662a4281d (patch)
tree2f49204a61b93d222ddc1868e9df674e533e94c4 /themes/pom.xml
parent8aae764b1f048e0d571855aa3b2d67877033b714 (diff)
downloadvaadin-framework-882fc8c78680eedec3a1802cc309339662a4281d.tar.gz
vaadin-framework-882fc8c78680eedec3a1802cc309339662a4281d.zip
Move compiled themes out from resources
Change-Id: Id5cc38c717cd43f8e524db330c205958c8db1e31
Diffstat (limited to 'themes/pom.xml')
-rw-r--r--themes/pom.xml54
1 files changed, 35 insertions, 19 deletions
diff --git a/themes/pom.xml b/themes/pom.xml
index be8b100f98..8a1333a754 100644
--- a/themes/pom.xml
+++ b/themes/pom.xml
@@ -54,27 +54,43 @@
</dependencies>
<build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>**/base.scss</exclude>
- <exclude>**/valo/shared/_global.scss</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/base.scss</include>
- <include>**/valo/shared/_global.scss</include>
- </includes>
- </resource>
- </resources>
-
<plugins>
<plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-theme-sources</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/themes</directory>
+ <filtering>false</filtering>
+ <excludes>
+ <exclude>**/base.scss</exclude>
+ <exclude>**/valo/shared/_global.scss</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/themes</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>**/base.scss</include>
+ <include>**/valo/shared/_global.scss</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
+ <plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<configuration>