How can I specify the vm option, for example, -javaagent , to start jetty or is it available only through the variable MAVEN_OPTS? I need this in order to allow loading in time aspects. This plugin does not seem to work.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <executable>maven</executable> <arguments> <argument>-javaagent:path\to\org\aspectj\aspectjweaver\1.6.10\aspectjweaver-1.6.10.jar</argument> </arguments> </configuration> </plugin>
Perhaps this can be done with a bridgehead, but its systemProperties tag said that
will not override system properties that were installed on the command line or JVM
What does it mean?
source share