On Thursday, April 18, 2013 12:32:36 PM UTC-7, Mirko Friedenhagen wrote:
> Hello Dezider,
> 
> 
> 
> you are right, maybe you may just reuse argLine, see
> 
> https://github.com/1and1/attach-qar-maven-plugin/blob/15e0938eefe85b1d1f754ace036da250bb279cb9/pom.xml#L24
> 
> for an example, setting invoker.mavenOpts to argLine reuses the agent
> 
> during runs of the maven-invoker-plugin.
> 
> 
> 
> Regards
> 
> Mirko
> 
> 
> 
> Regards Mirko
> 
> --
> 
> http://illegalstateexception.blogspot.com/
> 
> https://github.com/mfriedenhagen/
> 
> https://bitbucket.org/mfriedenhagen/
> 
> 
> 
> 
> 
> On Thu, Apr 18, 2013 at 2:29 PM, Dezider Mesko <[email protected]> wrote:
> 
> > I see,
> 
> > my issue is that I'm using robotframework plugin (not surefire/failsafe) in
> 
> > integration tests phase. But if I understand correctly, if I would set
> 
> > -javaagent parameter to jybot script/command executed by robotframewok
> 
> > plugin it would just works, right?
> 
> >
> 
> > Thank you very much.
> 
> >
> 
> > d.
> 
> >
> 
> >
> 
> > On Thursday, April 18, 2013 1:10:45 PM UTC+2, Mirko Friedenhagen wrote:
> 
> >>
> 
> >> Hello Dezider,
> 
> >>
> 
> >> jacoco-maven-plugin just sets a property argLine, which is automatically
> 
> >> picked up by surefire and failsafe unless you did reconfigure this property
> 
> >> yourself in your pom.
> 
> >> Then you set this in surefire:
> 
> >>
> 
> >> <argLine>${argLine} -Xmx512m</argLine>
> 
> >>
> 
> >> Note when you set jacoco.skip=true, the plugin will return an empty
> 
> >> string, so this should not break anything.
> 
> >>
> 
> >> Regards Mirko
> 
> >> --
> 
> >> Sent from my mobile
> 
> >>
> 
> >> On Apr 18, 2013 12:09 PM, "Dezider Mesko" <[email protected]> wrote:
> 
> >>>
> 
> >>>
> 
> >>> Hi all,
> 
> >>>
> 
> >>> I would like to ask, how exactly JaCoCo maven plugin works.
> 
> >>>
> 
> >>> I have another plugin in integration test phase, and I would like to
> 
> >>> include its execution to code coverage.
> 
> >>>
> 
> >>> For online instrumentation I don't see any configuration in example pom
> 
> >>> file. How JaCoCo knows when to instrument? Or even better how to force
> 
> >>> JaCoCo to instrument even during integration-test phase. (for unit tests
> 
> >>> data are generated fine, for integration tests not)
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Thank you!
> 
> >>>
> 
> >>> d.
> 
> >>>
> 
> >>> --
> 
> >>> You received this message because you are subscribed to the Google Groups
> 
> >>> "JaCoCo and EclEmma Users" group.
> 
> >>> To unsubscribe from this group and stop receiving emails from it, send an
> 
> >>> email to [email protected].
> 
> >>>
> 
> >>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> >>>
> 
> >>>
> 
> >
> 
> > --
> 
> > You received this message because you are subscribed to the Google Groups
> 
> > "JaCoCo and EclEmma Users" group.
> 
> > To unsubscribe from this group and stop receiving emails from it, send an
> 
> > email to [email protected].
> 
> > For more options, visit https://groups.google.com/groups/opt_out.
> 
> >
> 
> >

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to