Hi I downloaded and use the maven-plugin offered on the Appache http://maven.apache.org/eclipse-plugin.html .
After having spent hours "googeling" around, to try to find some documents or hints how to use the m2 plugin in eclipse with run--> external tools --> m2 build in the popup window "Create, manage and run configurations", I have to give up and hope that one of you guys can help me. In the eclipse Windows --> Preferences --> Maven2 I set the local Repository folder to C:\maven-2.0.1 and to Java --> Classpath Variables I added M2_REPO and MAVEN_REPO (just to be sure) to point to my local repository (e.g. E:\maven\localrepository) Next I try to start a maven goal through the run --> external tools: I entered the base directory (e.g. E:/myApp) and goal (e.g. install) in the requested fields. It return immediately with an information in the border of the console view window, like: <terminated>myApp[m2 build} C:\Program\Java\jre1.5.0\bin\javaw.exe(05.01.20006 14:20:34) I tried to also write the output to a logfile but nothing gets written there, but the file gets created. The only info I get on the console is: [Console output redirected to file:E:\HotelDatabase\maven_eclipse_run] If I run m2 from the windows command line everything goes perfect. I appreciate if someone can help me and give me glue on what I missed! Thanks in advance. Cheers Roland
