forked from Mirror/ollama4j
clean up
This commit is contained in:
parent
cf0188c126
commit
dc0a6a293d
2
.github/workflows/build-on-pr-create.yml
vendored
2
.github/workflows/build-on-pr-create.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 8
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
|
2
.github/workflows/maven-publish.yml
vendored
2
.github/workflows/maven-publish.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 8
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
|
2
.github/workflows/publish-javadoc.yml
vendored
2
.github/workflows/publish-javadoc.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 8
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
|
5
Makefile
5
Makefile
@ -5,4 +5,7 @@ it:
|
||||
mvn clean verify -Pintegration-tests
|
||||
|
||||
build:
|
||||
mvn clean test install -Punit-tests
|
||||
mvn clean test install -Punit-tests
|
||||
|
||||
release:
|
||||
mvn clean release:prepare release:perform
|
25
README.md
25
README.md
@ -78,17 +78,32 @@ your `pom.xml`:
|
||||
</repositories>
|
||||
```
|
||||
|
||||
You should also include [SL4J](https://www.slf4j.org/) in your `pom.xml` file if you encounter any errors related to this.
|
||||
You should also include an implementation of [SL4J](https://www.slf4j.org/) logger in your `pom.xml` file. For example,
|
||||
|
||||
Use `slf4j-jdk14` implementation:
|
||||
|
||||
```xml
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
<version>2.0.9</version>
|
||||
</dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-jdk14</artifactId>
|
||||
<version>2.0.9</version> <!--Replace with appropriate version-->
|
||||
</dependency>
|
||||
```
|
||||
|
||||
or use `logback-classic` implementation:
|
||||
|
||||
```xml
|
||||
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.3.11</version> <!--Replace with appropriate version-->
|
||||
</dependency>
|
||||
```
|
||||
|
||||
or use other suitable implementations.
|
||||
|
||||
#### Build:
|
||||
|
||||
Build your project to resolve the dependencies:
|
||||
|
19
docs/publishing/readme.md
Normal file
19
docs/publishing/readme.md
Normal file
@ -0,0 +1,19 @@
|
||||
GPG Signing setup
|
||||
|
||||
## GPG Setup
|
||||
|
||||
https://central.sonatype.org/publish/requirements/gpg/#listing-keys
|
||||
|
||||
### Steps
|
||||
|
||||
- Create key: `gpg --gen-key` and then list keys to verify: `gpg --list-keys`
|
||||
- Distributing Your Public
|
||||
Key: `gpg --keyserver keyserver.ubuntu.com --send-keys CA925CD6C9E8D064FF05B4728190C4130ABA0F98`
|
||||
- Now other people can import your public key from the key server to their local
|
||||
machines: `gpg --keyserver keyserver.ubuntu.com --recv-keys CA925CD6C9E8D064FF05B4728190C4130ABA0F98`
|
||||
|
||||
## Maven publish
|
||||
|
||||
https://central.sonatype.org/publish/publish-maven/
|
||||
|
||||
### Steps
|
Loading…
x
Reference in New Issue
Block a user