On Thu, Jun 25, 2009 at 7:24 PM, Raymond Feng<[email protected]> wrote: > I don't see such issues on Windows. Is it Mac OS specific? > > Maybe you can tell us which project has the unit test cases triggered. > > -------------------------------------------------- > From: "Luciano Resende" <[email protected]> > Sent: Thursday, June 25, 2009 5:45 AM > To: <[email protected]> > Subject: [2.x] Generating eclipse project files using mvn -Peclipse > >> I was rebuilding my development environment this morning, from a >> partially clean maven repo, and started to see some strange behavior >> when trying to generate eclipse project files using mvn -Peclipse : >> >> 1) I have noticed that unit tests are being executed, at least to some >> projects : >> >> Results : >> Tests run: 21, Failures: 0, Errors: 0, Skipped: 1 >> >> Results : >> Tests run: 9, Failures: 0, Errors: 0, Skipped: 1 >> >> 2) Some projects are being skipped and no eclipse project files are >> created, even though the build finishes successfully. >> >> Well, in summary, things are not working as expected in the first, >> second or third time :) and I'd appreciate some hints on what might be >> happening here. Also, is this happening only with my environment (Mac >> OS X, SUN JDK 1.6.0_07), or others are also experiencing some of these >> issues ? >> >> -- >> Luciano Resende >> Apache Tuscany, Apache PhotArk >> http://people.apache.org/~lresende >> http://lresende.blogspot.com/ >
Hi Luciano I'm still finding the mvn to eclipse process to be unpredictable. I generally run -Peclipse along with -Dmaven.test.skip so haven't noticed the first problem. Can't say I've seen the second one either. The issue I have that whenever I do an update it usually takes me a few goes round the mvn clean, mvn -Peclipse, refresh eclipse and re-read the platform definition loop before eclipse settles down. I usually result in manually cleaning projects to get rid of spurious errors. Don't know if it's just me or if there are any tricks that I'm missing but it takes a long time to get it work. Simon
