From the plugin documentation, it is unclear how to actually add multiple Java agents to the command line, even though agent permits an array of file names, see also my answer to a corresponding StackOverflow question for more details. The strangest part is that agent is a singular word and not the expected plural agents, which would imply that inside you could list agents using agent. But in this case the singular is the list element. I found out that I can just invent any subtag name in order to list multiple agents, but this is neither documented nor intuitive. I know it would be a breaking change to rename the parameter to its plural form, but maybe you could add an alias and then deprecate the singular name and also explain how to use multiple agents in the plugin documentation and/or in an example. The way it is now just keeps people guessing. I also did not find any integration or unit test case for it in the code base.