Skip to content

Commit

Permalink
Merge pull request #260 from s4u/dependabot/maven/org.apache.maven.sh…
Browse files Browse the repository at this point in the history
…ared-maven-shared-utils-3.3.3

Bump maven-shared-utils from 3.1.0 to 3.3.3
  • Loading branch information
slawekjaranowski authored Mar 29, 2021
2 parents 0b20798 + d0f4631 commit a21135a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.1.0</version>
<version>3.3.3</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
Expand Down
1 change: 1 addition & 0 deletions src/it/sigOkKeysMapWithPluginDependencies/keysmap.list
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ org.apache.maven.shared = \
0x849FB4F1AF3D17CDE4DE5E710704ADDF1D821345, \
0xAE9E53FC28FF2AB1012273D0BF1518E0160788A2, \
0xB02137D875D833D9B23392ECAE5A7FB608A0221C, \
0xB920D295BF0E61CB4CF0896C33CD6733AF5EC452, \
0xBA926F64CA647B6D853A38672E2010F8A7FF4A41, \
0xF254B35617DC255D9344BCFA873A8E86B4372146

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/simplify4u/plugins/PGPShowMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private void processArtifact(Artifact artifact, Artifact artifactAsc) {
classifier -> messageBuilder.a("\tclassifier: ").strong(classifier).newline());
messageBuilder.a("\tversion: ").strong(artifactInfo.getVersion()).newline();
if (signatureInfo.getStatus() == SignatureStatus.ARTIFACT_NOT_RESOLVED) {
messageBuilder.a("\t").error("artifact was not resolved - try mvn -U ...").newline();
messageBuilder.a("\t").failure("artifact was not resolved - try mvn -U ...").newline();
}

messageBuilder.newline();
Expand All @@ -140,12 +140,12 @@ private void processArtifact(Artifact artifact, Artifact artifactAsc) {
if (signatureInfo.getStatus() == SignatureStatus.SIGNATURE_VALID) {
messageBuilder.success("valid");
} else {
messageBuilder.error("invalid");
messageBuilder.failure("invalid");
}
messageBuilder.newline();
} else if (signatureInfo.getStatus() == SignatureStatus.SIGNATURE_NOT_RESOLVED) {
messageBuilder.a("\t")
.error("PGP signature was not resolved - try mvn -U ...").newline();
.failure("PGP signature was not resolved - try mvn -U ...").newline();
}

messageBuilder.newline();
Expand All @@ -168,7 +168,7 @@ private void processArtifact(Artifact artifact, Artifact artifactAsc) {
messageBuilder.newline();

Optional.ofNullable(signatureInfo.getErrorMessage()).ifPresent(errorMessage ->
messageBuilder.error(errorMessage).newline());
messageBuilder.failure(errorMessage).newline());

LOGGER.info(messageBuilder.toString());

Expand Down

0 comments on commit a21135a

Please sign in to comment.