2010년 7월 29일 목요일

로드 타임 위빙

작성중

Load-time weaving, Spring and Maven.

Resource.

http://blog.jayway.com/2009/12/15/load-time-weaving-spring-and-maven/



<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4</version>
<configuration>
<forkMode>once</forkMode>
<argLine>
-javaagent:${settings.localRepository}/org/springframework/spring-agent/${spring.version}/spring-agent-${spring.version}.jar -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/1.6.1/aspectjweaver-1.6.1.jar
</argLine>
<useSystemClassloader>true</useSystemClassloader>
</configuration>
</plugin>

Note: If you add a line-break between the two javaagents, it doesn't work.

댓글 없음:

댓글 쓰기