btrace的maven依赖的新版本,没有在maven的中央仓库维护,但是其官方维护了一份,使用方式为:
在pom.xml中,引入btrace的maven仓库
<repository>
<id>btrace</id>
<name>btrace maven</name>
<url>https://dl.bintray.com/btraceio/maven/</url>
</repository>
然后引入依赖即可
<dependency>
<groupId>com.sun.tools.btrace</groupId>
<artifactId>btrace-agent</artifactId>
<version>1.3.11.2</version>
</dependency>
<dependency>
<groupId>com.sun.tools.btrace</groupId>
<artifactId>btrace-boot</artifactId>
<version>1.3.11.2</version>
</dependency>
<dependency>
<groupId>com.sun.tools.btrace</groupId>
<artifactId>btrace-client</artifactId>
<version>1.3.11.2</version>
</dependency>
希望对大家有所帮助
登录后可查看更多问答,登录/注册