Skip Navigation
Resources Blog Google's GWT 2.0.4 Available on Maven Central (via Nexus ...

Google's GWT 2.0.4 Available on Maven Central (via Nexus OSS)

Sonatype is happy to announce that Google Web Toolkit 2.0.4 jars are now available in the Maven Central repository. The Google Web Toolkit blog explains this move in more detail:

Better maven support has been frequently requested on the issue tracker and mailing list, and this is a first step in that direction. In the future, Google will publish GWT releases to maven central as part of the release process.

The GWT 2.0.4 jars currently in the repository include gwt-user, gwt-dev, and gwt-servlet. To publish these artifacts in the Maven Central repository, Google publishes artifacts to Nexus OSS, the Open Source oss.sonatype.org repository. You can see the Google-specific repository on this server here. Releases are staged to this Google repository on oss.sonatype.org and then subsequently released and synchronized to the Maven Central repository.

Configuring the GWT Plugin

To start developing with GWT, take a look at the "Automatic Mode Setup" section on the GWT Maven plugin's Setup instructions. Before last week, the only way to develop a GWT application with the latest version of GWT was to download the SDK to your workstation and then use systemPath dependencies or a custom task to publish artifacts to your local repository. Today, you can just point your Maven project's pom.xml at the correct version of gwt-servlet and gwt-user and Maven will grab the necessary native libraries from Central.

This doesn't just make GWT development easier and more straightforward for people already using the tool, it will make it much easier for developers to start using GWT. When you publish your project's artifacts to the Maven Central repository you make it easier for people to adopt your technology. Maven Central is the "dial tone" for most developers, and if you put it on Central, they can access it without having to download an SDK or configure a build system. Maven Central just works.

Nexus OSS is the fastest, most efficient way to publish artifacts to Maven Central, and Sonatype has made this service available to any open source project that needs to publish artifacts. If you work with an open source project or a company which publishes open source libraries, read the Sonatype Nexus OSS Repository Guide to get started.

Picture of Heather Loney

Written by Heather Loney

Heather is the Communications and Community Engagement Officer at the Upper Grand District School Board. Prior to her current position, Heather was the Senior Producer for Special Projects at Global News and a Copy Editor at Sonatype. Heather managed a team of digital journalists, covering national and international events, as well as consumer, tech and lifestyle news for GlobalNews.ca. Heather has significant experience in journalism, new media, digital storytelling, SEO and social media best practices, WordPress and other content management systems, photography and research.