aws-samples / aws-cloudhsm-jce-examples

Sample applications demonstrating how to use the CloudHSM JCE
MIT No Attribution
36 stars 56 forks source link

Fix maven package goal #41

Closed Govind-jha closed 2 years ago

Govind-jha commented 3 years ago

Issue #, if available:

mvn clean package command fails with following error description.

[ERROR] Failed to execute goal on project aws-cloudhsm-jce-examples: Could not resolve dependencies for project com.amazonaws.cloudhsm.examples:aws-cloudhsm-jce-examples:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.logging.log4j-core:log4j-core:jar:2.13.3, org.apache.logging.log4j-api:log4j-api:jar:2.13.3, com.cavium:cloudhsm:jar:3.2.1: Failure to find org.apache.logging.log4j-core:log4j-core:jar:2.13.3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

Description of changes: Upgraded client version, log4j version and location of cloudhsm jar in the pom.xml file

This will fix the dependency resolution failures to successfully execute the maven package goal.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Govind-jha commented 3 years ago

@nikran-amzn Could you please review these changes ?

nikran-amzn commented 2 years ago

@Govind-jha, thank you for your pull request. We have since updated our dependencies on this package to the latest version of the CloudHSM client and log4j version. I will close this PR since the issue has been addressed.