From 60968e491f61a524a50ed578c5df2d42eb7cd3a5 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 19 Apr 2016 16:01:33 +0300 Subject: Compile default widgetset with maven plugin, fix unit cache Change-Id: I0b0666e22e93ed1b36796365b1811eca863c9cb1 --- client-compiled/pom.xml | 65 +++++++++++++++---------------------------------- pom.xml | 5 ++++ themes/pom.xml | 1 - uitest/pom.xml | 1 + 4 files changed, 25 insertions(+), 47 deletions(-) diff --git a/client-compiled/pom.xml b/client-compiled/pom.xml index 8972b7a9ad..f231af3ed2 100644 --- a/client-compiled/pom.xml +++ b/client-compiled/pom.xml @@ -57,52 +57,6 @@ org.codehaus.mojo exec-maven-plugin - - generate-resources - - exec - - - compile - ${java.home}/bin/java - - - - - - -Dgwt.persistentunitcachedir=${project.build.directory}/compile - -DvFailIfNotSerializable=true - - -classpath - - - com.google.gwt.dev.Compiler - - -workDir - ${project.build.directory}/compile - -logLevel - TRACE - -war - - ${project.build.outputDirectory}/VAADIN/widgetsets/ - -style - ${widgetset.style} - -localWorkers - ${widgetset.local.workers} - - -strict - - - -deploy - ${project.build.directory}/compile - -extra - ${project.build.directory}/compile - - ${widgetset.name} - - - - generate-export-package package @@ -129,6 +83,25 @@ + + com.vaadin + vaadin-maven-plugin + + + com.vaadin.DefaultWidgetSet + + ${project.build.outputDirectory}/VAADIN/widgetsets + ${project.build.directory}/gwt-unitCache + + + + + compile + + + + + org.apache.felix diff --git a/pom.xml b/pom.xml index c6a1a8d8ad..b5b255dcb7 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,11 @@ maven-source-plugin 3.0.0 + + com.vaadin + vaadin-maven-plugin + ${vaadin.plugin.version} + org.eclipse.m2e lifecycle-mapping diff --git a/themes/pom.xml b/themes/pom.xml index 612145d8dc..be8b100f98 100644 --- a/themes/pom.xml +++ b/themes/pom.xml @@ -77,7 +77,6 @@ com.vaadin vaadin-maven-plugin - ${vaadin.plugin.version} true ${project.build.outputDirectory} diff --git a/uitest/pom.xml b/uitest/pom.xml index 3ec2454d8a..81fc033dac 100644 --- a/uitest/pom.xml +++ b/uitest/pom.xml @@ -272,6 +272,7 @@ ${project.build.directory}/compile-themes ${project.build.outputDirectory}/VAADIN/widgetsets + ${project.build.directory}/gwt-unitCache -- cgit v1.2.3