组织ID: |
net.bytebuddy |
项目ID: |
byte-buddy-agent |
版本: |
0.6.12 |
最后修改时间: |
2019-10-29 08:51:11 |
包类型: |
jar |
标题: |
Byte Buddy Java agent |
描述: |
The Byte Buddy Java agent allows to access the JVM's HotSwap feature. |
大小: |
7.24KB |
|
Maven引入代码: |
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>0.6.12</version>
</dependency>
|
Gradle引入代码: |
net.bytebuddy:byte-buddy-agent:0.6.12
|
下载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>0.6.12</version>
</parent>
<artifactId>byte-buddy-agent</artifactId>
<packaging>bundle</packaging>
<properties>
<bytebuddy.agent>net.bytebuddy.agent.ByteBuddyAgent$Installer</bytebuddy.agent>
<attach.package>com.sun.tools.attach</attach.package>
</properties>
<name>Byte Buddy Java agent</name>
<description>The Byte Buddy Java agent allows to access the JVM's HotSwap feature.</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Define bundle plugin in order to allow for 'bundle' packaging. -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${version.plugin.bundle}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>extras</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<!-- Specify OSGi packaging and agent manifest headers. -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${version.plugin.bundle}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<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};resolution:="optional"</Import-Package>
</instructions>
</configuration>
<executions>
<execution>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
META-INF/maven/net.bytebuddy/byte-buddy-agent/pom.properties
META-INF/maven/net.bytebuddy/byte-buddy-agent/pom.xml
net.bytebuddy.agent.ByteBuddyAgent$Installer.class
net.bytebuddy.agent.ByteBuddyAgent.class
|
依赖Jar: |
|