mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
|
2
.github/workflows/maven-publish.yml
vendored
2
.github/workflows/maven-publish.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
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 }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
|
5
Makefile
5
Makefile
@ -5,4 +5,7 @@ it:
|
|||||||
mvn clean verify -Pintegration-tests
|
mvn clean verify -Pintegration-tests
|
||||||
|
|
||||||
build:
|
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>
|
</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
|
```xml
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
<artifactId>slf4j-jdk14</artifactId>
|
<artifactId>slf4j-jdk14</artifactId>
|
||||||
<version>2.0.9</version>
|
<version>2.0.9</version> <!--Replace with appropriate version-->
|
||||||
</dependency>
|
</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:
|
||||||
|
|
||||||
Build your project to resolve the dependencies:
|
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
|
2
pom.xml
2
pom.xml
@ -48,7 +48,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.sonatype.plugins</groupId>
|
<groupId>org.sonatype.plugins</groupId>
|
||||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||||
<version>1.6.8</version>
|
<version>1.6.13</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<serverId>ossrh</serverId>
|
<serverId>ossrh</serverId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user