Make RunMojo fork a new process

By forking a new process we get to attach the agent
much earlier and JPA can co-exist.

Fixes gh-648
This commit is contained in:
Dave Syer
2014-05-01 08:24:24 +01:00
parent f53ee406c1
commit 240788862e
5 changed files with 257 additions and 115 deletions

View File

@@ -42,7 +42,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<version>1.1.5.RELEASE</version>
<version>1.2.0.RELEASE</version>
</dependency>
</dependencies>
</plugin>