-
Notifications
You must be signed in to change notification settings - Fork 13
/
pom-jrockit.xml
218 lines (206 loc) · 8.49 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<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-jrockit</artifactId>
<version>2.1-SNAPSHOT</version>
<name>Jillegal</name>
<url>https://github.com/serkan-ozal/jillegal</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>
<jillegal.agent.version>1.1.0-RELEASE</jillegal.agent.version>
<sa_jdi.version>jrockit</sa_jdi.version>
<guava.version>13.0</guava.version>
<commons.lang.version>2.6</commons.lang.version>
<javassist.version>3.17.1-GA</javassist.version>
<cglib.version>2.2</cglib.version>
<reflections.version>0.9.9-RC1</reflections.version>
<groovy.version>1.8.4</groovy.version>
<log4j.version>1.2.16</log4j.version>
<junit.version>4.11</junit.version>
<mockito.version>1.9.0</mockito.version>
</properties>
<build>
<finalName>jillegal-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>
<configuration>
<jvm>${env.JROCKIT_HOME}/bin/java</jvm>
</configuration>
</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-jrockit-${version}.jar</Boot-Class-Path>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>jillegal-jrockit-${version}</finalName>
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<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-jrockit-${version}.jar</Boot-Class-Path>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin.version}</version>
<configuration>
<repositoryId>maven-repository</repositoryId>
<url>https://github.com/serkan-ozal/maven-repository/raw/master/</url>
<file>${project.build.directory}/${project.build.finalName}.${project.packaging}</file>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>tr.com.serkanozal</groupId>
<artifactId>jillegal-agent-jrockit</artifactId>
<version>${jillegal.agent.version}</version>
</dependency>
<dependency>
<groupId>com.sun.tools</groupId>
<artifactId>sa_jdi</artifactId>
<version>${sa_jdi.version}</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>${cglib.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons.lang.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>