Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4747

Javaagent not usable since 3.0-alpha

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0-alpha-6, 3.0-alpha-7, 3.0-beta-1
    • 3.0-beta-2
    • None
    • None
    • Windows XP 32bits SP3

    Description

      When launching a maven build, the -javaagent argument is ignored since Maven 3, and was processed with maven 2.X.X.

      The use case is a build with jetty:run goal (org.mortbay.jetty:jetty-maven-plugin 8.0.0.M1) with

      -javaagent:"${settings.localRepository}/org/springframework/spring-instrument/${spring-version}/spring-instrument-${spring-version}.jar"

      Attachments

        1. TestJavaAgent.zip
          7 kB
          Damien Feugas
        2. TestJavaAgent -v2.zip
          7 kB
          Damien Feugas

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              dams Damien Feugas
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: