This commit is contained in:
Amith Koujalgi 2023-12-19 15:13:25 +05:30
parent cf0188c126
commit dc0a6a293d
7 changed files with 47 additions and 10 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -6,3 +6,6 @@ it:
build:
mvn clean test install -Punit-tests
release:
mvn clean release:prepare release:perform

View File

@ -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>
<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
View 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

View File

@ -48,7 +48,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>