So far I got this. This seems just a beginning
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.gwtstarter.gwt16</groupId>
<artifactId>gwt16</artifactId>
<version>0.0.1-SNAPSHOT</version>
<repositories>
<repository>
<id>gwt-maven</id>
<url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
</repository>
<repository>
<id>gwt-ext</id>
<url>http://www.gwt-ext.com/maven2/</url>
</repository>
<repository>
<id>gwt-ext-ux</id>
<url>https://gwtstarter.svn.sourceforge.net/svnroot/gwtstarter/
trunk/m2repo/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>snapshots.repository.codehaus.org</id>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
<pluginRepository>
<id>gwt-maven</id>
<url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
</pluginRepository>
</pluginRepositories>
<properties>
<gwtVersion>1.6.4</gwtVersion>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>com.smartgwt</groupId>
<artifactId>smartgwt</artifactId>
<version>1.0b1</version>
<type>jar</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<classifier>${platform}</classifier>
</dependency>
</dependencies>
<profiles>
<profile>
<id>gwt-dev-windows</id>
<properties>
<platform>windows</platform>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
<os>
<family>windows</family>
</os>
</activation>
</profile>
<profile>
<id>gwt-dev-mac</id>
<properties>
<platform>mac</platform>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<family>mac</family>
</os>
</activation>
</profile>
<profile>
<id>gwt-dev-linux</id>
<properties>
<platform>linux</platform>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<name>linux</name>
</os>
</activation>
</profile>
</profiles>
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<configuration>
<gwtVersion>${gwtVersion}</gwtVersion>
</configuration>
<executions>
<execution>
<configuration>
<module>com.mycompany.gwt.Module</module>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalProjectnatures>
<projectnature>
com.google.appengine.eclipse.core.gaeNature
</projectnature>
<projectnature>
com.google.gwt.eclipse.core.gwtNature
</projectnature>
<projectnature>
com.google.gdt.eclipse.core.webAppNature
</projectnature>
<!--
<projectnature>org.springframework.ide.eclipse.core.springnature</
projectnature>
-->
</additionalProjectnatures>
<additionalBuildcommands>
<!--
<buildcommand>
org.springframework.ide.eclipse.core.springbuilder
</buildcommand>
-->
<buildcommand>
com.google.gdt.eclipse.core.webAppProjectValidator
</buildcommand>
<buildcommand>
com.google.appengine.eclipse.core.enhancerbuilder
</buildcommand>
<buildcommand>
com.google.appengine.eclipse.core.projectValidator
</buildcommand>
<buildcommand>
com.google.gwt.eclipse.core.gwtProjectValidator
</buildcommand>
</additionalBuildcommands>
</configuration>
</plugin>
</plugins>
</build>
</project>
On May 16, 1:10 am, mgrouch <mgrushins...@gmail.com> wrote:
> Where can I get pom.xml examples for GWT 1.6?
> Something more elaborate like combo with GWT-EXT or smartgwt would be
> nice.
>
> Thanks
>
> On May 5, 5:06 am, Ed <post2edb...@hotmail.com> wrote:
>
> > Just point your output dir to your target dir with the codehousepluginand
> > simple ignore it...
> > That what I do....
> > Works fine...
>
> > --Ed
>
> > On Apr 16, 3:27 pm, Mark Renouf <mark.ren...@gmail.com> wrote:
>
> > > Themaven-gwt-pluginfrom codehaus is looking quite good at this
> > > point. I recommend trying 1.1-SNAPSHOT.
>
> > > I just reported an issue with running unit tests (which has been fixed
> > > in SVN, waiting on a new SNAPSHOT build). With that it does absolutely
> > > everything I've expected (on all platforms, without local
> > > configuration) and with very minimal setup (add theplugin, add a
> > > dependency ongwt-user, done).
>
> > > The one remaining issue is the new build output format (WAR), and how
> > > resources are deployed. I'm totally against havingGWTcompile
> > > directly into /src/main/webapp. It's completely against the principles
> > > of keeping your source tree clean and putting all artifacts under
> > > target. If you stick with traditionalmavenapproach, it means you
> > > need to execute war:exploded first before launching hosted mode (and
> > > again if you want to change something without restarting the hosted
> > > mode).
>
> > > The other approach is stick with src/main/webapp and make sure the
> > > cleanplugincleans out allGWTgenerated files. Again, this is really
> > > not the right approach :-(
>
> > > On Apr 16, 8:48 am, Arthur Kalmenson <arthur.k...@gmail.com> wrote:
>
> > > > It would definitely be nice if the Google Eclipsepluginwas build
> > > > system agnostic, or at least gave you more configuration options.
> > > > Maybe we should just file a issue with the Google Eclipseplugin(I
> > > > can't find the Google Code project...)?
>
> > > > --
> > > > Arthur Kalmenson
>
> > > > On Thu, Apr 16, 2009 at 4:33 AM, Salvador Diaz
> > > > <diaz.salva...@gmail.com> wrote:
>
> > > > >> * If you enablegwtsupport on your project,GWTSDK library is
> > > > >> automatically added to the project, event if you already manage your
> > > > >> dependencies withmaven. You should be able to configure if you want
> > > > >> the sdk to be included or not.
> > > > >> * Theplugincomplains about output directory not set to "war/WEB-INF/
> > > > >> classes". We should be able to configure this in order to work in a
> > > > >> standardmavenway.
>
> > > > > Those are pretty good remarks, and worth of opening an issue in the
> > > > > issue tracker. We could do it the other way round though, and let the
> > > > >mavenpluginconfigure everything to conform toGWT'sexpectations,
> > > > > remember that Googlers are not reallymavenguys.
>
> > > > > Cheers,
>
> > > > > Salvador
>
> > > > > On Apr 16, 10:09 am, johann_fr <johann.vanack...@gmail.com> wrote:
> > > > >> I totally agree on the fact thatgwtteam should not provide themaven
> > > > >>plugin, the codehaus one can do the job. They should just take care of
> > > > >> beeing able to integrate with any build system.
>
> > > > >> My problems with the current google eclipseplugin:
>
> > > > >> Johann
>
> > > > >> On 16 avr, 08:50, Murray Waters <murray.wat...@gmail.com> wrote:
>
> > > > >> > It is in the snapshots repository.
>
> > > > >> >http://snapshots.repository.codehaus.org/org/codehaus/mojo/gwt-maven-...
>
> > > > >> > You will need to add the repository
> > > > >> > ashttp://snapshots.repository.codehaus.org/
> > > > >> > I believe.
>
> > > > >> > On Apr 16, 12:33 pm, Keith Willard <keith.will...@gmail.com> wrote:
>
> > > > >> > > Where is the snapshot respository where the versions 1.1-SNAPSHOT
> > > > >> > > codehausgwt-maven-pluginlives? only the 1.0 is in the central
> > > > >> > > repository.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---