From 77cfe1b1977581fa94d9230637f42c7e620d624f Mon Sep 17 00:00:00 2001 From: Anindya Chatterjee Date: Fri, 5 Jan 2024 21:27:18 +0530 Subject: [PATCH] testing gpg sign --- .github/workflows/build.yml | 6 +-- .../no2/collection/DocumentCursor.java | 1 + .../no2/collection/events/EventAware.java | 2 +- .../dizitart/no2/common/meta/Attributes.java | 2 +- pom.xml | 45 +------------------ 5 files changed, 8 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7178e57b..30db47728 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: server-password: MAVEN_PASSWORD - name: Build with Maven - run: mvn -B -ff -ntp clean install -Dgpg.skip=true + run: mvn -B -ff -ntp clean install -Dgpg.skip=true -DskipTests - name: Publish Code Coverage if: github.ref == 'refs/heads/main' && matrix.java == '11' @@ -76,7 +76,7 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B -ff -ntp clean install -Dgpg.skip=true + run: mvn -B -ff -ntp clean install -Dgpg.skip=true -DskipTests build_windows: runs-on: windows-latest @@ -99,4 +99,4 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true + run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true -DskipTests diff --git a/nitrite/src/main/java/org/dizitart/no2/collection/DocumentCursor.java b/nitrite/src/main/java/org/dizitart/no2/collection/DocumentCursor.java index b2bfc01e8..b8db51ccc 100644 --- a/nitrite/src/main/java/org/dizitart/no2/collection/DocumentCursor.java +++ b/nitrite/src/main/java/org/dizitart/no2/collection/DocumentCursor.java @@ -30,6 +30,7 @@ * for (Document doc : result) { * // use your logic with the retrieved doc here * } + * } * * * @author Anindya Chatterjee diff --git a/nitrite/src/main/java/org/dizitart/no2/collection/events/EventAware.java b/nitrite/src/main/java/org/dizitart/no2/collection/events/EventAware.java index 038358dba..cf693486a 100644 --- a/nitrite/src/main/java/org/dizitart/no2/collection/events/EventAware.java +++ b/nitrite/src/main/java/org/dizitart/no2/collection/events/EventAware.java @@ -17,7 +17,7 @@ package org.dizitart.no2.collection.events; /** - * An interface to make a {@link NitriteCollection} or {@link ObjectRepository} + * An interface to make a {@link org.dizitart.no2.collection.NitriteCollection} or {@link org.dizitart.no2.repository.ObjectRepository} * event aware. * * @since 4.0 diff --git a/nitrite/src/main/java/org/dizitart/no2/common/meta/Attributes.java b/nitrite/src/main/java/org/dizitart/no2/common/meta/Attributes.java index a00d8df54..fe3d14be6 100644 --- a/nitrite/src/main/java/org/dizitart/no2/common/meta/Attributes.java +++ b/nitrite/src/main/java/org/dizitart/no2/common/meta/Attributes.java @@ -28,7 +28,7 @@ import java.util.concurrent.ConcurrentHashMap; /** - * Represents metadata attributes of a {@link NitriteMap}. + * Represents metadata attributes of a {@link org.dizitart.no2.store.NitriteMap}. * * @author Anindya Chatterjee * @since 1.0 diff --git a/pom.xml b/pom.xml index 79751e8b2..b8095cd1e 100644 --- a/pom.xml +++ b/pom.xml @@ -483,8 +483,10 @@ sign + true + --batch --pinentry-mode loopback @@ -531,47 +533,4 @@ - - - release - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.1.0 - - - sign-artifacts - verify - - sign - - - - - --pinentry-mode - loopback - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - ossrh - https://oss.sonatype.org/ - true - true - - - - - - -