Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1739

Javaagent arguments ignored by tomee-maven-plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.4
    • Fix Version/s: 7.0.0
    • Component/s: TomEE Maven Plugin
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              romain.manni-bucau Romain Manni-Bucau
              Reporter:
              loua loua
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: