Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Apr 12, 2024
1 parent 6dd947e commit 88e4445
Showing 1 changed file with 49 additions and 36 deletions.
85 changes: 49 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,55 @@ common methods used by myself.

### 使用方法一(推荐)

方法一基于[Github packages](https://github.com/bit4woo/burp-api-common/packages)
基于[JitPack](https://jitpack.io/#jitpack/burp-api-common)

[![Release](https://jitpack.io/v/bit4woo/burp-api-common.svg)](https://jitpack.io/#bit4woo/burp-api-common)

To use it in your Maven build add:

在pom.xml文件中添加如下配置,位置在`<project>`的下级。

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

and the dependency:

然后再添加如下依赖配置,位置在 `<dependencies>`的下级。

注意version字段,当使用“master-SNAPSHOT”作为版本时,会使用最新代码

```
<dependency>
<groupId>com.github.bit4woo</groupId>
<artifactId>burp-api-common</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
```

如果要使用具体版本配置如下,**注意version的值包含一个“v”**

```xml
<dependency>
<groupId>com.github.bit4woo</groupId>
<artifactId>burp-api-common</artifactId>
<version>v0.1.3</version>
</dependency>
```





### 使用方法二(备选)

基于[Github packages](https://github.com/bit4woo/burp-api-common/packages)

直接在pom.xml中添加如下依赖配置,位置在 `<dependencies>`的下级,version的值不包含“v”。

Expand Down Expand Up @@ -63,38 +111,3 @@ common methods used by myself.
</settings>
```



### 使用方法二(备选)

方法二基于[JitPack](https://jitpack.io/#jitpack/burp-api-common)

[![Release](https://jitpack.io/v/bit4woo/burp-api-common.svg)](https://jitpack.io/#bit4woo/burp-api-common)

To use it in your Maven build add:

在pom.xml文件中添加如下配置,位置在`<project>`的下级。

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

and the dependency:

然后再添加如下依赖配置,位置在 `<dependencies>`的下级。**注意version的值包含一个“v”**

```xml
<dependency>
<groupId>com.github.bit4woo</groupId>
<artifactId>burp-api-common</artifactId>
<version>v0.1.3</version>
</dependency>
```



0 comments on commit 88e4445

Please sign in to comment.