aboutsummaryrefslogtreecommitdiffstats
path: root/jsquery/pom.xml
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2012-12-17 12:35:48 +0100
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2012-12-17 12:35:48 +0100
commit721bd9a56de934084114e380a2fe2bffc6c5d85d (patch)
tree97ffcdee7d62c0a1fdd3f4f20d78250f79c18def /jsquery/pom.xml
parent901c8420e18e5ca971f4a208a91204d4934eaa9f (diff)
downloadgwtquery-721bd9a56de934084114e380a2fe2bffc6c5d85d.tar.gz
gwtquery-721bd9a56de934084114e380a2fe2bffc6c5d85d.zip
Enable the closure compiler via a maven profile
Diffstat (limited to 'jsquery/pom.xml')
-rw-r--r--jsquery/pom.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/jsquery/pom.xml b/jsquery/pom.xml
index 12068846..9ac9e72b 100644
--- a/jsquery/pom.xml
+++ b/jsquery/pom.xml
@@ -15,6 +15,14 @@
<gwtmaven>2.5.0</gwtmaven>
</properties>
+ <profiles>
+ <profile>
+ <id>clos</id>
+ <properties>
+ <gwt.enableClosureCompiler>true</gwt.enableClosureCompiler>
+ </properties>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
@@ -64,7 +72,7 @@
<version>${gwtmaven}</version>
<configuration>
<logLevel>${gwt.loglevel}</logLevel>
- <style>OBF' -XenableClosureCompiler '-XenableClosureCompiler</style>
+ <enableClosureCompiler>${gwt.enableClosureCompiler}</enableClosureCompiler>
<optimizationLevel>9</optimizationLevel>
<gwtVersion>${gwtversion}</gwtVersion>
<compileReport>true</compileReport>