RE: Mojos that instrument classes

2016-09-15 Thread Martin Gainty
if we can see how you are currently binding btrace instrumentation ? Martin __ > Subject: Re: Mojos that instrument classes > To: users@maven.apache.org > From: offbynull-ma...@offbynull.com > Date: Thu, 15 Sep 2016 08:33:11 -0700 >

Re: Mojos that instrument classes

2016-09-15 Thread offbynull-maven
This is what I'm using right now, but I've found that my instrumentation mojo won't run if someone does "mvn test" or "mvn test-compile". The user has to explicitly ask maven to run it. For example, "mvn test-compile coroutines:test-instrument". Is there a way to automatically get my mojo to r

RE: Mojos that instrument classes

2016-09-15 Thread Martin Gainty
/btrace/blob/master/benchmark/pom.xml does this answer your question? Martin > To: users@maven.apache.org > From: offbynull-ma...@offbynull.com > Subject: Mojos that instrument classes > Date: Thu, 15 Sep 2016 01:45:22 -0700 > > What should t

Re: Mojos that instrument classes

2016-09-15 Thread Olivier Lamy
Hi Process-classes sounds a good place in the lifecycle for this purpose HTH Olivier On Thursday, 15 September 2016, offbynull-maven < offbynull-ma...@offbynull.com> wrote: > What should the defaultPhase be for a Maven plugin that instruments > classes? Should it be PROCESS_CLASSES / PROCESS_TES

Mojos that instrument classes

2016-09-15 Thread offbynull-maven
What should the defaultPhase be for a Maven plugin that instruments classes? Should it be PROCESS_CLASSES / PROCESS_TEST_CLASSES, or should it be COMPILE / TEST_COMPILE? - To unsubscribe, e-mail: users-unsubscr...@maven.apache