24
24
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
25
25
OR OTHER DEALINGS IN THE SOFTWARE.
26
26
-->
27
- <project xmlns =" http://maven.apache.org/POM/4.0.0"
28
- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
29
- xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
27
+ <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" >
30
28
<modelVersion >4.0.0</modelVersion >
31
29
32
- <parent >
33
- <groupId >io.github.toolfactory</groupId >
34
- <artifactId >jvm-driver-parent</artifactId >
35
- <version >${revision} </version >
36
- </parent >
37
-
30
+ <groupId >io.github.toolfactory</groupId >
38
31
<artifactId >jvm-driver</artifactId >
39
32
<version >9.4.3-SNAPSHOT</version >
40
33
41
34
<packaging >jar</packaging >
42
35
36
+ <name >ToolFactory JVM Driver</name >
37
+ <description >
38
+ A driver to allow deep interaction with the JVM without any restrictions
39
+ </description >
40
+ <url >https://toolfactory.github.io/jvm-driver/</url >
41
+
42
+ <licenses >
43
+ <license >
44
+ <name >MIT License</name >
45
+ <url >https://github.com/toolfactory/jvm-driver/blob/master/LICENSE</url >
46
+ <distribution >repo</distribution >
47
+ </license >
48
+ </licenses >
49
+
50
+ <organization >
51
+ <name >ToolFactory</name >
52
+ <url >https://github.com/toolfactory</url >
53
+ </organization >
54
+
55
+ <developers >
56
+ <developer >
57
+ <name >Luke Hutchison</name >
58
+ <id >lukehutch</id >
59
+
60
+ <organization >ToolFactory</organization >
61
+ <organizationUrl >https://github.com/toolfactory</organizationUrl >
62
+ <roles >
63
+ <role >Administrator</role >
64
+ <role >Developer</role >
65
+ </roles >
66
+ </developer >
67
+ <developer >
68
+ <name >Roberto Gentili</name >
69
+ <id >roberto.gentili</id >
70
+
71
+ <organization >ToolFactory</organization >
72
+ <organizationUrl >https://github.com/toolfactory</organizationUrl >
73
+ <roles >
74
+ <role >Administrator</role >
75
+ <role >Developer</role >
76
+ </roles >
77
+ </developer >
78
+ </developers >
79
+
43
80
<properties >
81
+ <copyright .holder>Luke Hutchison, Roberto Gentili</copyright .holder>
44
82
<maven .compiler.encoding>UTF-8</maven .compiler.encoding>
45
83
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
46
84
<project_jdk_version >7</project_jdk_version >
49
87
<project .test.testSuite>AllTestsSuite</project .test.testSuite>
50
88
<project .test.includes>**/${project.test.testSuite} .java</project .test.includes>
51
89
<project .test.excludes>**/*Test.java</project .test.excludes>
90
+ <
repository .url>https://
[email protected] /toolfactory/jvm-driver.git</
repository .url>
52
91
92
+ <coveralls-maven-plugin .version>4.3.0</coveralls-maven-plugin .version>
93
+ <jacoco-maven-plugin .version>0.8.7</jacoco-maven-plugin .version>
53
94
<junit-jupiter .version>5.9.1</junit-jupiter .version>
54
95
<junit .version>1.9.1</junit .version>
55
96
<maven-antrun-plugin .version>3.0.0</maven-antrun-plugin .version>
56
97
<maven-compiler-plugin .version>3.9.0</maven-compiler-plugin .version>
98
+ <maven-deploy-plugin .version>2.8.2</maven-deploy-plugin .version>
99
+ <maven-gpg-plugin .version>1.6</maven-gpg-plugin .version>
57
100
<maven-jar-plugin .version>3.2.2</maven-jar-plugin .version>
58
- <maven-javadoc-plugin .version>3.3.2</maven-javadoc-plugin .version>
101
+ <maven-javadoc-plugin .version>3.2.0</maven-javadoc-plugin .version>
102
+ <maven-jxr-plugin .version>3.1.1</maven-jxr-plugin .version>
103
+ <maven-release-plugin .version>2.5.3</maven-release-plugin .version>
59
104
<maven-source-plugin .version>3.2.1</maven-source-plugin .version>
105
+ <maven-scm-provider-gitexe .version>1.9.5</maven-scm-provider-gitexe .version>
60
106
<maven-surefire-plugin .version>3.0.0-M5</maven-surefire-plugin .version>
61
107
<narcissus .version>1.0.7</narcissus .version>
108
+ <nexus-staging-maven-plugin .version>1.6.12</nexus-staging-maven-plugin .version>
62
109
</properties >
63
110
64
111
<issueManagement >
169
216
</phase >
170
217
<configuration >
171
218
<target >
172
- <copy
173
- file=" ${project.basedir}/../java-hook/bin/java/lang/ConsulterRetrieverForJDK9.class"
174
- tofile=" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/ConsulterRetrieverForJDK9.bwc" />
175
- <copy
176
- file=" ${project.basedir}/../java-hook/bin/java/lang/reflect/AccessibleSetterInvokerForJDK9.class"
177
- tofile=" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/AccessibleSetterInvokerForJDK9.bwc" />
178
- <copy
179
- file=" ${project.basedir}/../java-hook/bin/jdk/internal/loader/ClassLoaderDelegateForJDK9.class"
180
- tofile=" ${project.build.directory}/classes/io/github/toolfactory/jvm/util/ClassLoaderDelegateForJDK9.bwc" />
181
- <copy
182
- file=" ${project.basedir}/../java-hook/bin/io/github/toolfactory/jvm/function/catalog/ThrowExceptionFunction$ForJava7.class"
183
- tofile=" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/ThrowExceptionFunction$ForJava7.class" />
219
+ <copy file =" ${project.basedir}/../java-hook/bin/java/lang/ConsulterRetrieverForJDK9.class" tofile =" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/ConsulterRetrieverForJDK9.bwc" />
220
+ <copy file =" ${project.basedir}/../java-hook/bin/java/lang/reflect/AccessibleSetterInvokerForJDK9.class" tofile =" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/AccessibleSetterInvokerForJDK9.bwc" />
221
+ <copy file =" ${project.basedir}/../java-hook/bin/jdk/internal/loader/ClassLoaderDelegateForJDK9.class" tofile =" ${project.build.directory}/classes/io/github/toolfactory/jvm/util/ClassLoaderDelegateForJDK9.bwc" />
222
+ <copy file =" ${project.basedir}/../java-hook/bin/io/github/toolfactory/jvm/function/catalog/ThrowExceptionFunction$ForJava7.class" tofile =" ${project.build.directory}/classes/io/github/toolfactory/jvm/function/catalog/ThrowExceptionFunction$ForJava7.class" />
184
223
</target >
185
224
</configuration >
186
225
</execution >
192
231
</goals >
193
232
<configuration >
194
233
<target >
195
- <jar update =" true"
196
- destfile=" ${project.build.directory}/${project.build.finalName}.jar" >
197
- <zipfileset prefix =" META-INF/versions/9"
198
- dir=" ${project.build.directory}/classes"
199
- includes=" module-info.class" />
234
+ <jar update =" true" destfile =" ${project.build.directory}/${project.build.finalName}.jar" >
235
+ <zipfileset prefix =" META-INF/versions/9" dir =" ${project.build.directory}/classes" includes =" module-info.class" />
200
236
</jar >
201
237
</target >
202
238
</configuration >
283
319
<Bundle-Description >${project.description} </Bundle-Description >
284
320
<Bundle-Version >${project.version} </Bundle-Version >
285
321
<Require-Capability >osgi.ee;filter:="(& (osgi.ee=JavaSE)(version=1.7))"</Require-Capability >
286
- <Import-Package >io.github.toolfactory.narcissus;version="${narcissus.version} ",com.sun.management,jdk.internal.reflect;resolution:=optional,sun.misc;resolution:=optional,sun.reflect;resolution:=optional</Import-Package >
322
+ <Import-Package >io.github.toolfactory.narcissus;version="1.0.7 ",com.sun.management,jdk.internal.reflect;resolution:=optional,sun.misc;resolution:=optional,sun.reflect;resolution:=optional</Import-Package >
287
323
<Export-Package >io.github.toolfactory.jvm;uses:="io.github.toolfactory.jvm.function.catalog,io.github.toolfactory.jvm.util,io.github.toolfactory.jvm.function.template";version="8.9.4",io.github.toolfactory.jvm.util;uses:="io.github.toolfactory.jvm.function.template,io.github.toolfactory.jvm";version="8.9.4",io.github.toolfactory.jvm.function.template;version="8.9.4",io.github.toolfactory.jvm.function.catalog;uses:="io.github.toolfactory.jvm.util,sun.misc,io.github.toolfactory.jvm.function,io.github.toolfactory.narcissus,io.github.toolfactory.jvm.function.template,io.github.toolfactory.jvm";version="8.9.4",io.github.toolfactory.jvm.function;version="8.9.4"</Export-Package >
288
324
<Multi-Release >true</Multi-Release >
289
325
</manifestEntries >
290
326
</archive >
291
327
</configuration >
292
328
</plugin >
329
+ <plugin >
330
+ <artifactId >maven-deploy-plugin</artifactId >
331
+ <version >${maven-deploy-plugin.version} </version >
332
+ <executions >
333
+ <execution >
334
+ <id >default-deploy</id >
335
+ <phase >deploy</phase >
336
+ <goals >
337
+ <goal >deploy</goal >
338
+ </goals >
339
+ </execution >
340
+ </executions >
341
+ </plugin >
342
+
343
+ <plugin >
344
+ <groupId >org.apache.maven.plugins</groupId >
345
+ <artifactId >maven-release-plugin</artifactId >
346
+ <version >${maven-release-plugin.version} </version >
347
+ <configuration >
348
+ <localCheckout >true</localCheckout >
349
+ <pushChanges >true</pushChanges >
350
+ <mavenExecutorId >forked-path</mavenExecutorId >
351
+ <arguments >-Dgpg.passphrase="${gpg.passphrase} "</arguments >
352
+ <!-- <tagNameFormat>${project.artifactId}-${project.version}</tagNameFormat> -->
353
+ </configuration >
354
+ <dependencies >
355
+ <dependency >
356
+ <groupId >org.apache.maven.scm</groupId >
357
+ <artifactId >maven-scm-provider-gitexe</artifactId >
358
+ <version >${maven-scm-provider-gitexe.version} </version >
359
+ </dependency >
360
+ </dependencies >
361
+ </plugin >
362
+ <plugin >
363
+ <groupId >org.sonatype.plugins</groupId >
364
+ <artifactId >nexus-staging-maven-plugin</artifactId >
365
+ <version >${nexus-staging-maven-plugin.version} </version >
366
+ <extensions >true</extensions >
367
+ <configuration >
368
+ <!-- <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> -->
369
+ <serverId >ossrh</serverId >
370
+ <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
371
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
372
+ </configuration >
373
+ </plugin >
293
374
<plugin >
294
375
<groupId >org.apache.maven.plugins</groupId >
295
376
<artifactId >maven-source-plugin</artifactId >
330
411
</plugins >
331
412
</build >
332
413
333
- </project >
414
+ <reporting >
415
+ <plugins >
416
+ <plugin >
417
+ <groupId >org.apache.maven.plugins</groupId >
418
+ <artifactId >maven-jxr-plugin</artifactId >
419
+ <version >${maven-jxr-plugin.version} </version >
420
+ </plugin >
421
+ </plugins >
422
+ </reporting >
423
+
424
+ <profiles >
425
+ <!-- GPG Signature on release -->
426
+ <profile >
427
+ <id >release-sign-artifacts</id >
428
+ <activation >
429
+ <property >
430
+ <name >performRelease</name >
431
+ <value >true</value >
432
+ </property >
433
+ </activation >
434
+ <build >
435
+ <plugins >
436
+ <plugin >
437
+ <groupId >org.apache.maven.plugins</groupId >
438
+ <artifactId >maven-gpg-plugin</artifactId >
439
+ <version >${maven-gpg-plugin.version} </version >
440
+ <executions >
441
+ <execution >
442
+ <phase >verify</phase >
443
+ <goals >
444
+ <goal >sign</goal >
445
+ </goals >
446
+ <configuration >
447
+ <gpgArguments >
448
+ <arg >--pinentry-mode</arg >
449
+ <arg >loopback</arg >
450
+ </gpgArguments >
451
+ </configuration >
452
+ </execution >
453
+ </executions >
454
+ </plugin >
455
+ </plugins >
456
+ </build >
457
+ </profile >
458
+ <profile >
459
+ <id >run-coveralls</id >
460
+ <activation >
461
+ <activeByDefault >false</activeByDefault >
462
+ </activation >
463
+ <build >
464
+ <plugins >
465
+ <!-- Generate coveralls reports from CI server. -->
466
+ <plugin >
467
+ <groupId >org.eluder.coveralls</groupId >
468
+ <artifactId >coveralls-maven-plugin</artifactId >
469
+ <version >${coveralls-maven-plugin.version} </version >
470
+ <configuration >
471
+ <sourceDirectories >
472
+ <sourceDirectory >${project.basedir} /src/main/java</sourceDirectory >
473
+ </sourceDirectories >
474
+ </configuration >
475
+ </plugin >
476
+ <plugin >
477
+ <groupId >org.jacoco</groupId >
478
+ <artifactId >jacoco-maven-plugin</artifactId >
479
+ <version >${jacoco-maven-plugin.version} </version >
480
+ <executions >
481
+ <execution >
482
+ <id >prepare-agent</id >
483
+ <goals >
484
+ <goal >prepare-agent</goal >
485
+ </goals >
486
+ </execution >
487
+ </executions >
488
+ <configuration >
489
+ <excludes >
490
+ <exclude >**/*AccessibleSetterInvokerForJDK9.*</exclude >
491
+ <exclude >**/*ClassLoaderDelegateForJDK9.*</exclude >
492
+ <exclude >**/*ConsulterRetrieverForJDK9.*</exclude >
493
+ </excludes >
494
+ </configuration >
495
+ </plugin >
496
+ </plugins >
497
+ </build >
498
+ </profile >
499
+ </profiles >
500
+ </project >
0 commit comments