diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-05-19 14:28:32 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-05-20 09:25:42 +0000 |
commit | 7f893c1f9c586026a62ac44b9ac5af33c36b75b6 (patch) | |
tree | 5d033a21483419638d9721e637e2d0a5c32f54f5 /uitest/pom.xml | |
parent | 6d8c752e79a2413be74035d9bb73ed7fe27c3199 (diff) | |
download | vaadin-framework-7f893c1f9c586026a62ac44b9ac5af33c36b75b6.tar.gz vaadin-framework-7f893c1f9c586026a62ac44b9ac5af33c36b75b6.zip |
Correctly handle compiled resources for Development Server
Change-Id: I0f4976aaeeb1f284a99a09cb039e54ae16f8f556
Diffstat (limited to 'uitest/pom.xml')
-rw-r--r-- | uitest/pom.xml | 58 |
1 files changed, 16 insertions, 42 deletions
diff --git a/uitest/pom.xml b/uitest/pom.xml index c08cee171f..374600b196 100644 --- a/uitest/pom.xml +++ b/uitest/pom.xml @@ -112,7 +112,7 @@ <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> - <version>3.0.1</version> + <version>3.1.0</version> <scope>provided</scope> </dependency> <dependency> @@ -217,18 +217,30 @@ </dependencies> <build> + <resources> + <resource> + <directory>src/main/themes</directory> + <excludes> + <exclude>**/*.scss</exclude> + </excludes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + + <plugins> <plugin> <groupId>com.vaadin</groupId> <artifactId>vaadin-maven-plugin</artifactId> <configuration> - <warSourceDirectory>${project.build.directory}/compile-themes</warSourceDirectory> - <webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory> + <warSourceDirectory>src/main/themes</warSourceDirectory> + <webappDirectory>${project.build.outputDirectory}/VAADIN/widgetsets</webappDirectory> <persistentunitcachedir>${project.build.directory}/gwt-unitCache</persistentunitcachedir> </configuration> <executions> <execution> - <phase>prepare-package</phase> <goals> <goal>compile</goal> <goal>compile-theme</goal> @@ -249,44 +261,6 @@ </plugin> <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.directory}/compile-themes</outputDirectory> - <resources> - <resource> - <directory>src/main/themes</directory> - <filtering>false</filtering> - </resource> - </resources> - </configuration> - </execution> - <execution> - <id>copy-compiled-themes</id> - <phase>prepare-package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory> - <resources> - <resource> - <directory>${project.build.directory}/compile-themes</directory> - <filtering>false</filtering> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> <artifactId>maven-install-plugin</artifactId> <configuration> <skip>true</skip> |