My personal experience with maven and eclipse is using the maven command line for any maven command, and Eclipse only for coding, debugging, etc. I don't even import the project on Eclipse as maven project, as it continually keeps lunching maven commands when I do not want to.
Josep 2010/9/15 webmeiker <i...@webmeiker.com> > > To be honest to you, I’ am very newbie with Maven. > > This is what I’ve done: > > Within my Eclipse workspace, I select the project / right-click / Run As / > Maven test. > > Which I suppose is the same as launch the ‘mvn test’ command you say > through > the OS console. > (Concretely this is what the Eclipse Console view shows: mvn -B -s > F:\.m2\settings.xml test) > > After several warnings, the ‘build’ fails. This is the complain: > > [ERROR] Failed to execute goal > org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project > pro1: Execution default of goal > org.codehaus.mojo:aspectj-maven-plugin:1.2:compile failed: Plugin > org.codehaus.mojo:aspectj-maven-plugin:1.2 or one of its dependencies could > not be resolved: Missing: > ---------- > 1) com.sun:tools:jar:1.4.2 > > > I think that the first thing I should know is how to launch ‘maven > commands’ > with the m2eclipse plugin. > As the README.txt points, I must be able to launch that mvn jetty:run-war > command > To get started, please complete the following steps: > > 1. Download and install a MySQL 5.x database from > http://dev.mysql.com/downloads/mysql/5.0.html#downloads. > > 2. Run "mvn jetty:run-war" and view the application at > http://localhost:8080. > > > Any help will be appreciatted… > > > -- > View this message in context: > http://appfuse.547863.n4.nabble.com/first-steps-with-appFuse-in-Eclipse-tp2541048p2541214.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >