组织ID: |
net.bytebuddy |
项目ID: |
byte-buddy-agent |
版本: |
1.9.11 |
最后修改时间: |
2019-03-22 12:19:05 |
包类型: |
jar |
标题: |
Byte Buddy Java agent |
描述: |
The Byte Buddy Java agent allows to access the JVM's HotSwap feature. |
大小: |
42.66KB |
|
Maven引入代码: |
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.9.11</version>
</dependency>
|
Gradle引入代码: |
net.bytebuddy:byte-buddy-agent:1.9.11
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<artifactId>byte-buddy-parent</artifactId>
<groupId>net.bytebuddy</groupId>
<version>1.9.11</version>
</parent>
<artifactId>byte-buddy-agent</artifactId>
<packaging>jar</packaging>
<properties>
<bytebuddy.agent>net.bytebuddy.agent.Installer</bytebuddy.agent>
<attach.package.sun>com.sun.tools.attach</attach.package.sun>
<attach.package.ibm>com.ibm.tools.attach</attach.package.ibm>
<version.unixsocket>2.0.4</version.unixsocket>
<packages.list>net.bytebuddy.agent</packages.list>
</properties>
<name>Byte Buddy Java agent</name>
<description>The Byte Buddy Java agent allows to access the JVM's HotSwap feature.</description>
<!--
The Unix socket dependency can be excluded safely. Byte Buddy will safely discover the
non-availability and not use the corresponding virtual machine implementation. The
implementation requires Java 7+ and is deactivated on Java 6 VMs.
-->
<dependencies>
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-native-common</artifactId>
<version>${version.unixsocket}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${version.mockito}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Include last version of Byte Buddy manually. -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.9.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Create manifest file which is required for creating an OSGi bundle. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${version.plugin.jar}</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<!-- Specify OSGi packaging and agent manifest headers. -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${version.plugin.bundle}</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Multi-Release>true</Multi-Release>
<Premain-Class>${bytebuddy.agent}</Premain-Class>
<Agent-Class>${bytebuddy.agent}</Agent-Class>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Can-Set-Native-Method-Prefix>true</Can-Set-Native-Method-Prefix>
<Import-Package>
${attach.package.sun};resolution:="optional",
${attach.package.ibm};resolution:="optional"
</Import-Package>
<Export-Package>${packages.list}</Export-Package>
</instructions>
</configuration>
</plugin>
<!-- Create a module-info.class file. -->
<plugin>
<groupId>codes.rafael.modulemaker</groupId>
<artifactId>modulemaker-maven-plugin</artifactId>
<version>${version.plugin.modulemaker}</version>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${version.asm}</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>inject-module</goal>
</goals>
</execution>
</executions>
<configuration>
<name>net.bytebuddy.agent</name>
<multirelease>true</multirelease>
<packages>${packages.list}</packages>
<exports>${packages.list}</exports>
<requires>java.instrument</requires>
<static-requires>jdk.attach</static-requires>
</configuration>
</plugin>
</plugins>
</build>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
net.bytebuddy.agent.ByteBuddyAgent.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForJ9Vm.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Simple.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForStandardToolsJarVm.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider.class
net.bytebuddy.agent.VirtualMachine.class
net.bytebuddy.agent.ByteBuddyAgent$AgentProvider.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$ForJava9CapableVm.class
net.bytebuddy.agent.ByteBuddyAgent$AgentProvider$ForExistingAgent.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Unavailable.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound.class
net.bytebuddy.agent.ByteBuddyAgent$AgentProvider$ForByteBuddyAgent.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForUserDefinedToolsJar.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$ForJava9CapableVm.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$Disabled.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$ForLegacyVm.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForModularizedVm.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$OnUnix.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Simple$WithExternalAttachment.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForUnixHotSpotVm.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$InstallationAction.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Simple$WithoutExternalAttachment.class
net.bytebuddy.agent.Installer.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$ExternalAttachment.class
net.bytebuddy.agent.Attacher.class
META-INF/maven/net.bytebuddy/byte-buddy-agent/pom.xml
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot.class
META-INF/maven/net.bytebuddy/byte-buddy-agent/pom.properties
META-INF.versions.9.module-info.class
|
依赖Jar: |
junixsocket-native-common-${version.unixsocket}.jar
/com.kohlschutter.junixsocket/junixsocket-native-common/${version.unixsocket}
查看junixsocket-native-common所有版本文件
junit-${version.junit}.jar
/junit/junit/${version.junit}
查看junit所有版本文件
mockito-core-${version.mockito}.jar
/org.mockito/mockito-core/${version.mockito}
查看mockito-core所有版本文件
byte-buddy-1.9.10.jar
/net.bytebuddy/byte-buddy/1.9.10
查看byte-buddy所有版本文件
|