From d842dc8c52b71145c56d737f7cfc20ee8a1cae91 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Wed, 14 Mar 2012 17:14:15 +0100 Subject: [PATCH] Wrap gettext plugin inside a new profile i18n to save time while developing As number of languages is increased, the time used to process them is bigger every time you do a "mvn clean install". Thanks to this new profile you could save some timpe passing the following argument "-P-i18n". FEA: ItEr76S03Community --- ganttzk/pom.xml | 79 +++++++++++++++++++++++----------------- libreplan-webapp/pom.xml | 58 ++++++++++++++++------------- 2 files changed, 78 insertions(+), 59 deletions(-) diff --git a/ganttzk/pom.xml b/ganttzk/pom.xml index 464e71fbe..6f661f564 100644 --- a/ganttzk/pom.xml +++ b/ganttzk/pom.xml @@ -12,41 +12,52 @@ jar LibrePlan ZK Components Module - - - - org.xnap.commons - maven-gettext-plugin - - app.i18n.Messages - ${project.build.sourceDirectory}/../resources/i18n - -k_ - - - - compile - - dist - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.1.2 - - - default - package - - jar-no-fork - - - + + + i18n + + true + + + + + org.xnap.commons + maven-gettext-plugin + + app.i18n.Messages + ${project.build.sourceDirectory}/../resources/i18n + -k_ + + + + compile + + dist + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + default + package + + jar-no-fork + + + - - + + + + + + + diff --git a/libreplan-webapp/pom.xml b/libreplan-webapp/pom.xml index 69a3bcc94..1ffd24ef6 100644 --- a/libreplan-webapp/pom.xml +++ b/libreplan-webapp/pom.xml @@ -162,36 +162,44 @@ + + i18n + + true + + + + + + org.xnap.commons + maven-gettext-plugin + + i18n.Messages + ${project.build.sourceDirectory}/../resources/i18n + -k_ + + + + compile + + dist + + + + + + + libreplan-webapp - - - - org.xnap.commons - maven-gettext-plugin - - i18n.Messages - ${project.build.sourceDirectory}/../resources/i18n - -k_ - - - - compile - - dist - - - - -