On 18 oct, 15:54, Gaurav Jain <[email protected]> wrote:
> Can anybody please tell the maven dependency for 2.1 rc1 and its
> repository?

We're using (from memory)
<repository>
   <id>gwt-repo</id>
   <url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven</
url>
   <name>Google Web Toolkit Repository</name>
</repository>
...
<pluginRepository>
   <id>gwt-repo</id>
   <url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven</
url>
   <name>Google Web Toolkit Plugin Repository</name>
</pluginRepository>
...
<dependency>
   <groupId>com.google.gwt</groupId>
   <artifactId>gwt-servlet</artifactId>
   <version>2.1.0.RC1</version>
   <scope>runtime</scope>
</dependency>
<dependency>
   <groupId>com.google.gwt</groupId>
   <artifactId>gwt-user</artifactId>
   <version>2.1.0.RC1</version>
   <scope>provided</scope>
</dependency>
<dependency>
   <groupId>com.google.gwt</groupId>
   <artifactId>gwt-dev</artifactId>
   <version>2.1.0.RC1</version>
   <scope>provided</scope>
</dependency>
...
<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>gwt-maven-plugin</artifactId>
   <version>1.3.2.google</version>
   <configuration>
...
Sorry, can't remember off hand what we really do have here. We're
running "mvn compile war:exploded -Dgwt.compiler.skip=true" to pre-
package the app without the gwt:compile step, and we run the DevMode
from Eclipse using the target/<webapp-exploded-war-output> as the
"war" directory
...
      <gwtVersion>2.1.0.RC1</gwtVersion>
      <runTarget>/index.html</runTarget>
      <modules>
         <module>${project.groupId}.MyApp</module>
      </modules>
   </configuration>
   <executions>
      <execution>
         <id>gwtcompile</id>
         <phase>prepare-package</phase>
         <goals>
            <goal>compile</goal>
         </goals>
      </execution>
   </executions>
</plugin>

You can also use 2.1-SNAPSHOT from the sonatype google-snapshots
repository or google code 2.1.0.RC1 repository (in the GWT SVN repo,
same as above, just replace 2.1.0 with 2.1.0.RC1)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to