summaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-04-11 13:31:41 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-04-11 16:51:21 +0300
commitf776982842daa0dcdf04cc7055afaae9d3386280 (patch)
tree56fb5ef43b48a6c4710ffc0799d097de2a8899cc /widgets
parent7c6710191bd8a5be69c2ec6fc356f013bd36aaf7 (diff)
downloadvaadin-framework-f776982842daa0dcdf04cc7055afaae9d3386280.tar.gz
vaadin-framework-f776982842daa0dcdf04cc7055afaae9d3386280.zip
Generate sources with release profile
This patch refactors how unpacking of dependencies is handled. It now uses a more generic configuration on top level as well as updates the phase where the extraction happens. This way the source plugin configuration remains small Change-Id: I952ec84e05eac255f8b44044baceba37e07737c5
Diffstat (limited to 'widgets')
-rw-r--r--widgets/pom.xml10
1 files changed, 3 insertions, 7 deletions
diff --git a/widgets/pom.xml b/widgets/pom.xml
index fda3459365..43d0b21c34 100644
--- a/widgets/pom.xml
+++ b/widgets/pom.xml
@@ -89,7 +89,7 @@
<executions>
<execution>
<id>unpack-dependencies</id>
- <phase>prepare-package</phase>
+ <phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
@@ -156,9 +156,6 @@
<outputDirectory>${project.build.directory}/themes</outputDirectory>
</artifactItem>
</artifactItems>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
@@ -175,7 +172,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>src/main/java</directory>
@@ -192,8 +189,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
- <outputDirectory>${project.build.directory}/classes/com/vaadin/themes/public
- </outputDirectory>
+ <outputDirectory>${project.build.outputDirectory}/com/vaadin/themes/public</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/themes/VAADIN/themes</directory>