Ah, sorry about this. I didn't notice these messages until today, somehow, my bad.
The "first" way there where you were having problems, is probably because of the Mojo plugin getting in the way. They recently released their plugin, with the same prefix as ours, and since it is in the public repo, it wins (if you have a Codehaus repo defined). I should have recognized that earlier, but your error looks different than what usually happens there - Mojo might have changed again. Anyway, glad you got it working. On Jan 23, 9:53 am, cworley420 <[email protected]> wrote: > Ok, after looking at other recent post i ran this > > mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:compile > > Instead of what I have been running which was this > > mvn gwt:compile > > The first works, the second does not. > > -chris worley > > On Jan 21, 6:52 am, Charlie Collins <[email protected]> wrote: > > > Cool, glad you got it going. I wasn't even looking at the repo > > direction, but I should have been, that has happened to me before > > (sometimes the files there get corrupted). Good catch. > > > On Jan 20, 10:45 pm, cworley420 <[email protected]> wrote: > > > > Got it working. > > > > in my last post i explained that it worked on my desktop but stopped > > > working on my laptop. > > > > Not sure what happened. But, i copied my ~/.m2/repository directory > > > off of my desktop and replaced the one on my laptop. > > > > Now everything works again for the gwt plugin. Not sure how my > > > repository got screwed up. Was not the settings file because i have > > > nothing in it anymore. > > > > -chris worley > > > > On Jan 19, 3:57 pm, Charlie Collins <[email protected]> wrote: > > > > > I use multiple modules often, and usually only one has an entry point, > > > > works fine for me. I use GWT inheritance in my modules (saying > > > > "inherits from" is not enough info). At any rate, GWT-Maven just > > > > hands off the "compileTargets" to the GWT compiler itself, it doesn't > > > > do the work on it's own. That error message means, the GWT compiler > > > > can't find the entry point for the module you are specifying using the > > > > current classpath. Post your POM and module, and any other info if > > > > you still need help. GWT-Maven does not (should not anyway) just find > > > > the next "available" module, it uses the configuration specified (it's > > > > possible though, depending on how you are doing inheritance, that one > > > > module might lead to another). > > > > > On Jan 18, 7:27 pm, cworley420 <[email protected]> wrote: > > > > > > Recently I had to modify my pom file to use a different version of > > > > > maven-gwt than I previously was because it was not longer available. > > > > > The current version I am using is "2.0-beta26". Everything worked > > > > > fine for a few days and then maven started ignoring the compile target > > > > > I specified in the xml file. It appears to pick up the first one it > > > > > find on the file system. If i rename that one, it goes to the next > > > > > one. > > > > > > Basically com.foobar.DemoModule is contains the entry point and is the > > > > > compile target i want compiled. DemoModeul inherits from DemoData > > > > > which is the data model and has not entry points. > > > > > > Does anyone know why maven-gwt is ignoring the compileTarget is > > > > > specify and attempt to find one to compile? > > > > > > [INFO] [gwt:compile] > > > > > [INFO] Compile GWT module com.foobar.DemoData > > > > > [ERROR] Module has no entry points defined > > > > > [ERROR] Build failed > > > > > > Here is my configuration: > > > > > > ----------------------------------------------------------------------- > > > > > > <repositories> > > > > > <repository> > > > > > <id>gwt-maven</id> > > > > > > > > > > <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</ > > > > > url> > > > > > </repository> > > > > > </repositories> > > > > > > <pluginRepositories> > > > > > <pluginRepository> > > > > > <id>gwt-maven</id> > > > > > <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</ > > > > > url> > > > > > </pluginRepository> > > > > > </pluginRepositories> > > > > > > ... > > > > > ... > > > > > ... > > > > > > <plugin> > > > > > <groupId>com.totsp.gwt</groupId> > > > > > <artifactId>maven-googlewebtoolkit2-plugin</ > > > > > artifactId> > > > > > <version>2.0-beta26</version> > > > > > <configuration> > > > > > <logLevel>INFO</logLevel> > > > > > <!-- style: PRETTY, DETAILED, OBF --> > > > > > <style>DETAILED</style> > > > > > <runTarget>com.foobar.DemoModule/DemoModule.jsp</ > > > > > runTarget> > > > > > <compileTargets> > > > > > <param>com.foobar.DemoModule</param> > > > > > </compileTargets> > > > > > </configuration> > > > > > <executions> > > > > > <execution> > > > > > <goals> > > > > > <!-- > > > > > <goal>generateClientBeans</goal> > > > > > --> > > > > > <goal>mergewebxml</goal> > > > > > <goal>compile</goal> > > > > > <!-- goal>testGwt</goal --> > > > > > </goals> > > > > > </execution> > > > > > </executions> > > > > > </plugin> > > > > > > ----------------------------------------------------------------------- > > > > > > -chris worley --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
