wiki:Devel/Index = Developing GWT Applications with Maven = * pack gwt-dev-(OS Name).jar with library files, then create gwt-dev-(OS Name)-(version).jar archives * *.dll (windows) * *.jnilib (mac) * *.so (linux) * source:trunk/archive/gwt/dev * Deploy the archives into the maven repository {{{ leo@leopardcat:utgb/utgb-core> mvn deploy:deploy-file -Dfile=$(cygpath -w ~/work/utgb/trunk/archive/gwt/dev/gwt-dev-windows-1.4.60.jar ) -DgroupId=com.google.gwt -DartifactId=gwt-dev-windows -Dversion=1.4.60 -Dpackaging=jar -DrepositoryId=utgb -Durl=file://f:/cygwin/home/leo/work/workspace/utgb/maven/artifact }}} * gwt-dev-(windows,mac,linux).jar and the other dependent libraries will be downloaded from: * http://www.xerial.org/maven/artifact/com/google/gwt * http://www.xerial.org/maven/artifact/org/xerial/maven/gwt-ant * pom.xml * use the following setting within build/plugins tag {{{ maven-antrun-plugin compile run }}} == Behind the scenes == * source:trunk/utgb/utgb-common/pom.xml * utgb-common's pom.xml contains the following setting, that retrieves gwt-dev libraries. {{{ org.apache.maven.plugins maven-dependency-plugin unpack-gwt-dev generate-sources unpack com.google.gwt ${gwt.dev} ${gwt.version} jar org.xerial.maven gwt-ant 1.0 jar **/*.pom,META-INF gwt-home }}} * OS-specific settings are also included: {{{ windows windows swt-win32 gwt-dev-windows 1.4.60 unix unix swt-linux-gtk-x86 gwt-dev-linux 1.4.60 mac mac swt-carbon-macosx gwt-dev-mac 1.4.60 -XstartOnFirstThread }}}