Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump maven-shared-utils from 3.1.0 to 3.3.3 #260

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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