Vojtech Szocs has uploaded a new change for review. Change subject: webadmin,userportal: Add gwtdraft profile ......................................................................
webadmin,userportal: Add gwtdraft profile This patch adds new 'gwtdraft' profile that can be used during GWT compilation, for example: $ mvn clean install -Pdep,gwt-admin,gwtdraft When activated, 'gwtdraft' profile does following: - enable draft compile, i.e. prevent JavaScript code optimizations - set output style to 'detailed', i.e. produce pretty JavaScript without obfuscation This profile replaces 'gwtdev' when used during GWT compilation. 'gwtdev' now impacts debugging (launching GWT Development Mode) only. Change-Id: I447becb89a29f7c231007e33e1c5003829198ccb Signed-off-by: Vojtech Szocs <vsz...@redhat.com> --- M frontend/webadmin/modules/pom.xml M frontend/webadmin/modules/userportal-gwtp/pom.xml M frontend/webadmin/modules/webadmin/pom.xml 3 files changed, 17 insertions(+), 16 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/49/15849/1 diff --git a/frontend/webadmin/modules/pom.xml b/frontend/webadmin/modules/pom.xml index ba7a579..d828d39 100644 --- a/frontend/webadmin/modules/pom.xml +++ b/frontend/webadmin/modules/pom.xml @@ -185,5 +185,22 @@ <gwt.locale>en_US,es_ES,fr_FR,ja_JP,pt_BR,zh_CN,de_DE</gwt.locale> </properties> </profile> + <profile> + <id>gwtdraft</id> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>gwt-maven-plugin</artifactId> + <configuration> + <style>DETAILED</style> + <draftCompile>true</draftCompile> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> </profiles> </project> diff --git a/frontend/webadmin/modules/userportal-gwtp/pom.xml b/frontend/webadmin/modules/userportal-gwtp/pom.xml index e20be06..a04b666 100644 --- a/frontend/webadmin/modules/userportal-gwtp/pom.xml +++ b/frontend/webadmin/modules/userportal-gwtp/pom.xml @@ -250,14 +250,6 @@ <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>gwt-maven-plugin</artifactId> - <configuration> - <style>DETAILED</style> - <draftCompile>true</draftCompile> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${build-helper-maven-plugin.version}</version> <executions> diff --git a/frontend/webadmin/modules/webadmin/pom.xml b/frontend/webadmin/modules/webadmin/pom.xml index ad19530..b54ee52 100644 --- a/frontend/webadmin/modules/webadmin/pom.xml +++ b/frontend/webadmin/modules/webadmin/pom.xml @@ -251,14 +251,6 @@ <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>gwt-maven-plugin</artifactId> - <configuration> - <style>DETAILED</style> - <draftCompile>true</draftCompile> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${build-helper-maven-plugin.version}</version> <executions> -- To view, visit http://gerrit.ovirt.org/15849 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I447becb89a29f7c231007e33e1c5003829198ccb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vojtech Szocs <vsz...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches