File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
maven_plugin/src/main/java/io/github/chains_project/maven_lockfile/checksum Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,12 @@ public RemoteChecksumCalculator(
4242 }
4343
4444 private String getCacheKey (Artifact artifact ) {
45- return artifact .getGroupId () + ":" + artifact .getArtifactId () + ":" + artifact .getVersion () + ":"
46- + artifact .getClassifier () + ":" + artifact .getType ();
45+ String classifier = artifact .getClassifier ();
46+ if (classifier == null ) {
47+ classifier = "" ;
48+ }
49+ return artifact .getGroupId () + ":" + artifact .getArtifactId () + ":" + artifact .getVersion () + ":" + classifier
50+ + ":" + artifact .getType ();
4751 }
4852
4953 private Optional <String > calculateChecksumInternal (Artifact artifact , ProjectBuildingRequest buildingRequest ) {
You can’t perform that action at this time.
0 commit comments