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

Javaagent arguments ignored by tomee-maven-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.4
    • 7.0.0
    • TomEE Maven Plugin
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: