-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom-jrockit.xml
118 lines (104 loc) · 4.41 KB
/
pom-jrockit.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tr.com.serkanozal</groupId>
<artifactId>jillegal-agent-jrockit</artifactId>
<version>2.0</version>
<name>Jillegal</name>
<url>https://github.com/serkan-ozal/jillegal-agent</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<source.compiler.version>1.6</source.compiler.version>
<target.compiler.version>1.6</target.compiler.version>
<maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version>
<maven.resources.plugin.version>2.4</maven.resources.plugin.version>
<maven.surefire.plugin.version>2.9</maven.surefire.plugin.version>
<maven.deploy.plugin.version>2.6</maven.deploy.plugin.version>
<tools.version>jrockit</tools.version>
</properties>
<build>
<finalName>jillegal-agent-jrockit</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${source.compiler.version}</source>
<target>${target.compiler.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<executable>${env.JROCKIT_HOME}/bin/javac</executable>
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Agent-Class>tr.com.serkanozal.jillegal.agent.JillegalAgent</Agent-Class>
<Premain-Class>tr.com.serkanozal.jillegal.agent.JillegalAgent</Premain-Class>
<Main-Class>tr.com.serkanozal.jillegal.agent.JillegalAgent</Main-Class>
<Boot-Class-Path>jillegal-agent-jrockit-${version}.jar</Boot-Class-Path>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Can-Set-Native-Method-Prefix>true</Can-Set-Native-Method-Prefix>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${tools.version}</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>maven-repository</id>
<name>Internal maven-repository</name>
<url>https://github.com/serkan-ozal/maven-repository/</url>
</repository>
<site>
<id>site</id>
<name>Site</name>
<url>https://github.com/serkan-ozal/maven-repository/</url>
</site>
</distributionManagement>
<repositories>
<repository>
<id>nexus-maven-repository</id>
<url>https://maven-us.nuxeo.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>my-maven-repository</id>
<url>https://github.com/serkan-ozal/maven-repository/raw/master/</url>
</repository>
</repositories>
</project>