From 7833b3540228251ef0eef23a85403e85bbcb571b Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 22 Mar 2016 17:19:19 +0200 Subject: Build vaadin-client-compiled with maven Change-Id: I91ef39fec1244fdeff1ee269be39ae7800a495b3 --- .gitignore | 1 + client-compiled/build.xml | 150 -------------------------------------- client-compiled/pom.xml | 180 ++++++++++++++++++++++++++++++++++++++++++++++ ivysettings.xml | 2 +- liferay/ivy.xml | 2 +- pom.xml | 1 + uitest/ivy.xml | 2 +- 7 files changed, 185 insertions(+), 153 deletions(-) delete mode 100644 client-compiled/build.xml create mode 100644 client-compiled/pom.xml diff --git a/.gitignore b/.gitignore index aae0204ab7..9237104b65 100644 --- a/.gitignore +++ b/.gitignore @@ -90,6 +90,7 @@ server/target/ client/target/ client-compiler/target/ buildhelpers/target/ +client-compiled/target/ .sass-cache phantomjsdriver.log diff --git a/client-compiled/build.xml b/client-compiled/build.xml deleted file mode 100644 index bbcfc7bf4a..0000000000 --- a/client-compiled/build.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - Compiled (JS+HTML) version of client side - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creating gwtar files for ${module} in ${gwtar.dir} - - - - - - - - - - - - - - - - - - - - - - - - - - Compiling ${module} to ${module.output.dir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No java files in module - - - - WHAT? No tests for ${module.name}! - - - diff --git a/client-compiled/pom.xml b/client-compiled/pom.xml new file mode 100644 index 0000000000..da664fb938 --- /dev/null +++ b/client-compiled/pom.xml @@ -0,0 +1,180 @@ + + + 4.0.0 + + com.vaadin + vaadin-root + 7.7.0-SNAPSHOT + + com.vaadin + vaadin-client-compiled + vaadin-client-compiled + jar + + + com.vaadin.DefaultWidgetSet + OBF + 6 + + + + Vaadin Ltd + + https://vaadin.com/ + Vaadin client compiled + + + + ${project.groupId} + vaadin-server + ${project.version} + provided + + + + ${project.groupId} + vaadin-client + ${project.version} + provided + + + + ${project.groupId} + vaadin-client-compiler + ${project.version} + provided + + + + ${project.groupId} + vaadin-buildhelpers + ${project.version} + provided + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + + 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 + + exec + + + compile + ${java.home}/bin/java + + -Dvaadin.version=${project.version} + -DincludeNumberPackages=1 + + -classpath + + + com.vaadin.buildhelpers.GeneratePackageExports + + ${project.build.directory}/${project.build.finalName}.${project.packaging} + VAADIN/widgetsets + + + + + + + + + org.apache.felix + maven-bundle-plugin + true + + + JavaSE-1.6 + + + + + + + + bundle-manifest + prepare-package + + manifest + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + false + + true + + + + VAADIN/widgetsets/WEB-INF + + + + + + + diff --git a/ivysettings.xml b/ivysettings.xml index 9cf0e75720..860d39fa75 100644 --- a/ivysettings.xml +++ b/ivysettings.xml @@ -48,7 +48,7 @@ + resolver="local-maven" /> + rev="${vaadin.version}" conf="deps -> default" transitive="false"/> server client client-compiler + client-compiled diff --git a/uitest/ivy.xml b/uitest/ivy.xml index 7a7df5a81f..6ae49b7d94 100644 --- a/uitest/ivy.xml +++ b/uitest/ivy.xml @@ -46,7 +46,7 @@ + rev="${vaadin.version}" conf="build->default">