]> source.dussan.org Git - gwtquery.git/commitdiff
Archetype now generates gwt-2.2.0 projects
authorManolo Carrasco <manolo@apache.org>
Wed, 16 Feb 2011 09:40:14 +0000 (09:40 +0000)
committerManolo Carrasco <manolo@apache.org>
Wed, 16 Feb 2011 09:40:14 +0000 (09:40 +0000)
archetype/pom.xml
archetype/src/main/resources/archetype-resources/pom.xml

index 2503f074a2fe084230fb1333bb90bbe8644d8398..2048c986fba4511e100383c993aebcb8119135de 100644 (file)
@@ -6,7 +6,9 @@
   <artifactId>gquery-archetype</artifactId>
   <version>0.4-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
-  <name>This archetype generates a Gwt project with GwtQuery</name>
+  <name>GwtQuery Archetype</name>
+  <description>This archetype generates a Gwt-2.2.0 project with all set to use GwtQuery and its plugins</description>
+
 
   <parent>
     <groupId>org.sonatype.oss</groupId>
index b062e8f1dc231b4744685d2610919dc8902f5fc4..8a3c610ff8d3afcc160885536ebd580817cd94df 100644 (file)
@@ -12,7 +12,8 @@
       <maven.compiler.source>1.5</maven.compiler.source>\r
       <maven.compiler.target>1.5</maven.compiler.target>\r
       <gQueryVersion>1.0.0-SNAPSHOT</gQueryVersion>\r
-      <gwtversion>2.1.0</gwtversion>\r
+      <gwtversion>2.2.0</gwtversion>\r
+      <gwtmaven>2.1.0-1</gwtmaven>\r
     </properties>\r
 \r
     <repositories>\r
          <id>central</id>\r
          <url>http://repo1.maven.org/maven2</url>\r
        </repository>\r
+       <repository>\r
+         <id>gwtquery-plugins</id>\r
+         <url>http://gwtquery-plugins.googlecode.com/svn/mavenrepo</url>\r
+       </repository>\r
        <repository>\r
          <id>sonatype</id>\r
          <url>http://oss.sonatype.org/content/repositories/snapshots</url>\r
@@ -55,7 +60,7 @@
             <groupId>com.google.gwt</groupId>\r
             <artifactId>gwt-dev</artifactId>\r
             <version>${gwtversion}</version>\r
-            <scope>test</scope>\r
+            <scope>provided</scope>\r
         </dependency>\r
         <dependency>\r
             <groupId>com.google.gwt</groupId>\r
@@ -67,6 +72,8 @@
             <groupId>com.googlecode.gwtquery</groupId>\r
             <artifactId>gwtquery</artifactId>\r
             <version>${gQueryVersion}</version>\r
+            <!-- Put 2.2.0 for gwt-2.2.0 or leave empty for 2.1.x -->\r
+            <classifier>2.2.0</classifier>\r
             <scope>provided</scope>\r
         </dependency>\r
     </dependencies>\r
@@ -75,7 +82,7 @@
             <plugin>\r
                 <groupId>org.codehaus.mojo</groupId>\r
                 <artifactId>gwt-maven-plugin</artifactId>\r
-                <version>${gwtversion}</version>\r
+                <version>${gwtmaven}</version>\r
                 <configuration>\r
                     <logLevel>${gwt.loglevel}</logLevel>\r
                     <style>${gwt.outputstyle}</style>\r