Siegfried

>>(1)     When creating the unit tests in eclipse, do I do anything special
so
>>maven can find them? I think not. Can I just tell eclipse to make a new
unit
>>test and "maven test" will find and run them?

Place the tests in your  "<project_root>/src/test/java" directory.  The test
classes must have names beginning or ending in "Test" or ending in
"TestCase".

You can modify these patterns by configuring the maven-surefire-plugin.
See:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html

>>(2)     How can use the eclipse debug and run dialogs to run "maven test"
>>and other maven goals? I think I just need the path to the main maven
>>program.

Look here:  http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html


HTH

Gary

Reply via email to