How does the issue you mentioned explains why all is running fine (gwt:run, deployed) but it fails in eclipse hosted mode? Or how to get know the name of the conflicting jar to be excluded via "runClasspathExcludes"? is gwt-maven-plugin 2.5-rc1 working with gwt 2.4?
because my "only" problem is eclipse' hosted mode i want to be sure that refactoring to multi modules is the only but sure way to solve this problem. On Wednesday, 12 September 2012 16:25:23 UTC+2, Thomas Broyer wrote: > > > > On Wednesday, September 12, 2012 3:51:49 PM UTC+2, tanteanni wrote: >> >> thx thomas, >> >> i should mention that gwt:run works fine. is there a way to see >> conflicting dependencies? to get rid of the conflicting derby dependency i >> used "mvn dependency:tree -Dverbose". This shows only one conflict for gwt >> stuff: >> >> [INFO] | +- (javax.validation:validation-api:jar:1.0.0.GA:provided - >> omitted for duplicate) >> [INFO] | \- >> (javax.validation:validation-api:jar:sources:1.0.0.GA:provided - omitted >> for duplicate) >> >> (Maven should handle all conflicts) >> > > See http://code.google.com/p/google-web-toolkit/issues/detail?id=4484 (among > others) > > i just tried to added >> >> <configuration> >> <runClasspathExcludes> >> <excludes>org.eclipse.birt.runtime-4.2.0.jar</excludes> >> </runClasspathExcludes> >> <configuration> >> >> to gwt-maven-plugin's configuration but it changes nothing. - not sure if >> i 've done it right? >> > > Forgot to say that it only works with gwt-maven-plugin 2.5.0-rc1; see > http://jira.codehaus.org/browse/MGWT-286 > Also, I suppose the offending JAR is not > org.eclipse.birt.runtime-4.2.0.jar directly but one of its dependencies. > > Is there an example for the long term solution you suggested? >> > > https://github.com/tbroyer/gwt-maven-archetypes for example. > > >> I guess with modules you mean maven modules? >> > > Absolutely. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-gE7ySJLh5MJ. 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.
