Skip to content

Commit 77cfe1b

Browse files
committed
testing gpg sign
1 parent ce44562 commit 77cfe1b

File tree

5 files changed

+8
-48
lines changed

5 files changed

+8
-48
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
server-password: MAVEN_PASSWORD
4646

4747
- name: Build with Maven
48-
run: mvn -B -ff -ntp clean install -Dgpg.skip=true
48+
run: mvn -B -ff -ntp clean install -Dgpg.skip=true -DskipTests
4949

5050
- name: Publish Code Coverage
5151
if: github.ref == 'refs/heads/main' && matrix.java == '11'
@@ -76,7 +76,7 @@ jobs:
7676
cache: 'maven'
7777

7878
- name: Build with Maven
79-
run: mvn -B -ff -ntp clean install -Dgpg.skip=true
79+
run: mvn -B -ff -ntp clean install -Dgpg.skip=true -DskipTests
8080

8181
build_windows:
8282
runs-on: windows-latest
@@ -99,4 +99,4 @@ jobs:
9999
cache: 'maven'
100100

101101
- name: Build with Maven
102-
run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true
102+
run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true -DskipTests

nitrite/src/main/java/org/dizitart/no2/collection/DocumentCursor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* for (Document doc : result) {
3131
* // use your logic with the retrieved doc here
3232
* }
33+
* }
3334
* </pre>
3435
*
3536
* @author Anindya Chatterjee

nitrite/src/main/java/org/dizitart/no2/collection/events/EventAware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package org.dizitart.no2.collection.events;
1818

1919
/**
20-
* An interface to make a {@link NitriteCollection} or {@link ObjectRepository}
20+
* An interface to make a {@link org.dizitart.no2.collection.NitriteCollection} or {@link org.dizitart.no2.repository.ObjectRepository}
2121
* event aware.
2222
*
2323
* @since 4.0

nitrite/src/main/java/org/dizitart/no2/common/meta/Attributes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import java.util.concurrent.ConcurrentHashMap;
2929

3030
/**
31-
* Represents metadata attributes of a {@link NitriteMap}.
31+
* Represents metadata attributes of a {@link org.dizitart.no2.store.NitriteMap}.
3232
*
3333
* @author Anindya Chatterjee
3434
* @since 1.0

pom.xml

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,10 @@
483483
<goal>sign</goal>
484484
</goals>
485485
<configuration>
486+
<useAgent>true</useAgent>
486487
<!-- Prevent `gpg` from using pinentry programs -->
487488
<gpgArguments>
489+
<arg>--batch</arg>
488490
<arg>--pinentry-mode</arg>
489491
<arg>loopback</arg>
490492
</gpgArguments>
@@ -531,47 +533,4 @@
531533
</repository>
532534
</repositories>
533535

534-
<profiles>
535-
<profile>
536-
<id>release</id>
537-
<build>
538-
<plugins>
539-
<plugin>
540-
<groupId>org.apache.maven.plugins</groupId>
541-
<artifactId>maven-gpg-plugin</artifactId>
542-
<version>3.1.0</version>
543-
<executions>
544-
<execution>
545-
<id>sign-artifacts</id>
546-
<phase>verify</phase>
547-
<goals>
548-
<goal>sign</goal>
549-
</goals>
550-
<configuration>
551-
<!-- Prevent `gpg` from using pinentry programs -->
552-
<gpgArguments>
553-
<arg>--pinentry-mode</arg>
554-
<arg>loopback</arg>
555-
</gpgArguments>
556-
</configuration>
557-
</execution>
558-
</executions>
559-
</plugin>
560-
<plugin>
561-
<groupId>org.sonatype.plugins</groupId>
562-
<artifactId>nexus-staging-maven-plugin</artifactId>
563-
<version>1.6.13</version>
564-
<extensions>true</extensions>
565-
<configuration>
566-
<serverId>ossrh</serverId>
567-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
568-
<skipStaging>true</skipStaging>
569-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
570-
</configuration>
571-
</plugin>
572-
</plugins>
573-
</build>
574-
</profile>
575-
</profiles>
576-
577536
</project>

0 commit comments

Comments
 (0)