diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-11 13:31:41 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-11 16:51:21 +0300 |
commit | f776982842daa0dcdf04cc7055afaae9d3386280 (patch) | |
tree | 56fb5ef43b48a6c4710ffc0799d097de2a8899cc /client/pom.xml | |
parent | 7c6710191bd8a5be69c2ec6fc356f013bd36aaf7 (diff) | |
download | vaadin-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 'client/pom.xml')
-rw-r--r-- | client/pom.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/client/pom.xml b/client/pom.xml index 0e4932936f..4cd5c5b384 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -53,7 +53,7 @@ <version>${javax.validation.version}</version> <scope>provided</scope> </dependency> - + <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> @@ -101,7 +101,7 @@ <executions> <execution> <id>unpack-dependencies</id> - <phase>prepare-package</phase> + <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> @@ -129,9 +129,6 @@ <excludes>META-INF/**</excludes> </artifactItem> </artifactItems> - <outputDirectory>${project.build.directory}/classes</outputDirectory> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> @@ -150,7 +147,7 @@ <goal>copy-resources</goal> </goals> <configuration> - <outputDirectory>${project.build.directory}/classes</outputDirectory> + <outputDirectory>${project.build.outputDirectory}</outputDirectory> <resources> <resource> <directory>src/main/resources</directory> |