Instead of having lots of debug statements in your Mojo, you could simply connect a debugger to Maven.

I'm doing this with IDEA simply by running maven with

MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005" m2 install


Ørjan


Gilles Scokart wrote:

When writting a Mojo, what are the standard convention to trace/log [debug] messages ?


Gilles Scokart

_________________________________________________________________
Protégez votre boîte de réception: Phishing : comment l'identifier, le signaler et l'empêcher http://www.fr.msn.be/security/phishing/


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


--
Ørjan Austvold - Senior Software Architect
www.colibria.com - putting the presence into messaging

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

Reply via email to