Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
Committed-by: xiaolei.zl from Dev container
  • Loading branch information
zhanglei1949 committed Oct 11, 2024
1 parent 0bbda9a commit b8eece6
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions flex/interactive/sdk/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Add this dependency to your project's POM:
<groupId>com.alibaba.graphscope</groupId>
<artifactId>interactive</artifactId>
<version>0.3</version>
<scope>compile</scope>
</dependency>
```

Expand Down Expand Up @@ -95,11 +94,15 @@ For more a more detailed example, please refer to [Java SDK Example](https://git

### Advanced building

In some cases, you may want to exclude the proto-generated gaia-related files from the jar.
To build the jar without the gaia-related files, you can use the following command:
In some cases, you may want to exclude the proto-generated gaia-related files from the jar. You could use the jar with classifier `no-gaia-ir`.

```bash
mvn clean package -Pno-gaia-ir
```xml
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>interactive</artifactId>
<version>0.3</version>
<classifier>no-gaia-ir</classifier>
</dependency>
```

To release the jar to a remote repository, you can use the following command:
Expand All @@ -108,10 +111,5 @@ To release the jar to a remote repository, you can use the following command:
mvn clean deploy -Psign-artifacts
```

To release the jar without the gaia-related files to a remote repository, you can use the following command:

```bash
mvn clean deploy -Psign-artifacts,no-gaia-ir
```


0 comments on commit b8eece6

Please sign in to comment.