Version 3 (modified by 18 years ago) (diff) | ,
---|
Incorporating GWT into 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
- pom.xml
- use the following setting within build/plugins tag
<!-- GWT compiler --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>compile</phase> <configuration> <tasks> <property name="classpath.compile" refid="maven.compile.classpath" /> <property name="gwt.dev" value="${gwt.dev}" /> <property name="gwt.jvmargs" value="${gwt.jvmargs}" /> <ant antfile="gwt-home/build-gwt.xml"> <property name="gwt.module" value="${gwt.module}" /> <target name="compile" /> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin>
- use the following setting within build/plugins tag