You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Louis Aloia (JIRA)" <ji...@apache.org> on 2016/03/16 14:41:33 UTC

[jira] [Updated] (TOMEE-1739) Javaaagent arguments ignored by tomee-maven-plugin

     [ https://issues.apache.org/jira/browse/TOMEE-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Louis Aloia updated TOMEE-1739:
-------------------------------
    Description: 
Javaaagent arguments are ignored by the tomee-maven-plugin when the javaagent supplied is a file.  For example, in the following configuration segment the destfile and append arguments are ignored.

 <javaagents>
	<javaagent>${project.build.directory}/jacocoagent.jar=destfile=${project.build.directory}/jacoco.exec,append=false</javaagent>
</javaagents>

I believe line #1075 in AbstractTomEEMojo.java needs to have the args appended to the strings variable.

  was:
Javaaagent arguments are ignored by the tomee-maven-plugin when the javaagent supplied is a file.  For example, in the following code the destfile and append arguments are ignored.

 <javaagents>
	<javaagent>${project.build.directory}/jacocoagent.jar=destfile=${project.build.directory}/jacoco.exec,append=false</javaagent>
</javaagents>

I believe line #1075 in AbstractTomEEMojo.java needs to have the args appended to the strings variable.


> Javaaagent arguments ignored by tomee-maven-plugin
> --------------------------------------------------
>
>                 Key: TOMEE-1739
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1739
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Maven Plugin
>    Affects Versions: 1.7.4
>            Reporter: Louis Aloia
>
> Javaaagent arguments are ignored by the tomee-maven-plugin when the javaagent supplied is a file.  For example, in the following configuration segment the destfile and append arguments are ignored.
>  <javaagents>
> 	<javaagent>${project.build.directory}/jacocoagent.jar=destfile=${project.build.directory}/jacoco.exec,append=false</javaagent>
> </javaagents>
> I believe line #1075 in AbstractTomEEMojo.java needs to have the args appended to the strings variable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)