Friday, July 9, 2010

Using maven with the milestone of GWT-2.1.0

Gwt version 2.1.0 is coming soon with many improvements, as I already said in other post, now it is possible to create a new maven project using the provided command webAppCreator.

But right now, there are a couple of things you must put in your pom in order to use the new feature:
  1. You have to add the Gwt repository until the new release was published in the Central maven repositories.
  2. You have to use the snapshot version of the maven-gwt-plugin since the last version does not recognize 2.1.0 as a valid gwt version.
NOTE: You have to camellize the tags because blogger sometimes convert it to lowercase.


    com.google.gwt
    gwt-user
    2.1-SNAPSHOT
    provided
  

  
    
      gwt.milestone
      http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven
    
  

  
    
      codehaus.snapshots
      http://snapshots.repository.codehaus.org/
    
  

  
    
      
        org.codehaus.mojo
        gwt-maven-plugin
        1.3-SNAPSHOT
        [...]