I thought the release was official because it's in the Codehaus repo http://repo1.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/2.1.0/
Did you get Maven to work? I was thinking of creating Maven dirs manually this afternoon but if it's not going to work at all I won't spend the effort of trying. On Wed, Nov 10, 2010 at 6:33 PM, cri <[email protected]> wrote: > Your current problem is due to the Messages directory being specified > incorrectly in the pom file. The latter most package component should > be "client" as I recall. Unfortunately, you will encounter additional > problems. For example, there is a generated class dir that doesn't get > included in the eclipse classpath. My feeling is that gwt-maven-plugin > 2.1 is not yet ready for general use. Not sure that it's been > officially released. > > On Nov 10, 4:09 am, Alex Nederlof <[email protected]> wrote: > > Hi all, > > > > I can't get Maven to work. When I make a new Maven project from > > eclipse of from the command line it gives me: > > > > 11/10/10 11:08:42 AM CET: Collecting project info '/pom.xml' /Users/ > > alex/Development/webapps/tralala/pom.xml > > 11/10/10 11:08:42 AM CET: Generating sources /tralala/pom.xml > > 11/10/10 11:08:42 AM CET: Adding source folder /tralala/src/main/java > > 11/10/10 11:08:42 AM CET: Adding resource folder /tralala/src/main/ > > resources > > 11/10/10 11:08:42 AM CET: Adding source folder /tralala/src/test/java > > 11/10/10 11:08:42 AM CET: Adding resource folder /tralala/src/test/ > > resources > > 11/10/10 11:08:42 AM CET: Project import completed 0 sec > > 11/10/10 11:08:42 AM CET: Refreshing [/tralala/pom.xml] > > 11/10/10 11:08:44 AM CET: Maven Builder: FULL_BUILD requireFullBuild > > 11/10/10 11:08:44 AM CET: [ERROR] Error: Could not find the resource > > 'com/alexnederlof/tralala/Messages.properties matching > > 'com.alexnederlof.tralala.Messages' did you remember to add it to your > > classpath? > > 11/10/10 11:08:44 AM CET: [ERROR] Google Web Toolkit 2.1.0 > > 11/10/10 11:08:44 AM CET: [ERROR] I18NSync [-out fileName] [- > > createConstantsWithLookup] [-createMessages] name of the Constants/ > > Messages interface to create > > 11/10/10 11:08:44 AM CET: [ERROR] > > 11/10/10 11:08:44 AM CET: [ERROR] where > > 11/10/10 11:08:44 AM CET: [ERROR] - > > out Java source > > directory, defaults to the resource's class path. > > 11/10/10 11:08:44 AM CET: [ERROR] - > > createConstantsWithLookup Create scripts for > > a ConstantsWithLookup interface rather than a Constants one > > 11/10/10 11:08:44 AM CET: [ERROR] - > > createMessages Create scripts for > > a Messages interface rather than a Constants one > > 11/10/10 11:08:44 AM CET: [ERROR] and > > 11/10/10 11:08:44 AM CET: [ERROR] name of the Constants/Messages > > interface to create Identifies the Constants/Messages class to be > > created. For example com.google.sample.i18n.client.Colors > > 11/10/10 11:08:44 AM CET: Build errors for tralala; > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > execute goal org.codehaus.mojo:gwt-maven-plugin:2.1.0:i18n (default) > > on project tralala: Command [[ > > /bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/ > > Home/bin/java -Xmx512m -classpath /Users/alex/Development/webapps/ > > tralala/src/main/java:/Users/alex/Development/webapps/tralala/src/main/ > > resources:/Users/alex/Development/webapps/tralala/target/tralala-0.0.1- > > SNAPSHOT/WEB-INF/classes:/Users/alex/.m2/repository/com/google/gwt/gwt- > > user/2.1.0/gwt-user-2.1.0.jar:/Users/alex/.m2/repository/com/google/ > > gwt/gwt-dev/2.1.0/gwt-dev-2.1.0.jar com.google.gwt.i18n.tools.I18NSync > > -out /Users/alex/Development/webapps/tralala/target/generated-sources/ > > gwt -createMessages com.alexnederlof.tralala.Messages > > ]] failed with status 1 > > > > Does anyone have any id? I tried everything I know > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
