From 0fd53f4594baeabd68c45126ffe0b68258348efb Mon Sep 17 00:00:00 2001 From: elmot Date: Wed, 30 Mar 2016 14:57:36 +0300 Subject: Build Liferay with maven Change-Id: I8f95dc9636c450125cf7401bee1824b2ef186454 --- .gitignore | 1 + ivysettings.xml | 2 +- liferay/build.xml | 76 ------------------ liferay/ivy.xml | 30 -------- liferay/liferay-assembly-descriptor.xml | 18 +++++ liferay/pom.xml | 132 ++++++++++++++++++++++++++++++++ pom.xml | 1 + 7 files changed, 153 insertions(+), 107 deletions(-) delete mode 100644 liferay/build.xml delete mode 100644 liferay/ivy.xml create mode 100644 liferay/liferay-assembly-descriptor.xml create mode 100644 liferay/pom.xml diff --git a/.gitignore b/.gitignore index 0077534c90..e93f78b267 100644 --- a/.gitignore +++ b/.gitignore @@ -91,6 +91,7 @@ client/target/ client-compiler/target/ buildhelpers/target/ client-compiled/target/ +liferay/target/ themes/target/ widgets/target/ diff --git a/ivysettings.xml b/ivysettings.xml index 2e47a1f14f..8440202439 100644 --- a/ivysettings.xml +++ b/ivysettings.xml @@ -58,7 +58,7 @@ + resolver="local-maven" /> diff --git a/liferay/build.xml b/liferay/build.xml deleted file mode 100644 index fc1d748e55..0000000000 --- a/liferay/build.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Builds the Liferay ZIP archive - - - - - - - - - - - - - - - - - - - Retriving prebuilt jars - - - - - - - - Unpacking jars into working directory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Building Liferay zip - - - - - - - - - - - - - - diff --git a/liferay/ivy.xml b/liferay/ivy.xml deleted file mode 100644 index af0ef25473..0000000000 --- a/liferay/ivy.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay/liferay-assembly-descriptor.xml b/liferay/liferay-assembly-descriptor.xml new file mode 100644 index 0000000000..18708516fc --- /dev/null +++ b/liferay/liferay-assembly-descriptor.xml @@ -0,0 +1,18 @@ + + bin + + zip + + false + + + + ${project.build.directory}/dependency + + ** + + + + \ No newline at end of file diff --git a/liferay/pom.xml b/liferay/pom.xml new file mode 100644 index 0000000000..d6101eeb58 --- /dev/null +++ b/liferay/pom.xml @@ -0,0 +1,132 @@ + + + 4.0.0 + + com.vaadin + vaadin-root + 7.7.0-SNAPSHOT + + vaadin-liferay + vaadin-liferay + pom + + + Vaadin Ltd + + https://vaadin.com/ + Vaadin Liferay package + + + + ${project.groupId} + vaadin-client-compiled + ${project.version} + provided + + + + ${project.groupId} + vaadin-push + ${project.version} + provided + + + + ${project.groupId} + vaadin-themes + ${project.version} + provided + + + + + ${project.groupId} + vaadin-server + ${project.version} + provided + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + unpack + prepare-package + + unpack + + + + + com.vaadin + vaadin-push + VAADIN/vaadinPush.js, VAADIN/vaadinPush.debug.js + + + + com.vaadin + vaadin-client-compiled + VAADIN/widgetsets/**/* + + + + com.vaadin + vaadin-themes + + VAADIN/themes/base/**, + VAADIN/themes/chameleon/**, + VAADIN/themes/liferay/**, + VAADIN/themes/runo/**, + VAADIN/themes/reindeer/** + + + + com.vaadin + vaadin-server + VAADIN/vaadinBootstrap.js + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.6 + + + package + + single + + + + + + false + + false + + liferay-assembly-descriptor.xml + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.7 + + true + + + + + + diff --git a/pom.xml b/pom.xml index 0fcdf92d1c..b373ed10f5 100644 --- a/pom.xml +++ b/pom.xml @@ -70,6 +70,7 @@ client-compiled themes widgets + liferay -- cgit v1.2.3