]> source.dussan.org Git - gwtquery.git/commitdiff
Use profiles to compile jsquery and samples, so as they are not copmpiled by default...
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 1 Jul 2013 07:05:41 +0000 (09:05 +0200)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 1 Jul 2013 07:05:41 +0000 (09:05 +0200)
.gitignore
jsquery/pom.xml
pom.xml

index 63a2d0129ae15d1cdc7828d708d4d14efcadf21c..6d29f15814260549c881f03de200b41d537bb6c0 100644 (file)
@@ -18,3 +18,11 @@ target
 *.ipr
 *.iml
 *.iws
+gen
+.gwt
+gwt-unitCache
+
+#eclipse
+.project
+.classpath
+.settings
index caff2ebda80f459b1b5d4dbbb8fbe6957f466e75..3d58fbca9dcfcfb92c4dcf0e44f180b1e2f238a6 100644 (file)
     <packaging>war</packaging>
 
     <properties>
-        <gwtversion>2.5.0</gwtversion>
-        <gwtmaven>2.5.0</gwtmaven>
+        <gwtExporterVersion>2.4.0</gwtExporterVersion>
     </properties>
 
-    <profiles>
-      <profile>
-        <id>clos</id>
-        <properties>
-          <gwt.enableClosureCompiler>true</gwt.enableClosureCompiler>
-        </properties>
-      </profile>
-    </profiles>
-
     <dependencies>
         <dependency>
             <groupId>${groupId}</groupId>
@@ -35,7 +25,7 @@
         <dependency>
            <groupId>org.timepedia.exporter</groupId>
            <artifactId>gwtexporter</artifactId>
-           <version>2.4.0-SNAPSHOT</version>
+           <version>${gwtExporterVersion}</version>
            <scope>provided</scope>
         </dependency>
         <dependency>
                 <version>${gwtmaven}</version>
                 <configuration>
                     <logLevel>${gwt.loglevel}</logLevel>
-                    <enableClosureCompiler>${gwt.enableClosureCompiler}</enableClosureCompiler>
+                    <enableClosureCompiler>true</enableClosureCompiler>
                     <optimizationLevel>9</optimizationLevel>
                     <gwtVersion>${gwtversion}</gwtVersion>
                     <compileReport>true</compileReport>
                     <disableClassMetadata>true</disableClassMetadata>
-                   <!-- Consider this in module <inherits name='com.google.gwt.user.RemoteServiceObfuscateTypeNames' />  -->
                     <disableCastChecking>true</disableCastChecking>
                     <modules>
                         <module>com.google.gwt.query.jsquery.JsQueryApi</module>
diff --git a/pom.xml b/pom.xml
index 90544ca410fdd587402c896e8f39ddfd805396dc..55d8ff6a3a860724ed09712503e7073df33b20ff 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 
     <modules>
         <module>gwtquery-core</module>
-        <!-- <module>gwtquery-core-2.1.0</module> -->
-        <!-- <module>gwtquery-core-2.0.1</module> -->
-        <!-- <module>samples</module> -->
-        <!-- <module>devtest</module> -->
     </modules>
 
     <pluginRepositories>
             </snapshots>
         </repository>
         <repository>
-            <id>gwtquery-plugins</id>
-            <url>http://gwtquery-plugins.googlecode.com/svn/mavenrepo</url>
+            <id>sonatype</id>
+            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
+            <snapshots><enabled>true</enabled></snapshots>
+            <releases><enabled>false</enabled></releases>
         </repository>
         <repository>
-            <id>maven2-repository.dev.java.net</id>
-            <name>Java.net Repository for Maven</name>
-            <url>http://download.java.net/maven/2/</url>
+            <id>gwtquery-plugins</id>
+            <url>http://gwtquery-plugins.googlecode.com/svn/mavenrepo</url>
         </repository>
     </repositories>
 
     <properties>
-        <!-- <gwtversion>2.4.0-dollarpatch</gwtversion> -->
         <gwtversion>2.5.1</gwtversion>
         <gwtmaven>2.5.1</gwtmaven>
         <gqueryclassifier />
     </properties>
 
     <profiles>
+       <profile>
+           <id>jsquery</id>
+           <modules>
+             <module>gwtquery-core</module>
+             <module>jsquery</module>
+           </modules>
+        </profile>
+       <profile>
+           <id>samples</id>
+           <modules>
+             <module>gwtquery-core</module>
+             <module>samples</module>
+           </modules>
+        </profile>
         <profile>
            <id>2.1.0</id>
            <properties>
              <gwtmaven>2.1.0</gwtmaven>
              <gqueryclassifier>2.1.0</gqueryclassifier>
            </properties>
+           <modules><module>gwtquery-core-2.0.1</module></modules>
         </profile>
         <profile>
            <id>2.0.1</id>
              <gwtmaven>1.1</gwtmaven>
              <gqueryclassifier>2.0.1</gqueryclassifier>
            </properties>
+           <modules><module>gwtquery-core-2.1.0</module></modules>
         </profile>
         <profile>
            <id>prod</id>