Thanks Alex!

I've been reading
http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttributes
.html
and it looks like I can execute some ant tasks as part of a life cycle
phase.

So now when I type "mvn test" it not only executes my one test case,
it also executes the echo commands in the embedded ant script. As near
as I can figure, I am constrained to running ant tasks with one of the
following phases: clean, default, jar, pom, maven-plugin, ejb, ear or
par.

That sounds kinda constraining. Can I make my own custom phase called
"execute" so I can type "mvn execute"?


>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.)
>
>> (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?
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to