java - How to add vm option to jetty? -


how available specify vm option -javaagent start jetty or available thru maven_opts variable? need enable load-time-weaving of aspects. plugin seems doesn't 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> 

may can done jetty-plugin, tag systemproperties said

will not override system properties have been set on command line or jvm

what mean?

you can try add -javaagent:%path_to_agent%\spring-agent-2.5.6.jar java_opts


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -