If you are NOT using Q4E or Codehaus then you probably create an External
Application configuration for Eclipse.  However, you could also use an ANT
build file to execute Maven as well and execute it within the Ant view (see
my other post in the archives with a sample).

1 - yes
2 - Just point Eclipse to the maven path
3 - Google around, I think I've see a generic run plugin, though again you
could use native Eclipe, ant, or ant embedded in your maven stuff (execute
java, etc.)

-aps

On 9/17/07, siegfried <[EMAIL PROTECTED]> wrote:
>
> I've been google searching and reading the books on devzuz and
> www.sonatype
> <http://www.sonatype/> .
>
>
>
> However, I cannot figure out how to run maven goals from eclipse. I want
> to
> create some unit tests for a minimal maven project. I want to do it in
> eclipse.
>
> (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?
>
> (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.
>
> (3)     Now in the Maven 1 book (that one with the purple cover from the
> Developers Notebook series), there was a jelly script to fabricate the
> class
> path so I could run a java application implemented in the maven project.
> Is
> there a maven plug-in counter part to this jelly script so I can see my
> main
> programs run? Will that same jelly script still run in Maven 2?
>
>
>
> Thanks
>
> Siegfried
>
>


-- 
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson

Reply via email to