组织ID: |
net.bytebuddy |
项目ID: |
byte-buddy-agent |
版本: |
1.10.9 |
最后修改时间: |
2020-03-30 20:15:07 |
包类型: |
jar |
标题: |
Byte Buddy agent |
描述: |
The Byte Buddy agent offers convenience for attaching an agent to the local or a remote VM. |
大小: |
253.14KB |
|
Maven引入代码: |
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.10.9</version>
</dependency>
|
Gradle引入代码: |
net.bytebuddy:byte-buddy-agent:1.10.9
|
下载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.10.9</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>
<jna.version>5.3.1</jna.version>
<packages.list>net.bytebuddy.agent</packages.list>
<native.compiler.32>i686-w64-mingw32-gcc</native.compiler.32>
<native.compiler.64>x86_64-w64-mingw32-gcc</native.compiler.64>
</properties>
<name>Byte Buddy agent</name>
<description>The Byte Buddy agent offers convenience for attaching an agent to the local or a remote VM.</description>
<!--
The JNA 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>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${jna.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>${jna.version}</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.10.8</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>..</directory>
<targetPath>META-INF</targetPath>
<filtering>true</filtering>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<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,
com.sun.jna,
com.sun.jna.platform
</static-requires>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>native-compile</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${version.plugin.exec}</version>
<executions>
<execution>
<id>compile-32</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${native.compiler.32}</executable>
<arguments>
<argument>-shared</argument>
<argument>-o</argument>
<argument>${project.basedir}/src/main/resources/win32-x86/attach_hotspot_windows.dll</argument>
<argument>${project.basedir}/src/main/c/attach_hotspot_windows.c</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>compile-64</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${native.compiler.64}</executable>
<arguments>
<argument>-shared</argument>
<argument>-o</argument>
<argument>${project.basedir}/src/main/resources/win32-x86-64/attach_hotspot_windows.dll</argument>
<argument>${project.basedir}/src/main/c/attach_hotspot_windows.c</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
win32-x86-64/attach_hotspot_windows.dll
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaSolarisDoor$Response.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$Factory$MacLibrary.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Simple.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$Disabled.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$Factory.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$OnPersistentByteChannel.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9$Dispatcher$ForJnaWindowsEnvironment$WindowsLibrary$SecurityAttributes.class
net.bytebuddy.agent.VirtualMachine.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$ExternalAttachment.class
net.bytebuddy.agent.ByteBuddyAgent$AgentProvider.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaSolarisDoor$SolarisLibrary.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9$Dispatcher$ForJnaPosixEnvironment$PosixLibrary.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForJ9Vm.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForUserDefinedToolsJar.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForEmulatedAttachment.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaSolarisDoor.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection.class
net.bytebuddy.agent.VirtualMachine$1.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaWindowsNamedPipe.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForModularizedVm.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$ForJava9CapableVm.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$ForStandardToolsJarVm.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$Factory$ForSocketFile.class
net.bytebuddy.agent.Attacher.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaWindowsNamedPipe$WindowsLibrary.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaWindowsNamedPipe$NamedPipeResponse.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9$Dispatcher.class
net.bytebuddy.agent.ByteBuddyAgent.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9$Dispatcher$ForJnaWindowsEnvironment$AttachmentHandle.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$InstallationAction.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Simple$WithExternalAttachment.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaSolarisDoor$Factory.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm$ForLegacyVm.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$PosixLibrary.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaPosixSocket$PosixLibrary$SocketAddress.class
net.bytebuddy.agent.VirtualMachine$ForOpenJ9$Dispatcher$ForJnaPosixEnvironment$PosixLibrary$SemaphoreOperation.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$OnPersistentByteChannel$Response.class
net.bytebuddy.agent.ByteBuddyAgent$AgentProvider$ForExistingAgent.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider$ForCurrentVm.class
net.bytebuddy.agent.VirtualMachine$AbstractBase.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaWindowsNamedPipe$WindowsAttachLibrary.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentTypeEvaluator$ForJava9CapableVm.class
net.bytebuddy.agent.Installer.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaSolarisDoor$SolarisLibrary$DoorArgument.class
net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$Response.class
net.bytebuddy.agent.ByteBuddyAgent$ProcessProvider.class
net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Accessor$Unavailable.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
jna-${jna.version}.jar
/net.java.dev.jna/jna/${jna.version}
查看jna所有版本文件
jna-platform-${jna.version}.jar
/net.java.dev.jna/jna-platform/${jna.version}
查看jna-platform所有版本文件
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.10.8.jar
/net.bytebuddy/byte-buddy/1.10.8
查看byte-buddy所有版本文件
|