-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
37 lines (32 loc) · 1.33 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8" ?>
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.whilein.wcommons</groupId>
<artifactId>wcommons-parent</artifactId>
<version>${revision}</version>
</parent>
<name>wcommons/agent</name>
<artifactId>wcommons-agent</artifactId>
<description>Attaches Java Agent in runtime and gives you access to Instrumentation</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifestEntries>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Agent-Class>w.agent.AgentMain</Agent-Class>
<Premain-Class>w.agent.AgentMain</Premain-Class>
<Main-Class>w.agent.AgentMain</Main-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>