Skip to content

Commit

Permalink
Allow to attach to current VM
Browse files Browse the repository at this point in the history
  • Loading branch information
dnskr authored and tdcmeehan committed Jul 2, 2024
1 parent fb80e85 commit ff25545
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion jmx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,16 @@
</dependencies>
</profile>
</profiles>
</project>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Djdk.attach.allowAttachSelf=true</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>
12 changes: 12 additions & 0 deletions skeleton-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,16 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Djdk.attach.allowAttachSelf=true</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit ff25545

Please sign in to comment.