]> source.dussan.org Git - gwtquery.git/commitdiff
Archetype should match gquery verion
authorManolo Carrasco <manolo@apache.org>
Thu, 5 May 2011 16:48:25 +0000 (16:48 +0000)
committerManolo Carrasco <manolo@apache.org>
Thu, 5 May 2011 16:48:25 +0000 (16:48 +0000)
archetype/pom.xml
archetype/src/main/resources/archetype-resources/pom.xml

index 20644dcd9443493a77152704c420498a9e7961a4..4c0277e94de251887f12b0547671057f47cbc16c 100644 (file)
@@ -4,12 +4,11 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.googlecode.gwtquery</groupId>
   <artifactId>gquery-archetype</artifactId>
-  <version>1.0.0-M3-SNAPSHOT</version>
+  <version>1.0.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
   <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>
     <artifactId>oss-parent</artifactId>
index 96d01cfa652bde65aa48991b44223df682f59bb0..d7c8e6a9b5f65ebb80c05b7122935fc0d18ed85e 100644 (file)
     <properties>\r
       <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.2.0</gwtversion>\r
-      <!-- change by 2.1.0-1 for gwt-2.1.1 or 2.1.0 for gwt-2.1.0 -->\r
-      <gwtmaven>2.1.0-1</gwtmaven>\r
+      <gQueryVersion>1.0.0</gQueryVersion>\r
+      <!-- Options: 2.0.1, 2.1.0, 2.2.0, 2.3.0 -->\r
+      <gQueryClassifier>2.3.0</gQueryClassifier>\r
+      <!-- options: 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0 -->\r
+      <gwtversion>2.3.0</gwtversion>\r
+      <!-- options: 1.1, 2.1.0, 2.1.0-1, 2.2.0 -->\r
+      <gwtmaven>2.2.0</gwtmaven>\r
     </properties>\r
 \r
     <repositories>\r
             <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
+            <classifier>${gQueryClassifier}</classifier>\r
             <scope>provided</scope>\r
         </dependency>\r
+        <!-- GWT 2.3.0 depends on these -->\r
+        <dependency>\r
+            <groupId>javax.validation</groupId>\r
+            <artifactId>validation-api</artifactId>\r
+            <version>1.0.0.GA</version>\r
+        </dependency>\r
+        <dependency>\r
+            <groupId>javax.validation</groupId>\r
+            <artifactId>validation-api</artifactId>\r
+            <version>1.0.0.GA</version>\r
+            <classifier>sources</classifier>\r
+        </dependency>\r
     </dependencies>\r
     <build>\r
         <plugins>\r