[
http://jira.codehaus.org/browse/MNG-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-4747.
----------------------------------
Resolution: Incomplete
Assignee: Benjamin Bentmann
We need more information than that, {{-javaagent}} is a JVM option, not a Maven
option, and a quick test showed that setting it via MAVEN_OPTS is still
effective, i.e. the JVM tries to load the agent. So please re-open with a
minimal demo project that allows to reproduce your issue.
> Javaagent not usable since 3.0-alpha
> ------------------------------------
>
> Key: MNG-4747
> URL: http://jira.codehaus.org/browse/MNG-4747
> Project: Maven 2 & 3
> Issue Type: Bug
> Affects Versions: 3.0-alpha-6, 3.0-alpha-7, 3.0-beta-1
> Environment: Windows XP 32bits SP3
> Reporter: Damien Feugas
> Assignee: Benjamin Bentmann
> Priority: Blocker
>
> 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"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira